Click to See Complete Forum and Search --> : Problem with Attribute Selector


arpit_vavadia
05-12-2007, 12:16 PM
In the below code p[lang] is not working . Can ay one help me .

<html>
<head>
<style>
p[lang] {letter-spacing:2em}
</style>
</head>
<body>
<p> Below is the demonstration of the items that are levied </p>


<p lang = "eng" > This the CD line inserted int the computer </p>
</body>
</html>

WebJoel
05-12-2007, 12:23 PM
....
<p lang = "eng" > This the CD line inserted int the computer </p>
</body>
</html>


"eng" means "English"? Try "en" and see if that helps... :)

ray326
05-12-2007, 03:31 PM
IE before 7 didn't understand it. I haven't checked with 7.