Jump to content
  • 0

height ie6


Joyfit
 Share

Question

4 answers to this question

Recommended Posts

  • 0

.top .header_line .yellow {background-color:#ff9900; border-bottom:1px solid #cc6600; height:3px;}
.top .header_line .long {width:145px;}
.top .header_line .medium {width:120px;}
.top .header_line .short {width:60px;}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

ps: высота полосок как оказалось не хочет уменьшаться меньше 18 пикселей, line-height и padding-bottom не помогли

Edited by Joyfit
Link to comment
Share on other sites

  • 0

В IE проблемы с отображением пустых блоков, поэтому внутрь либо кладется прозрачный рисунок 1х1 пиксель и ему задается нужная высота, либо вставляется   и для класса пишется line-height: 1px;

<div class="yellow"> </div>

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