Hallo, ich habe mir eine navigation gebaut mit UL, LI. Nur der untere abstand ist im IE 1 pixel und um Firefox 0 px. Es soll im IE auch 0 px sein. könnte mir da jemand Helfen ??? Ich habe mir die Header Farbe mal in ROt gemacht, damit man es besser auf die Screenshots erkennen kann.
Das Blaue soll bis unten reichen und es soll nix mehr vom Roten zu sehen sein. Das ist nur im IE so.
Mein CSS für die Navi
Mein CSS für Header
Und mein HTML
Das Blaue soll bis unten reichen und es soll nix mehr vom Roten zu sehen sein. Das ist nur im IE so.
Mein CSS für die Navi
Code:
ul#simple-navi {
letter-spacing: 1px;
list-style-type: none;
width: 100%;
float: left;
font-size: 14px;
font-weight: bold;
}
ul#simple-navi li {
display: block;
float:left;
padding-left: 20px;}
ul#simple-navi li a {
display: block;
padding: 5px 5px;
color: #ffffff;
background-color: transparent;
text-decoration: none;
}
ul#simple-navi li.active a, ul#simple-navi li a:hover {
background-color: #6487a7;
color: #ffffff; }
Code:
#content_Header {
/* background: url(images/bg_header.jpg) no-repeat; */
background-color: #ff0000;
height: 120px;
margin-top: 20px;
}
h1 {
font-size: 24px;
text-align: left;
text-transform: uppercase;
letter-spacing: 1px;
}
#pagetitle h1{
padding: 32px;
}
#pagetitle h1 a{
text-decoration: none;
color: #ffffff;
}
#pagetitle h1 a:hover{
text-decoration: underline;
color: #ffffff;
}
Und mein HTML
Code:
<div id="content_Header">
<div id="pagetitle">
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
</div>
<ul id="simple-navi">
<?php wp_list_pages('depth=1&title_li='); ?>
</ul>
</div>