6 ms·
So now, if I understand this correctly, we get to mix all the special treatment for IE6 in one messy stylesheet instead of keeping them in a separate one where
by voidpointer 17y ago
So now, if I understand this correctly, we get to mix all the special treatment for IE6 in one messy stylesheet instead of keeping them in a separate one where we can jut throw them out all at once when that thing has died off? I don't think so.
- DanitaBaires 17y agoI have to mantain a 1000-line CSS for a social network. I use this specific hack always followed by /* IE6* / , and only on cases of rendering discrepances (for example: checkboxes in IE6 have additional padding). I always try to solve rendering differences by altering the markup, not hacking my way in CSS, but there are a few cases where this is necessary. This setup brings me these benefits: * I can see at a glance where a particular attribute is tailored to IE6. * When I have a problem with IE6, I just Inspect the suspicious element with Firebug on Firefox and look at the stylesheet. No need to open a different file and find the selector there. * When this awful program dies, I'll just scan the file and delete all occurences of /* IE6* / (not many). (Sorry about my broken English, it's not my first language) EDIT: Formatting -- my first time here :)