On 25 Jan 2005, at 6:59 pm, Bert Doorn wrote:

Can using the lack of case sensitivity in older browsers be a viable alternative to more complex hacks? Has anyone tried this, and are there any drawbacks with specific newer browsers (and perhaps Mac browsers - is IE5 Mac case sensitive)?
Here's an example of what I'm doing:


(x)HTML:
<div id="nav">etc</div>

CSS:

#nav { width: 180px; padding: 10px }
#Nav { width: 200px }

Assuming xhtml strict, then yes, IE Mac is case sensitive, and your 'hack' works in my quick tests. That is, IE mac ignores the second selector.
Now for the bad news: Safari, latest, does read your second selector......


Philippe
---/---
Philippe Wittenbergh
now live : <http://emps.l-c-n.com/>
code | design | web projects : <http://www.l-c-n.com/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to