Take the 2-minute tour ×

Hi (please excuse me for my ugly english ;-) )

Do you know if the default CSS of any user agent ... :

  • depends on its release number ?
  • depends on its layout engine ?
  • depends on the release number of its layout engine ?
  • depends on the OS ?
  • depends on the OS release number ?

If yes (for any choice), have you any example do demonstrate it ?

Thank you very much. :-)

share|improve this question
To be fair, the French version was probably to help clarify the English version in case of translation issues. –  random Nov 20 '09 at 11:43
You can also see Firefox's default CSS as a normal stylesheet by entering resource://gre/res/html.css –  bobince Nov 20 '09 at 12:06
add comment

3 Answers

up vote 4 down vote accepted

It only depends on the browser make/version. You can find here an overview of default styles.

The main differences are in the margins of the block elements. One would recommend to use a CSS reset sheet to clean it up, but I'd just specify the margin for every actually-to-be-used block element yourself.

share|improve this answer
+1 Just goes to show how widely browser defaults vary. –  codeinthehole Nov 20 '09 at 11:45
add comment

It depends on the rendering engine used by the browser.

share|improve this answer
add comment

Unless you specifically need to know the defaults properties for your project - I'd recommend looking into using a 'reset script'.

If you use such a script, it will standardise the CSS defaults so they're the same across a range of browsers. Yahoo produce a good one, which is updated with each browser release (http://developer.yahoo.com/yui/reset/)

share|improve this answer
add comment

Your Answer


