Hi,
I have a very simple HTML and CSS combination which behaves differently in IE browsers and Firefox. Just wondering if anyone can explain why I'm seeing extra space allocated in IE browsers.
I've tried everything I can to remove it but can't figure out how.
Here's the HTML
<html>
<head>
<link rel="stylesheet" title="Test" type="Text/css" media="all" href="spacing2.css">
</head>
<body>
<div id="mapInfoTabBorder">
<div class="TabBorderTabs">
<div class="TabBorderInactiveTab">
<input name="TabSubmit" value="Karte" type="submit">
</div>
<div class="TabBorderActiveTab">
Info
</div>
<div class="TabBorderInactiveTab">
<input name="TabSubmit_0" value="Adresse" type="submit">
</div>
<div class="TabBorderInactiveTab">
<input name="TabSubmit_1" value="Adressenliste" type="submit">
</div>
</div>
</div>
</body>
</html>
and here's the CSS
#mapInfoTabBorder div.TabBorderInactiveTab {
color: #ffffff;
padding: 0;
margin: 0;
background: yellow;
border: none;
}
#mapInfoTabBorder div.TabBorderInactiveTab input {
color: #FFFFFF;
margin: 0;
padding: 0;
border: none;
background: green;
text-align: left;
}
If you view this in IE6 or IE8 and then compare with Firefox, you'll see what I mean.
Thanks,
Stuart.