Jump to content
  • 0

При прокрутке экрана часть цыфр стирается


on-line
 Share

Question

При прокрутке экрана часть цыфр стирается, подскажите пожалуйста в чем проблема, вот код фрагмента:

<div id="headline"> 
<div class="newsblock">
<div class="val">
<div class="yes">
<div class="num"><a href="">96</a></div>
</div>
<div class="odobreno"><a href=""<img src="images/odobreno.gif"></a></div>
</div>
</div>
</div>



#headline {
width:66.7%;
float:left;
background:#fff;
padding:10px;
font-size:1.05em;
line-height:1.5em;
margin:0; }

#headline div.newsblock {
width:'*';
height:110px;
display:block;
float:left;
}

#headline div.val {
height: 99px;
width: 68px;
float: left;
display: block;
margin-right: 10px

}

#headline div.yes {
background-image: url(images/votes_partner.gif);
background-repeat: no-repeat;
height: 75px;
text-align:center;
vertical-align:middle;
width: 68px;
}

#headline div.num {
display: block;
font-family: Georgia;
font-size: 36px;
height: 36px;
width: 68px;
padding-top:10px;
padding-bottom:25px;
}

#headline div.num a {
color: #888888;
text-decoration: none;
}

#headline div.odobreno {
display: block;
font-family: verdana;
font-size: 13px;
height: 21px;
width: 68px;
vertical-align: bottom
}

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

имхо css к флэшу здесь никаким боком не имеет отношения..

у меня, кстати, почему-то флэшка открывается только в IE. зато в других забавный глюк получается)))) (кто не понял - смотрите на скролл)

Link to comment
Share on other sites

  • 0

zoom:1 не помог, проблему решыл так:

<div id="headline"> 
<div class="newsblock">
<div class="val">
<div class="yes">
<a href="">96</a>
</div>
<div class="odobreno"><a href=""<img src="images/odobreno.gif"></a></div>
</div>
</div>
</div>

т.е. удалил class="num" вообще, а в css прописал следующее:

#headline {
width:66.7%;
float:left;
background:#fff;
padding:10px;
font-size:1.05em;
line-height:1.5em;
margin:0; }


#headline div.val {
height: 99px;
width: 68px;
float: left;
display: block;
margin-right: 10px;
}

#headline div.yes {
background-image: url(images/votes_partner.gif);
background-repeat: no-repeat;
table-layout: auto;
text-align:center;
padding-top:25px;
padding-bottom:40px;
}

#headline div.yes a {
color: #888888;
font-size: 36px;
}


#headline div.odobreno {
display: block;
font-family: verdana;
font-size: 13px;
height: 21px;
width: 68px;
vertical-align: bottom
}

Но сам так и не понял от чего бл глюк ;)

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   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.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy