Tražio sam tražio pa vidim da sve manje znam. Ja bih neki prost odgovor. Da ne odugovlačim evo odmah na početku moje web dizajn karijere nije mi jasno zašto ovo neradi dreamweaver pokazuje float i boju dok browseri ni float a ni boju???
Pozdrav od web dizajnera !!!
Code:
<!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">
<!--
#container {
background-color: #FF6;
width: 780px;
margin-right: auto;
margin-left: auto;
}
#1 {
background-color: #F00;
text-align: center;
float: left;
}
#2 {
background-color: #0C0;
text-align: center;
float: left;
}
#3 {
text-align: center;
background-color: #09F;
float: left;
}
#footer {
clear: both;
}
-->
</style>
</head>
<body>
<div id="container">
<div id="top">Content for id <span id="header">"header</span>" Goes Here</div>
<div id="1">Content for id "1" Goes Here</div>
<div id="2">Content for id "2" Goes Here</div>
<div id="3">Content for id "3" Goes Here</div>
<div id="footer">Content for id "footer" Goes Here</div>
Content for id "container" Goes Here</div>
</body>
</html>
<!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">
<!--
#container {
background-color: #FF6;
width: 780px;
margin-right: auto;
margin-left: auto;
}
#1 {
background-color: #F00;
text-align: center;
float: left;
}
#2 {
background-color: #0C0;
text-align: center;
float: left;
}
#3 {
text-align: center;
background-color: #09F;
float: left;
}
#footer {
clear: both;
}
-->
</style>
</head>
<body>
<div id="container">
<div id="top">Content for id <span id="header">"header</span>" Goes Here</div>
<div id="1">Content for id "1" Goes Here</div>
<div id="2">Content for id "2" Goes Here</div>
<div id="3">Content for id "3" Goes Here</div>
<div id="footer">Content for id "footer" Goes Here</div>
Content for id "container" Goes Here</div>
</body>
</html>
Pozdrav od web dizajnera !!!


