Topic: Eric Meyers CSS Reset (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=29178" title="Pages that link to Topic: Eric Meyers CSS Reset (Page 1 of 1)" rel="nofollow" >Topic: Eric Meyers CSS Reset <span class="small">(Page 1 of 1)</span>\

 
krets
Paranoid (IV) Mad Scientist

From: Right-dead center
Insane since: Nov 2002

posted posted 05-02-2007 16:24

Has anyone tried techniques similar to this one yet:

http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/

Here's his reasoning behind using a CSS reset:

http://meyerweb.com/eric/thoughts/2007/04/18/reset-reasoning/

:::11oh1:::

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 05-02-2007 20:56

Seems like all you'd be doing is trading one set of defaults to learn (browsers') for another set (this CSS). Assuming it's comprehensive (looking at it, I highly doubt it is), that might still be an improvement, but...

...what happens when new browser versions alter what's required? Just wait until Meyer updates it for you? Not very self-sufficient.

I've always found even just * { margin: 0; padding: 0; } overkill, anyways. If you have an odd spacing issue, you can drop it in temporarily to know it's margin or padding, and then narrow down the selector systematically if it's not obvious to figure out just what exactly you need to set. You'll still have to do this using a bit of 'reset' CSS like this, only it'll be in reverse.

I only skimmed the pages, but if he explains the reason for including each line, it will of course be a useful bunch of data even if one does not use it (included).

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 05-02-2007 21:31

The reset pretty much sets everything to 0.

I use a variation of this, the undohtml.css that Tantek published.

I find that it is useful.

The issue about a new browser version is somewhat mute. As the file is zeroing out all of the browser defaults the worst case scenario is that a new version of the browser will add some additional default setting that is not accounted for.

The reset is plain text so you can make a modification to the file yourself without much hassle.

Dan
Code Town | Zombie Head | How Much TP?



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu