PDA

Click to See Complete Forum and Search --> : Anyone ever try using CSS Reset files?


wienerdog
04-07-2008, 07:23 PM
I'm looking into using CSS reset files, which are a baseline CSS file designers use to alleviate a good amount of the the inconsistencies between browsers.

I was wondering if most people use these strictly on sites they're designing from scratch, or have they used them on established sites/web apps with positive results?

turntablist
04-08-2008, 11:18 PM
ive used them on quite a few sites. however one a lost of my sites i support the firefox download

andysain
04-09-2008, 10:47 AM
Can you explain this technique further? It sounds like something I could do with using if its what I think it is!

pixelbliss
04-09-2008, 11:58 AM
Eric Meyer explains the topic - http://meyerweb.com/eric/tools/css/reset/

He also refined the code here (http://meyerweb.com/eric/thoughts/2007/04/14/reworked-reset/) and here (http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/). There are other reset files available, for example if I remember correctly Yahoo! has one available in their developer section.

I haven't applied one to an existing site myself, I would normally start the code by using one. I'm interested to see others' responses though!

embersyc
04-09-2008, 02:02 PM
Tried one, but somehow it made it impossible for me to auto margin anything. After much swearing I tried a blank stylesheet and it worked fine. :mad:

I'm sure if there is a good one, its a nice technique.

MikeTheVike
04-09-2008, 02:08 PM
Eric Meyer explains the topic - http://meyerweb.com/eric/tools/css/reset/

He also refined the code here (http://meyerweb.com/eric/thoughts/2007/04/14/reworked-reset/) and here (http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/). There are other reset files available, for example if I remember correctly Yahoo! has one available in their developer section.

I haven't applied one to an existing site myself, I would normally start the code by using one. I'm interested to see others' responses though!

I don't go as far as Eric Meyer, but i do set the margins and padding of a lot of elements to zero at the top of my css before i begin, that seems to take care of most of my problems.

wienerdog
04-09-2008, 03:10 PM
Can you explain this technique further? It sounds like something I could do with using if its what I think it is!

You use the properties defined in one of these reset CSS files at the beginning of your own CSS file to get many variables between the browsers standardized before you start writing your own.

For instance, the margin and padding on OL and UL, the line spacing between lines, type sizes on H1, H2, etc.

I've seen it used well when starting a new site, but I'm afraid it would blow up the site I work on (it's a cluster**** of 72 CSS files!).

MikeTheVike
04-09-2008, 04:02 PM
You use the properties defined in one of these reset CSS files at the beginning of your own CSS file to get many variables between the browsers standardized before you start writing your own.

For instance, the margin and padding on OL and UL, the line spacing between lines, type sizes on H1, H2, etc.

I've seen it used well when starting a new site, but I'm afraid it would blow up the site I work on (it's a cluster**** of 72 CSS files!).

Damn! I'd be afraid resetting a site already completed, especially one that big!

wienerdog
04-09-2008, 04:42 PM
Damn! I'd be afraid resetting a site already completed, especially one that big!

That's what I'm thinking. I'm making a CSS file map and reviewing what's in each, and then working to hopefully clean stuff up.

tZ
04-10-2008, 06:32 PM
I use reset files(yahoo reset). I find it to be a convenient and an easy way to normalize everything quickly.

wienerdog
04-18-2008, 01:40 PM
I use reset files(yahoo reset). I find it to be a convenient and an easy way to normalize everything quickly.

Yeah, I was looking at Yahoo's UI package for the past week or so.

Seems pretty handy.