| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
css is for divs
Join Date: Feb 2003
Location: Norwich
Posts: 4,527
|
The IE underscore hack
I've been using the IE underscore hack (if you start a style setting with an underscore only IE will listen to that setting i.e. _width: 50px; ). But now I'm starting to test the page on a Mac it seems that the underscore hack doesn't apply to IE for Mac (so now I'm stuck with IE's shite way of keeping padding & margins within the DIV width) - is there an alternative hack that achieves similar results but works in IE on Mac as well? |
|
|
|
|
|
#2 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,240
|
It's only IE5.x that's the shite of the bunch. You don't want to hide from all of them. Try Tantek's mid pass filter http://www.tantek.com/CSS/Examples/midpass.html Much better all round. It means you can have one stylesheet fully compliant with no hacks, and then another with all the workarounds for IE5.wank That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
|
|
![]() |