What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 11, 2008 by pilgrim
Labels: about-css
LangCSSPseudoClass  
The :lang CSS pseudo-class matches elements in a specific human language.

Usage

p:lang(en) {
   color: red;
}
/* This code segment will make any paragraph on the page which has the HTML attribute lang="en" turn red in color. */

Browser compatibility

Test IE8 IE7 FF3 FF2 Saf3 Opera9.5

Further reading


Sign in to add a comment