Jump to content
xisto Community
Sign in to follow this  
kraizii88z

div Drop-Caps

Recommended Posts

I came across a tag that i'd never seen b4, i dunno maybe u have, thought it mite come in handy =<html><head><style type="text/css">div:first-letter {color: #000000;font-size:xx-large}</style></head><body><div>Write stuff inbetween the div tags & the 'W' in "write" will be bigger than the other text around it.</div></body></html>

Share this post


Link to post
Share on other sites

This has nothing to do with the DIV tag, though. You can apply it to almost any element. It's just some CSS markup. Please do note that the first-letter selector isn't supported by all browsers. (You'll need Internet Explorer 5.5+ for example. Opera & Mozilla support it flawlessly. Internet Explorer is buggy sometimes conscearning it..)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.