Jump to content
  • 0

проблема с 3-мя колонками


Searcher
 Share

Question

Вроде элементарный код:

<!DOCTYPE HTML PUBLIC  "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<style type="text/css">

html, body {
height: 100%;
width: 100%;
padding:0;
margin:0;
overflow: hidden;
}

.left {
background: #88f;
float:left;
width:100px;
height:100px;
}

.center {
background: #f88;
height:100px;
margin: 0 100px;
}

.right {
background: #8f8;
float:right;
width:100px;
height:100px;
}

</style>

</head>
<body>

<div class="left"></div><div class="center"></div><div class="right"></div>

</body>
</html>

У меня в IE6 откуда-то берется расстояние в несколько пикселей между блоками... Никак не пойму, как мне слепить их вместе?

Link to comment
Share on other sites

3 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