friz
01-10-2008, 07:29 PM
I use some hacks so my layout would look the same in different browsers.
They work, but not in Opera :(
HTML
<div id="footer">
<ul>
<li class="current">.Home</li>
<li><a href="portfolio.php">.Portfolio</a></li>
<li><a href="bericht.php">.contact</a></li>
</ul>
</div>
CSS
#footer {
position: relative;
background-image: url(images/footer.gif);
background-repeat: no-repeat;
background-position: top center;
width: 634px;
height: 40px;
background-color: #fbf4f4;
}
#footer ul {
position: absolute; right: 15; bottom: -10; _bottom:3;
}
#footer li {
font-family:Arial,sans-serif;
font-size: 1em;
color: #26393d;
font-weight: bold;
list-style: none;
display: inline;
padding: 0 0 0 3;
}
#footer a:link, a:visited {
text-decoration: none;
color: #26393d;
}
#footer a:hover {
color: #fbf4f4;
background-color: #26393d;
text-decoration: none;
}
I have also tried this, but the result is the same
#footer ul {
position: absolute; bottom: -10 !important; right: 15; bottom /**/:5;
}
In IE6, IE7, FF and Safari
http://img162.imageshack.us/img162/3073/bmhieks7.png
In Opera
http://img227.imageshack.us/img227/2664/bmhopje7.png
What would be the best way to solve this?
Thx in advance
They work, but not in Opera :(
HTML
<div id="footer">
<ul>
<li class="current">.Home</li>
<li><a href="portfolio.php">.Portfolio</a></li>
<li><a href="bericht.php">.contact</a></li>
</ul>
</div>
CSS
#footer {
position: relative;
background-image: url(images/footer.gif);
background-repeat: no-repeat;
background-position: top center;
width: 634px;
height: 40px;
background-color: #fbf4f4;
}
#footer ul {
position: absolute; right: 15; bottom: -10; _bottom:3;
}
#footer li {
font-family:Arial,sans-serif;
font-size: 1em;
color: #26393d;
font-weight: bold;
list-style: none;
display: inline;
padding: 0 0 0 3;
}
#footer a:link, a:visited {
text-decoration: none;
color: #26393d;
}
#footer a:hover {
color: #fbf4f4;
background-color: #26393d;
text-decoration: none;
}
I have also tried this, but the result is the same
#footer ul {
position: absolute; bottom: -10 !important; right: 15; bottom /**/:5;
}
In IE6, IE7, FF and Safari
http://img162.imageshack.us/img162/3073/bmhieks7.png
In Opera
http://img227.imageshack.us/img227/2664/bmhopje7.png
What would be the best way to solve this?
Thx in advance