Jump to content
php.lv forumi

IE nerāda a:hover bildi, paplašina noteikto augstumu


yozhis

Recommended Posts

Sveiki!

 

Caur firefox pārlūkprogrammu viss izskatās labi, bet caur IE nepārāk.

 

1)Bildē redzamais aptauju rezultātu augstums (zaļš) ir normāls (ff), bet IE attēlo šādi!

 

 

Aptaujas css

#procenti{

height:6px;
float:left;
margin-left:20px;
display:inline;

}

#procenti.irr{
margin:0;
padding:0;
}

 

 

2) Bildē redzams, ka ff parāda a:hover bildi bez ierunām, bet IE attēlo šādi! p.s. uzbraucot ar peli linkam caur IE nemaz neparādas rociņa.

 

Navigācijas css

 

#menu a{
line-height:39px;
text-decoration:none;
float:left;
text-align:center;
white-space:nowrap;
display:block;
width:112px;
height:39px;
background: url(../images/poga.png);
color:#5C5C5C;
}

#menu a:hover
{
 background: url(../images/poga_active.png);
 color:#FFF;
}

 

Kur slēpjas problēma? Paldies jau iepriekš!

Link to comment
Share on other sites

pie aptaujas uzliec line-height:

Edited by cucumber
Link to comment
Share on other sites

IE ir taads nikjis ka DIV augstums nevar buut mazaks par potencialo TEXTa augstumu ... (pat ja nekaada teksta nav ...)

Ieliec fonta izmeru teiksim 1 px un augstums nostaasies kaa buusi noraadijis (taads nu gljuks ir : )

P.S. teksta augstumu IE panjem kaads nu defoltaa ir iestaadiits...

Edited by Grey_Wolf
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...