Is there a HTML test file I can use for CSS resets?
Asked Answered
R

3

6

There are a lot of CSS resets. I am building something for mobile devices and I want to skip as much of the unnecessary CSS as possible so I was wondering if there is an exhaustive HTML test page I can run some of the CSS resets against to test them?

Testing the rules is also a great way to learn what edge cases are required, what they target, and why.

Rainout answered 17/1, 2011 at 18:23 Comment(2)
What's wrong with the one you linked to?Bayern
@Jan It is very small and only covers some of the most basic elements.Rainout
R
0

After looking around today I finally found a awesome site called http://cssresetr.com/ which offers you a chance to test a fairly-large set of stylesheets on many deferent groups of elements!

I can probably just steal the HTML for each group and mash it up into a single page - then try some of the stylesheets not listed.

Rainout answered 18/1, 2011 at 2:51 Comment(0)
I
1

You can certainly skip any tags in your reset that you know you will not be using. For example, if you never use definition lists, skip the dl, dt and dd resets.

Remember, a CSS reset is simply a starting point, so you can be reasonably sure your page looks the same in different browsers.

Inclusive answered 17/1, 2011 at 20:12 Comment(0)
R
0

After looking around today I finally found a awesome site called http://cssresetr.com/ which offers you a chance to test a fairly-large set of stylesheets on many deferent groups of elements!

I can probably just steal the HTML for each group and mash it up into a single page - then try some of the stylesheets not listed.

Rainout answered 18/1, 2011 at 2:51 Comment(0)
S
0

How about using the one supplied by YUI ?

http://developer.yahoo.com/yui/examples/reset/reset-simple_source.html

Samara answered 7/8, 2012 at 19:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.