Jump to content
  • 0

очистка флоатов))флоат под флоатом


dostel1
 Share

Question

привет еще раз!

у меня очередная проблема —-очистка флоатов!

КОД

<html>
<head>
<style type="text/css">
*{
padding: 0;margin:0
}
body,html{
height: 100%;
background:black;
}
div.HH{
border:2px solid red;
overflow: hidden;
_overflow:visible;
_height:1%;
}
div.ff{
width:300px;
height:100px;
background: yellow;
float:left;
}
.aa{

clear:both

}
</style>

</head>
<body>
<div class="HH">
<div class="ff">1</div>
<div class="ff aa">2</div>
<div class="ff">3</div>
<div class="ff">4</div>
<div class="ff aa">5</div>
<div>
</body>
</html>

хочу сделать флоат под другим флоатом но в ие6 неправильный порядок блоков получается!

зум не помог(если я туда куда нада его ставил)!

Всем пасиба за ваш труд

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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