Hi,
I am having trouble trying to get the first-letter pseudo class to work. My aim at the moment is simply to make the first letter of the two words in my heading larger than the rest of the letter. To do this my html is:
And my css is:HTML Code:<div class="paragraph_title"> <em>DANAMAR</em> <em>PRODUCTIONS</em> </div>
However, at the moment the first-letter of the words are no bigger than the rest of the words. If I move the float:left property to the .paragraph_title em class then I do get larger first letters, but then there is a huge space between the two words which I can't get rid of. Does anyone know how I can resolve this?HTML Code:.paragraph_title { float:left; margin-top:12px; } .paragraph_title em { font-size:1.4em; margin-top:12px; font-family:'BodoniSvtyTwoITCTT-BookIta','Bodoni SvtyTwo ITC TT','Times New Roman','serif'; } .paragraph_title em:first-letter { font-size:1.8em; }
Thanks,
Russ







Bookmarks