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



> Hey People,
> 
> I dont know where to begin looking, but is this a rule, or has IE just
> invented this...
> 
> whenever I make a form, i need to add the style:
> 
> margin: 0px;
> 
> to the <form> tag, so that there isnt a 10 or so pixel gap at the closing of
> the form...
> 
> is this default???
> 
> I dont think so, because firefox doesn't seem to do this...
> or any other browser...
> 
> but maybe i just havn't looked into it enough.
> 
> 
> just wondering!
> Cheers!


Thanks
Russ

-----------------------------------------------
Russ Weakley
Max Design
Phone: (02) 9410 2521
Mobile: 0403 433 980
Email: [EMAIL PROTECTED]
http://www.maxdesign.com.au
-----------------------------------------------


*****************************************************
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