It’s a good idea, but I don’t see it as being all that useful. Instead of grueling over one stylesheet to get it to look right, you get to make a ton of stylesheets that will have to look all identical with different code. The idea sort of defeats itself.
It’s nice to see people trying new things though, it’s a cool idea. Maybe I’m just old fashioned, I’m sure a lot of people will like this work around.
you don’t have to completely redo each stylesheet, only when there is a bug in the browser and you’d have to use a hack anyways. Notice it’s only one line that’s different for firefox? That’s because the rest of the stylesheet is going to be the same for the browsers, until we will need to use a hack for something like the box model, and then we can simply set the width explicitly for ie 5 and reset the width for all other browsers
Yeah, I agree with 38’s comment. I would much rather write a proper single stylesheet that functions the same on all browsers than have php snippits in my css. Worst case I would use the _<property> trick for IE
I disagree because then you still have to find hacks for tons of different hacks and imo takes much longer… but I guess everybody likes finding hacks but me or something
lol, not bragging or anything, but I managed to create multiple fairly complex tableless layouts that work across multiple browsers the same yet without using any hacks… It’s all about the DOCTYPE!
Yeah along the lines of what ahmped was saying I just don’t see how it’s easier to write more than one stylesheet instead of like one line of extra code to work around various browsers. To each his own though.
I’ve tried this before with big layouts, and the file can easily exceed 20kb, which is pretty huge for css. I also used $_GET instead, which meant that linking it would be a tangle of ='s and &'s.