Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Re: Aligning line spacing following different font sizes on the same
 

Paul




quote this post edit post

IP Loged report this post

Old Post  06-30-04 - 05:15 PM  
John wrote:
> Now and again I like to start a sentence with a large capital, maybe
> in a different font. This upsets the line spacing and I've failed to
> find any css that will effectively crop the capital letter from the
> bottom, to allow the line spacing of the following smaller font text
> to remain unaffected. I've always had to resort to a graphic for the
> leading capital - is there a way I can do this with css?
>

I think you might want the first-letter pseudo-element:

http://www.w3.org/TR/CSS21/selector.html#first-letter

I'm not sure how well supported it is in browsers. You don't really want
to crop the letter (which to me means cut off part of it), do you?


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:23 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top