David Hucklesby wrote: > On Wed, 20 Jun 2007 23:04:55 -0400, Scott Glasgow wrote: > >> There seems to be a good deal of contention, or at least spirited >> discussion, on the >> value or advisability of using reset stylesheets >> (http://www.webmasterworld.com/css/3329010.htm). I'm just getting back into >> this and >> I'm curious if there is any consensus here on the advisability of using this >> method, >> and if so, whether the YUI or the Meyer (or some other) approach is >> considered "best." >>
Personal preference I guess, one approach might suit you better. Eric Meyer's is more of a 2-step process I think whereas the YUI one gives you a fresh set of defaults similar to browser defaults (as far as I know, I don't use YUI stuff). >> Also, if one were to adopt this method and use an externally linked reset >> stylesheet along with the custom stylesheet for a site, how would the >> linking be handled? >> If you're importing the stylesheet you can add an @import rule to the top of the stylesheet to include this, depends on which method you need to use. Whichever way you link to it it should come first before the other stylesheets. > > Hi Scott, > My reading of Eric Meyer's "universal reset" is rather different. > > I believe he uses this "neutralizing" CSS to make sure that all > required properties are added back later. This way, no element > winds up with browser-applied properties, any of which may differ > from browser to browser. > > If I understand this correctly, you would take out the "reset styles" > when done, leaving you with a document with no style left to the > whim of a particular browser. > I thought it was a means of giving yourself a starting point, if you took it out later wouldn't it throw a bunch of things out of line between browsers? Say in IE it's default font-sizes for headings are bigger than in Mozilla, if you're setting that font-size relative to the reset stylesheet... Form controls spring to mind aswell, those things are a pain in the backside cross-browser. You raise a good point though. It'll be an interesting experiment to remove the reset stylesheet from my next project after it's done. Rob ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
