Form changing layout

liunx

Guest
I'm making a website in xhtml and I use div id layout.<br />
I noticed that just the form-tag will change the layout. It makes some linebreaks(or something like that), not a huge deal in IE 6, but it makes to much change in IE 5.5 so it looks...ugly. Is there a way to style the form-tag so it doesn't change the design?<!--content-->hm...try placing the tag in a different position.<br />
<br />
For instance, I had same problem when trying<br />
<br />
<form><br />
<table><br />
<tr><br />
...<br />
...<br />
</tr><br />
</table><br />
</form><br />
<br />
and I solved using an "unorthodox" solution:<br />
<br />
<table><br />
<form><br />
<tr><br />
...<br />
...<br />
</tr><br />
</form><br />
</table><!--content-->Thanks for your reply!<br />
Im using divs and not tables so I can't solve it like that. The hard thing is also to get it xhtml validated. But I moved the form-tag around so it dont make so much mess, but it still affect the design.<!--content-->Yes you can style the form, maybe setting the top/bottom margins to zero. Make sure you have a full doctype so the browsers aren't running in quirks mode.<!--content-->
 
Back
Top