Why does placing this html within form tags change the layout?

Posted by user352687 on Stack Overflow See other posts from Stack Overflow or by user352687
Published on 2010-05-28T08:22:34Z Indexed on 2010/05/28 8:31 UTC
Read the original article Hit count: 215

Filed under:
|
|

I'm using this free Web Template - EliteCircle and have just incorporated it into a master page. The master page wraps the html in:

<form id="form1" runat="server">
 //master page html
</form>

The template almost comes out fine except the entire page is surrounded by a think white border (default CSS behavior for form?) and the footer background is half white on the very bottom.

I wouldn't expect the form with id=form1 to change anything in the layout. There is nothing in the [CSS][2] with that id.

When I remove the form tags from the master page (just to check) the layout is perfect, no problems.

Any ideas?

(Using Visual Web Developer 2008 Express)

Thanks, Greg

The CSS: http://www.styleshout.com/templates/preview/EliteCircle12/images/EliteCircle.css

© Stack Overflow or respective owner

Related posts about html

Related posts about css