Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Wyrównanie menu dla IE
#1
Witajcie
w jaki sposob moge wyrównać moje menu dla IE ?

nie chce tworzyć nowego stylu z ifem dla IE.

CSS:
Kod:
@charset "utf-8";
/* CSS Document */
/* v1.0 | 20080212 */

/*reset css*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;

}
body {
height:100%;
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}

/* remember to define focus styles! */
:focus {
outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
/*************************************************************************************/

#container{margin:0 auto;width:850px;height:500px;background:#FFF;}
#top{width:100%;height:100px;background:#565656;}

#menu {padding-left:8px;position:relative; top:76px;}
#menu li{float:left;padding-right:10px;}
#menu li a{
    padding: 9px 20px 6px 15px;
    background:#F3F3F3;
    text-decoration:none;
    font-size:15px;
    color:#000;
}
#menu li a:hover{background:#F5F5F5;color:#000;}


HTML:
Kod:
<body>
<div id="container">
     <div id="top">
            <ol id="menu">
                <li><a href="#">a</a></li>
                <li><a href="#">b</a></li>
                <li><a href="#">c</a></li>
                <li><a href="#">d</a></li>
            </ol>
    </div>
</div>
</body>

Pod IE menu lekko idzie do góry, a na `normalnych` przeglądarkach jest ok.
Odpowiedz


Wiadomości w tym wątku
Wyrównanie menu dla IE - przez toma5z - 14-06-2011, 00:49
RE: Wyrównanie menu dla IE - przez Kartofelek - 14-06-2011, 03:11
RE: Wyrównanie menu dla IE - przez toma5z - 14-06-2011, 04:03
RE: Wyrównanie menu dla IE - przez Kartofelek - 14-06-2011, 14:30
RE: Wyrównanie menu dla IE - przez toma5z - 14-06-2011, 15:50
RE: Wyrównanie menu dla IE - przez Kartofelek - 14-06-2011, 17:20

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  problem z tłem pod menu loose 1 3,157 06-07-2017, 20:00
Ostatni post: loose
  problem z menu p410 10 10,358 18-06-2017, 18:34
Ostatni post: lemans88
  CSS dla menu i problem z selektorami neferith 4 5,266 30-06-2016, 00:58
Ostatni post: Brain23
  MENU - poważny problem wysokości! asus 0 2,537 05-12-2014, 23:34
Ostatni post: asus
  Trzypoziomowe menu - problem rejcz 3 5,675 25-01-2014, 17:16
Ostatni post: Kartofelek

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl