Jump to content
  • 0

не отображаются все елементы страницы в IE


kolorimage
 Share

Question

opera-

opera2222.png

IE-

inexp.png

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Документ Без Имени</title>
<link href="index.css" rel="stylesheet" type="text/css" />
</head>

<body bgcolor="#f6f6f5" >
<div id="bg" align="center">
<div id="head"></div>

<div id="content">
<div id="left">
<div class="vv">Содержимое для class "vv" здесь</div>

<div class="ss">
<p> </p>
<p>Содержимое для class "ss" здесь</p>
<p></p>
<p>Содержимое для class "ss" здесь</p>
<p></p>
<p>Содержимое для class "ss" здесь</p>
<p></p>
<p>Содержимое для class "ss" здесь</p>
<p></p>
<p>Содержимое для class "ss" здесь</p>
<p></p>
<p>Содержимое для class "ss" здесь</p>
<p></p>
<p>Содержимое для class "ss" здесь</p>
<p></p>
<p></p>
</div>

<div class="nn">
Содержимое для class "nn" здесь
</div>
</div>
<div id="right">
<div class="rvv">Содержимое для class </div>

<div class="rss">
<p>Содержимое для class "rss" здесь</p>
<p> </p>
<p> </p>
</div>

<div class="rnn">Содержимое для class "rnn" здесь</div>
</div>

</div>

<div id="cn"></div>
</div>
</body>
</html>

#s{
margin: 0 auto;
width: 100%;
text-align: left;
background-color: #333333;
}
#head{
width: 100%;
height: 62px;
background-image: url(image/picture_r1_c1.jpg);
}
#body{
width: 100%;
height: 500px;
background-color: #FF99CC;
text-align: center;
}
#cn{
width: 100%;
height: 40px;
float: left;
background-image: url(image/picture_r4_c1.jpg);

}
#left{
float: left;
width: 737px;
margin-left: 45px;

}
#right{
float: left;
width: 179px;
margin-left: 3px;

}
#bg{
width: 1024px;
height: auto;
}
#content{
width: 100%;
background-image: url(image/picture_r2_c1.jpg);
overflow: hidden;
}
.vv{
background-image: url(image/%D1%81-1_r1_c1.jpg);
overflow: hidden;
height: 26px
;
}
.ss{
background-image: url(image/%D1%81-1_r2_c1.jpg);
overflow: hidden;
}
.nn{
background-image: url(image/%D1%81-1_r4_c1.jpg);
padding-top: 1px;
overflow: hidden;
background-repeat: no-repeat;
}

.rvv{
background-image: url(image/%D1%81-1_r2_c1_r1_c2.jpg);
overflow: hidden;
background-repeat: no-repeat;
height: 26px
}
.rss{
background-image: url(image/%D1%81-1_r2_c1_r2_c2.jpg);
overflow: hidden;
}
.rnn{
background-image: url(image/%D1%81-1_r2_c1_r4_c2.jpg);
padding-top: 1px;
overflow: hidden;
background-repeat: no-repeat;
}

и как сделать так чтобы когда я додаю свойство margin-top: 2px; к #content и #right

то создается такой отступ

otst.png

Edited by kolorimage
Link to comment
Share on other sites

6 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