PDA

View Full Version : [hỏi] về thẻ div trong html/css, kiến thức cơ bản



oloxo000
23-07-2013, 14:05
mọi người giúp mình với, mình mới học html. Cho mình hỏi sao mấy dòng chữ của mình trong thẻ div lại ko lên mầu và làm sao để thẻ #main có tác dụng, hix, cảm ơn mọi người nhìu


<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset =utf-8" >
<title>Đào Tạo Lập Trình Viên</title>

<style type="text/css">
font{
font-size:50px; color:red; font-weight:bold ;
}
.lop1{
color : red;
}
.lop2{
font-size:100px;
color: blue;
}

#wrapper{
width: 960px;
height: 500px;
border: 1px red solid;
background: #f1f1f1;
}
#header{
background:#dedede ;height:100px};

#main{
height:200px; baclgrpimd:blue; height:300px;
}

#left{
float:left;
width:320px;
background:yellow;
height:280}
#content{
float:left;
width:320px;
background:black;
height:280}
#right{
float:left;
width:320px;
background:green;
height:280}}

#footer{
background:white; height: 100px;
}


</style>
</head>
<body>

<font> xin chào !!! </font> <br/>
<font> tạm biệt !!!</font> <br/>
<b class="lop1 lop2"> Hùng Thắng </b>

<div id="wrapper">
<div id="header">
header
</div><!--end #header-->

<div id="main">
<div id= "left">
left
</div><!--end #left-->
<div id ="content">
conten
</div><!--end #conten-->
<div id= "right">
right
</div><!--end #right-->
</div><!--end #main-->

<div id="footer">
footer
</div><!--end #header-->
</div><!--end #wa****r-->

</body>
</html>

nholoiemnoi
23-07-2013, 14:26
font {...}
ở đây là font chữ hả bạn ?

balobay.com
23-07-2013, 15:09
sau the div#right nen co the clear:right
mau săc nên dung color:#ff0000;

devil0604
23-07-2013, 16:58
#main{
height:200px; baclgrpimd:blue; height:300px;
}

baclgrpimd --> Đây là cái gì vậy bạn? viết còn sai thì sao nó hiển thị được