Old 20-05-2004, 09:50   #1 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
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?
  Reply With Quote
Old 20-05-2004, 09:59   #2 (permalink)
smallbeer
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.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8