подскажите плз как зафиксировать width для ie6, ie7, i ff?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
делаю все div+css
min-width не пашет в ie6.
какие есть еще варианты кроме вот этого:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<style>
body{
width:100%;
background:#ffffff;
margin:0;
padding:0;
min-width:900px;
}
</style>
<!--[if lt IE 7]>
<style type="text/css">
#inner{
border-left:900px solid #ffffff;
float:left;
}
#content{
margin-left:-900px;
height:1px;
position:relative;
}
</style>
<![endif]-->
</head>
<body>
<div id="inner">
<div id="content">
<h1>Min-width in Ie without scripting</h1>
<div style="background:#FF6666">
When asked 'Why don't I have a website yet?' many people start thinking about having their own website. But not everyone can afford to offer a web design because of high costs or some other reasons, for instance people don't want to make a site thinking it will be visited by very few people, or they don't want to spend their time creating a website. That is why we offer you a site template at affordable price. By buying a site template and replacing the text on it with you own content you get a ready to use website. It will be your' own website with your contents, images and pictures! The price won't bite! And the most important - it will be you who is in charge of developing your own Internet project.
</div>
</div>
</div>
</body>
</html>
|