Jesus
07-22-2005, 09:14 PM
<html>
<head>
<style type="text/css">
body {
margin: 0px;
padding: 0px;
}
#header {
position: fixed;
top: 0px;
left: 0px;
padding: 0px;
}
#header ul {
width: 616px;
list-style: none;
margin: 0px;
}
#header a {
text-align: center;
float: left;
width: 120px;
text-decoration: none;
color: #000000;
margin: 0px 4px 0px 0px;
}
#header a.home {
font-size: 21px;
margin: 0px;
background-color: #cccccc;
font-weight: bold;
padding: 4px;
border-top: none;
border-right: 4px solid #000000;
border-bottom: none;
border-left: none;
}
</style>
</head>
<body>
<div id="header">
<ul>
<li><a class="home" href="#">HOME</a></li>
</ul>
</div>
</body>
</html>
This extract of the code should show you what I mean, tested with newest FF version. FF gives me about 40px on the left side. I tried declaring "left: 0px;" all over the place nothing helped.
BTW, that's the first and only differencs between Opera and FF display. Everything else displays just fine. Just goes to show us how much Opera owns FF in compatibility.
<head>
<style type="text/css">
body {
margin: 0px;
padding: 0px;
}
#header {
position: fixed;
top: 0px;
left: 0px;
padding: 0px;
}
#header ul {
width: 616px;
list-style: none;
margin: 0px;
}
#header a {
text-align: center;
float: left;
width: 120px;
text-decoration: none;
color: #000000;
margin: 0px 4px 0px 0px;
}
#header a.home {
font-size: 21px;
margin: 0px;
background-color: #cccccc;
font-weight: bold;
padding: 4px;
border-top: none;
border-right: 4px solid #000000;
border-bottom: none;
border-left: none;
}
</style>
</head>
<body>
<div id="header">
<ul>
<li><a class="home" href="#">HOME</a></li>
</ul>
</div>
</body>
</html>
This extract of the code should show you what I mean, tested with newest FF version. FF gives me about 40px on the left side. I tried declaring "left: 0px;" all over the place nothing helped.
BTW, that's the first and only differencs between Opera and FF display. Everything else displays just fine. Just goes to show us how much Opera owns FF in compatibility.