snoob
30-01-2009, 16:46
<!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>Untitled Document</title>
<style type="text/css">
<!--
#column {
width: 28%;
float: left;
margin-right: 1%;
background-color: #CCC;
border: thin solid #999;
height: 500px;
display: inline;
}
#box {
width: 70%;
float: right;
border: thin dashed #06F;
background-color: #06F;
height: 250px;
}
-->
</style>
</head>
<body>
<div id="wrapper">
<div id="column"> </div>
<div id="box"> </div>
</div>
</body>
</html>
mấy anh test giùm em đoạn này, trong ff ok, còn ở ie 6 thì thằng box bị thụt xuống :emlaugh:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
#column {
width: 28%;
float: left;
margin-right: 1%;
background-color: #CCC;
border: thin solid #999;
height: 500px;
display: inline;
}
#box {
width: 70%;
float: right;
border: thin dashed #06F;
background-color: #06F;
height: 250px;
}
-->
</style>
</head>
<body>
<div id="wrapper">
<div id="column"> </div>
<div id="box"> </div>
</div>
</body>
</html>
mấy anh test giùm em đoạn này, trong ff ok, còn ở ie 6 thì thằng box bị thụt xuống :emlaugh: