If I could just cover my butt here... Patrick is correct!

The info I posted below is the RECOMMENDATION from W3C, but as we all know,
browsers interpret this stuff in their own way. So, it's always best to
assume the worst and take off margins if that is what you require - this
will fix the issue for all browsers.

There are many examples of this inconsistency including different browsers
using margin or padding on the body element, and different browsers using
margin or padding to indent lists. For this reason it is best to apply both
rules to cover all browsers. EG.

margin: 0;
padding: 0;

Did I cover myself  :)
Russ


> Yes, there is a browser default margin applied to the HTML form element. You
> can see this on the W3C sample style sheet, a guide for devices, here:
> http://www.w3.org/TR/REC-CSS2/sample.html
> 
> This style sheet is an example of what a default browser should display. In
> amongst the CSS you can see:
> 
> FORM { display: block }
> FORM { margin: 1.33em 0 }
> 
> This is a standard block level margin - the same as is generally applied to
> paragraphs, heading, lists etc.
> 
> Russ
> 
> 
> 

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to