Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I check the default css settings of a browser?

Tags:

browser

css

Where can you look to find all of the default css settings for Google Chrome, IE, and Firefox, to start with?

Thanks for helping.

like image 834
Richard77 Avatar asked Jan 21 '23 11:01

Richard77


2 Answers

Firefox's CSS files are in /whereverfirefoxisinstalled/gre/

These two are probably of most interest, but there are some others in there as well which should not be ignored.

forms.css html.css

You can use the Firebug addon to see what is being applied to the page you're working on. When inspecting an element, select "show user agent CSS" from the style dropdown in the right hand panel.

like image 161
Mark Chorley Avatar answered Jan 30 '23 00:01

Mark Chorley


You can't really do that. You may be able to find reference guides if you Google it, but they would probably be guess-work. Your best option is probably to use a CSS Reset to make sure every browser is reset to the same CSS, then you have a good base to build on.

Eric Meyer's reset is my favourite: http://meyerweb.com/eric/tools/css/reset/

like image 32
Liggi Avatar answered Jan 30 '23 01:01

Liggi