View previous topic :: View next topic
Author
Message
zvone Joined: 09 Sep 2003 Posts: 160 Location: Zg
Posted: 22.04.2007 13:18 Post subject: Zašto IE 7 ne prikazuje dobro
Evo pogledajte ovaj kod, zanima me zašto ga IE 7 ne prikazuje dobro, iako se u FF i Operi OK vidi. Nemam IE 6, pa neznam kako se tamo vidi. Ovo je jednostavan image hover s CSS-om.
Code:
#m_comp, #m_comp:visited {
width: 111px;
height: 22px;
display: block;
background-image: url('app_images/menu/komponente.jpg');
background-color: #4f4f4f;
font-family: "Trebuchet MS";
font-size: 11px;
padding-top: 28px;
color: #FFFFFF;
font-weight: bold;
text-decoration: none;
}
#m_comp:hover, .selected {
width: 111px;
height: 22px;
display: block;
background-image: url('app_images/menu/komponente.jpg');
background-color: #4f4f4f;
background-position: right;
font-family: "Trebuchet MS";
font-size: 11px;
padding-top: 28px;
color: #e81616;
font-weight: bold;
text-decoration: none;
}
HTML kod linka.
Code:
<a href="#" id="m_comp">Moj Link</a>
_________________ Odin's descendant
Back to top
Jay-S Guest
Posted: 22.04.2007 13:27 Post subject: Re: Zašto IE 7 ne prikazuje dobro
stavi link...
Back to top
segen Joined: 19 Dec 2006 Posts: 671 Location: ZG <-> ST
Posted: 05.02.2008 00:59 Post subject:
imam i ja isti problem!
Kada se prvi put sajt podigne sve štima (bar meni) i čim refresham page onda mi ga počne gurat.
evo link: www.uzns.org/test2.html
css
Code: #menu {
width:259px;
margin:0 auto;
text-align:left;
}
#menu a, #menu a:visited {
display:block;
width:259px;
height:40px;
line-height:20px;
text-decoration:none;
color:#000;
background:url(images/l_0.jpg);
background-repeat:no-repeat;
}
#menu a span {
font:bold 9px "Verdana", Times, serif;
color:#666666;
line-height:40px;
padding-left:47px;
}
#menu a:hover {
display:block;
width:259px;
height:40px;
cursor:pointer;
text-decoration:none;
color:#c00;
background:url(images/l_1.jpg);
background-repeat:no-repeat;
}
molim pomoć
EDIT: IE6 je isto u banani
_________________ NEW ∞folija∞ Follow me
Ovaj svijet je samo varka!
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group