PDA

View Full Version : Using a "reset.css" file



Johno
09-10-2008, 09:31 AM
Hey,

Recently whilst working on a small design for my school, I ran into a few problems due to the way each browser handled the code differently (You all know the IE Fiasco) - Whilst stumbling recently I came across a good article about using/making a reset.css file.

Now, simply what this does is resets all attributes set by the browser allowing you to define everything that needs to be defined :)


Far too many novice CSS designers don't realize the importance of creating a "reset.css" file. When you have an environment where each browser has its own "default" styling, you'll often find yourself thumping your skull as you ask yourself, "Why is there a spacing here?" To save yourself some of the headaches that you'll undoubtedly experience, you'll need to create your own simple reset file. The problem with using one of the many currently existing frameworks is that they aren't tailored specifically to you. For example, I never use the deprecated "center" element in my projects. Consequently, I don't need to put it into my default styling. However, others may need to do so - though they would deserve a slap on the wrist...or the buttocks if you're so inclined.



http://nettuts.com/html-css-techniques/weekend-quick-tip-create-your-own-resetcss-file/

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

L?KE
09-10-2008, 02:52 PM
Nice find, cheers :).

Meti
09-10-2008, 03:13 PM
Me like :D
nice find

Want to hide these adverts? Register an account for free!