Hi,
You are trying to make your navigation fit by approximating the heights which will never work. You are assuming that 2.5em fontsize plus line-height plus border, padding and margin will equal 131px to match the header. That’s a lot of assumptions
Ems are rounded up and down and the size of fonts and the line height will always vary between browsers so you can’t use that approach.
Juts make the navigation the exact height you want to fit into that 131px header. As you want it 65px from the top then make it 66px high.
Also you can’t put a ul inside an h1 as that is not valid and there is no need for the two other divs around the links.
Lastly don’t place bare anchors next to each other or screen readers read it without pausing because thy think its a sentence.
Revised html.
<div id="headerbild">
<div id="header-container">
[B]<ul id="navigationleft">
<li><a href="index.html">Design</a></li>
<li><a href="downloads.html">Downloads</a></li>
<li><a href="kontakt.html">Kontakt</a></li>
</ul>[/B]
<div id="header_rechts">
Revised css:
#navigationleft {
width: 410px;
float: left;
text-align: left;
margin:0 0 0 30px;
display: inline;
font-size: 2.5em;
word-spacing: 0.2em;
padding:65px 0 0;
font-family: 'Georgia', Times-New-Roman, Times, serif;
height:66px;
overflow:hidden
}
#navigationleft li {
float:left;
height:66px;
line-height:40px;
}
#navigationleft a:link, #navigationleft a:visited{
color: #ffffff;
text-decoration: none;
position:relative;
float:left;
padding:0 5px 0;
height:66px
}
#navigationleft a:hover {
background: #660000;
text-decoration: none;
}
Also interfering with this code is the fact that you have redefines the a;visited links about half a dozen times in error.
You have this:
#footer-navigation a:hover,[B] a:focus[/B], [B]a:active[/B] {
display: inline;
color: #ffffff;
text-decoration: underline;
line-height: 1.5em;
}
#footer-navigation a:hover,[B]#footer-navigation a:focus,#footer-navigation a:active[/B] {
display: inline;
color: #ffffff;
text-decoration: underline;
line-height: 1.5em;
}
You’ve done that in a number of places so tidy it up and the nav code will now work (tested in ie6 - 8, opera safari and Firefox.)
[edit]
Looking at the deign I think maybe you wanted the nav links in line with the logo on the right so these would be the dimensions instead.
#navigationleft {
width: 410px;
float: left;
text-align: left;
margin:0 0 0 30px;
display: inline;
font-size: 2.5em;
word-spacing: 0.2em;
[B] padding:56px 0 0;[/B]
font-family: 'Georgia', Times-New-Roman, Times, serif;
[B] height:75px;[/B]
overflow:hidden
}
#navigationleft li {
float:left;
[B] height:75px;[/B]
line-height:40px;
}
#navigationleft a:link, #navigationleft a:visited{
color: #ffffff;
text-decoration: none;
position:relative;
float:left;
padding:0 5px 0;
[B] height:75px[/B]
}
#navigationleft a:hover {
background: #660000;
text-decoration: none;
}
[edit]