Home Tutorial CSS CSS span (Text Span)
CSS span (Text Span) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:16

CSS span

Defines the properties for a pre-defined text span element.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
3.0+ 3.0+ 1.0+ 4.0+ 1.0+

Example

 

This example sets the background color for all span elements to red:


span {
background-color: red;
}

Remarks

You will usually style individual span elements by assigning classes and id's to them and styling those. Assigning the same styles to all span elements usually is not very useful.

 
 

Login Form



Who's Online

We have 25 guests online


PHYSICS DICTIONY  PHP MeeLink.com  PR page rank  thainaturecure   wedding
[webdirectory] [thai webdirectory] [ptc forums ] [jabjai board] [tutor php] [meelink blog][link-mee.blog][Favorites online][ptc ref online][online payment] THF