Sent by Mikhail Bozgounov on 6 April 2005 14:02
Well, the CSS file *does validate* perfectly!
What's more, the code works as intended, in IE, Firefox, Opera, etc...
But if anyone have any ideas, why Dreamweaver says 'Error parsing code
in Internet Explorer etc...", please post! :)
<QUOTE>
jack fredricks wrote:
> #language a:hover#bg
>
> i didnt think anything could be after a psudoclass? ie,
> :hover#bg is wrong?
</QUOTE>
================================================================
[MY MESSAGE]
Hi to everyone of you! :)))
Macromedia DreamWeaver MX 2004 says in code view the following:
"Error parsing code in IE 5/5.5/6.0 etc."
Here's the code excerpt:
<code>
#language a#bg {background: url(lib/flags/bg.gif) top left no-repeat;}
#language a:hover#bg {background: url(lib/flags/bg.gif) bottom left
no-repeat;}
</code>
The page:
http://hotelallegra.com/
The CSS:
http://hotelallegra.com/screen.css
What does the code:
changes background image position on mouse over
Code works perfectly in every browser I tested, incl. IE 6.0.
Validator says all is OK:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fhotelallegra.com%2Fscreen.css&usermedium=all
*The question:* Should I worry about it or I should tweak the code in
another way, maybe I am doing it wrong although it works?
[/MY MESSAGE]
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/