BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
CSS
CSS <focus> Class
CSS <first> Class
CSS <first-child> Class
CSS <active> Class
CSS <z-index> Property
CSS <word-spacing> Property
CSS <width> Property
CSS <white-space> Property
CSS <visible> Property
CSS <vertical-align> Property
CSS <unicode-bidi> Property
CSS <top> Property
CSS <text-transform> Property
CSS <text-shadow> Property
CSS <text-indent> Property
CSS <text-decoration> Property
CSS <text-align> Property
CSS <table-layout> Property
CSS <quotes> Property
CSS <position> Property
<< BizTalk
 

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :233

 

The Pseudo Class: lang (CSS Reference)

Introduction

The pseudo class lang (language) is used to specify the style for the content of the element. You can also set the language of the content in the Meta tag. You have to use the language code. 

Note: Please check if the browser you're targeting supports this property yet. Many don't, at the time of publishing.

Here are some codes:

de = German
en = English
en-us  = English (USA)

en-uk = English (UK)

es = Spanish

fr = French
it = Italian

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head><title>Pseudo class: lang demonstration</title>

<style type="text/css">

body:lang(en)

{

    background-image:url("country_flag.jpg");

}

</style>

</head>

<body>

<h1>Pseudo class: lang demonstration</h1>

<font size="20"><a href="http://www.topxml.com">TopXML</a>

</body>

</html>


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

An immediate job opportunity as a B
Software Developers Needed in Charl
Sr. Software Engineer - Analytics
Immediate Mainframe openings for Ch
Immediate TANDEM-TAL openings for C

View all Jobs (Add yours)
View all CV (Add yours)



answering service
online fax
swimming pool contractor
conference calling services
water softener
Teleconference
Host Department NOLIMIT Web Hosting
MSN
sunglasses


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP