Hallo,
Ich realisiere momentan ein Projekt mit Joomla und habe das folgende Problem:
Ich habe den folgenden HTML-Code:
Und diesen CSS-Code:
Wieso wird das li (im Div Subnavigation) nicht zentriert angezeigt?
Gruß
nBassCom
Ich realisiere momentan ein Projekt mit Joomla und habe das folgende Problem:
Ich habe den folgenden HTML-Code:
Code:
<div id="subnavigation">
<div class="moduletable">
<ul class="menu">
<li class="item3">
<a href="http://www.google.de" target="_blank"><span>Google</span></a>
</li>
</ul>
</div>
</div>
Code:
#subnavigation {
display: none;
visibility: hidden;
text-align: center;
padding: 0 5px 0 205px;
margin: 0 auto;
}
#subnavigation li a {
width: 200px;
background-image: url(../images/separator-v.jpg);
background-repeat: no-repeat;
background-position: left;
display: block;
padding: 5px 0;
text-align: center;
}
Gruß
nBassCom

Kommentar