I have a question...
The subnavi on my website doesn't work proper...
See the Screenshots:
Here you see, how it looks like. The problem is, that the a-tag with "Mathematik & Naturwissenschaften" not resizes, if the browser window is small enough, so that the words wrap. It should look like the second picture, only with the wrap in a-tags with long words in it...
Here you see, how it should look like... (in full screen => without wrapping)
The HTML-Code:
<ul id="subnavi">
<li><a href="XYZ">Sprachen</a></li>
<li><a href="XYZ">Gesellschaftswissenschaften</a></li>
<li><a href="XYZ">Mathematik & Naturwissenschaften</a></li>
<li><a href="XYZ">künstlerisch-musische Fächer</a></li>
<li><a href="XYZ">Religion</a></li>
<li><a href="XYZ">Sport</a></li>
</ul>
The CSS-Code:
ul#subnavi a {
float: left;
font-size: 0.8em;
letter-spacing: 1px;
text-decoration: none;
color: #fff;
padding: 10px;
padding-top: 2px;
padding-bottom: 5px;
margin-bottom: 10px;
font-weight: bold;
line-height: 150%;
background-color: #9c9e9f;
clear: left;
}
I hope, that you understand my problem and can help me... :( I searched so long for a solution but I found nothing...