Jump to content
  • 0

Проблема в IE, блок съезжает


dinaron
 Share

Question

Добрый день, ниже представлен код

<!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=utf-8" />
<title></title>
<link href="style/style.css" rel="stylesheet" type="text/css" />

</head>

<body>


<div id="container">

<div id="header">
<div class="header_left">
<div class="header_left_line">
<div class="header_left_line_bottom">
</div>
</div>

<div class="heder_left_logo">
</div>
</div>
<div class="header_right">
<div class="header_right_bottom">
</div>
</div>
</div>

<div id="left" >

<div class="left_line">
fdfdf
<div class="left_menu">
rinter took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting


</div>
<div id="content">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>


</div>
</div>


<div id="footer">
<div class="footer_left">
<div class="footer_left_line">
</div>
</div>
<div class="footer_right">

</div>

</div>
</div>
</body>
</html>

@charset "utf-8";


html, body, div, span,

h1, h2, h3, h4, h5, h6, p, blockquote, pre,

a, abbr, acronym, address, big, cite, code,

img, ins, kbd, q, s, samp,

small, strike, strong,

dl, dt, dd, ol, ul, li,

fieldset, form, label, legend,

table, caption, tbody, tfoot, thead, tr, th, td {

margin:0;

padding: 0;

border: 0;

outline: 0;

font-size: 100%;

vertical-align: baseline;

background: transparent;

}

body {

line-height: 1;

}

ol, ul {

list-style: none;

}

blockquote, q {

quotes: none;

}

blockquote:before, blockquote:after,

q:before, q:after {

content: '';

content: none;

}
table {

border-collapse: collapse;

border-spacing: 0;

}

.clear {clear:both;}
#container {
width: 998px;
margin: 0 auto;
background: #e2e2e2;
clear:both;


}
#header {
padding-top:1px;


height:175px;
}
.header_left {width:306px;
float:left;
background:#fff;
height:175px
}
.header_left_line {width:45px;
float:left;
height:175px;
background:#e2e2e2;}
.header_left_line_bottom {margin-top:102px;
height:73px;
width:45px;
background:#c9c8c8;
}
.heder_left_logo {margin-left:45px;
height:175px;
}
.header_right { padding-top:1px;
margin-left: 306px;
height:175px
}
.header_right_bottom {margin-top:102px;
height:73px;
width:100%;
background:#c9c8c8;}

#left {
clear:both;
background:#fff;
width: 306px;
float: left;

}
.left_line {width:45px;
float:left;
background:#e2e2e2;

}
.left_menu {margin-left:45px;
float:left;
width:261px;
background:#FFF;






}

#content {

padding:13px 80px 24px 70px;
margin-left: 306px;
width:544px;

}
#footer {
clear:both;
height:150px;

}
.footer_left {width:306px;
float:left;
background:#fff;
height:150px;
margin: 0 auto;



}
.footer_left_line {width:45px;
float:left;
height:150px;
background:#e2e2e2;
border-top:#979695 3px solid;}
.footer_right {
margin-left: 306px;
height:150px;
border-top:#979695 3px solid;
background:e2e2e2;
}

Проблема в том, что в браузере ie, содержимое в блоке content съезжает вниз. хотелось бы решить данную проблему, в ff, chrome, opera все нормально.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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