| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
now with added beard
Join Date: Mar 2004
Location: Liverpool
Posts: 5,432
|
conditional comments vs hacks ??
whats better ?? maintaining 2 or 3 style sheets with conditional comments or using a single sheet with one or two teeny-weeny hacks ?? ... and why ?? any thoughts .. ? fuck signatures
|
|
|
|
|
|
#3 (permalink) |
|
For all your goober needs
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,531
|
keep em seperate, then when you decide not to support any particular browser anymore, you can just get rid of one conditional comment et viola. Your main stylesheet for any browser that works properly is left untouched. |
|
|
|
#5 (permalink) |
|
fucksocks™
Join Date: Jun 2005
Location: in the boosh
Posts: 1,622
|
it's so much easier to debugger using a conditional stylesheet. and you don't run the risk of screwing the css on the non-ie browsers with your ie tweaks. Apart from that, I've had very few hacks that actually work! |
|
|
|
#6 (permalink) |
|
Senior Member
Join Date: Oct 2006
Posts: 2,173
|
I think I will start using conditional comments, but usually I only have to use 2 or 3 little hacks so it wouldnt be any more work putting it in a separate stylesheet. But apparently there are issues when testing it? I run IE6 and IE7 Standalone, but I take it IE7 still reports itself as IE6 because there are no registry entries or something? |
|
|
|
#8 (permalink) | |
|
Senior Member
Join Date: Oct 2006
Posts: 2,173
|
Quote:
Generally those are the ones I use too, if you were meaning this? Code:
|
|
|
![]() |