I have a "view cart" button in the code listed below. For some reason the form that contains the button takes up twice as much space as the button in the page producing some blank space. This only happens in Internet explorery and I cant seem to figure this out. Having the form twice as big misalignes my webpage, so i need to find a solution. Any ideas?
<form action='frmviewcart.php' method='post' class='form' />
<input type='image' src='http://www.webdeveloper.com/forum/archive/index.php/./Images/view_cart.gif' border='0' name='submit' alt='View Cart'></form>Sometimes IE misinterprets whitespace, causing a similar symptom. Try putting that all on one line.Also try using css: form {margin:0;}
<form action='frmviewcart.php' method='post' class='form' />
<input type='image' src='http://www.webdeveloper.com/forum/archive/index.php/./Images/view_cart.gif' border='0' name='submit' alt='View Cart'></form>Sometimes IE misinterprets whitespace, causing a similar symptom. Try putting that all on one line.Also try using css: form {margin:0;}