Hallo Freunde des sauberen Schriftbildes.
WP V 3.6 | Theme: TwentyEleven
Ich habe ein kleines nerviges Problem mit meiner horizontalen Hauptnavigation von WP.
Ich habe das HMenü füllt die verfügbare Breite der Webseite fast ganz aus - Mit FireFox passt es super und mit dem IE nicht - Da gibt es einen zeilenumbruch ---> den ich mir nicht erklären kann.
Im CSS habe ich die Größen doch definiert!?
Kann mir da jemand einen Tipp geben oder einen Lösungsansatz geben?
CSS-Menü aus meiner style.css:
Code
/* =Menu
-------------------------------------------------------------- */
#access {
clear: both;
display: block;
float: left;
margin: 40px auto 40px -20px;
width: 100%;
text-align:left;
font-size: 14px;
letter-spacing: 0.3em;
font-weight: bold;
}
#access ul {
list-style: none;
margin: 0 0 0 -0.8125em;
padding-left: 0;
text-transform: uppercase;
}
#access li:first-child{border: 0;}
#access li {
float: left;
position: relative;
border-left: solid 1px #dadada;
}
#access a {
color: #a1a1a1;
display: block;
line-height: 2.333em;
padding: 0 1.5em;
text-decoration: none;
}
#access ul ul {
display: none;
float: left;
margin: 0;
position: absolute;
top: 2.333em;
left: 0;
width: 188px;
z-index: 99999;
padding: 0 1px;
}
#access ul ul ul {
left: 100%;
top: 0;
}
#access ul ul a {
background: #c5c7c8;
border-bottom: 1px dotted #ddd;
color: #fff;
height: auto;
line-height: 1.1em;
padding: 10px 10px;
width: 188px;
padding-left: 1.5em;
font-size: 12px;
letter-spacing: 0.1em;
}
#access ul ul ul a {
background: #c5c7c8;
border-bottom: 1px dotted #ddd;
color: #fff;
height: auto;
line-height: 1.1em;
padding: 10px 10px;
width: 188px;
font-size: 12px;
letter-spacing: 0.1em;
}
#access li :hover > a,
#access ul ul :hover > a,
#access a :focus {
background: #df8f71;
color: #fff;
}
#access li:hover > a,
#access a:focus {
color: #df8f71;
}
#access ul li:hover > ul {
display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
color: #6b6b6b;
/* background: #df8f71; */
}
Alles anzeigen
... Vieleicht liegt es aber auch an einer anderen Grundeinstellung ... Hilfeeee
VG Der Andreas