> I made a site with a js which substitues css for different resolutions.
> But, IEX and Chrome won't show any css at all:
> http://kunstomhetlijf.nl/fileadmin/template/2010/index.html
> whilst firefox does show the css.
> Anyone know why?
David is right, it's the script.
Try these two lines:
if(a.title == description){a.disabled = false;}
else if(a.title != "default"){a.disabled = true;}
instead of these:
if(a.getAttribute("title") == description){a.disabled = false;}
else if(a.getAttribute("title") != "default"){a.disabled = true;}
In short, get rid of getAttribute()
--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/