Gangster
26-03-2008, 03:12 PM
Ok now, this is getting annoying, i coded a layout and whenever i type in the contnet, the boxes on the side go down. So the more writitng the is in the main content box, the further down the boxes on the sides will be. Preview - www.habbofury2.freehostia.com
So, i decided to recode it, and still the same problem, here's my code of the 2nd try
<!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">
<!--
body {
text-align: center;
background-color: #ffffff;
}
#container {
width: 390px;
}
#topbar {
background:url(../Unnamed%20Site%207/top_bar.PNG);
height: 11px;
padding:14px;
width: 922px;
margin-left: 30px;
}
#banner {
background:url(images/banner1.PNG);
width: 950px;
height: 134px;
margin-left: 30px;
margin-top: -1px;
}
#djsays {
background:url(images/avdertisement1.PNG);
height: 8px;
padding:14px;
width: 922px;
margin-left: 30px;
margin-top: 15px;
}
#content1 {
background:url(images/content_top.PNG);
height:36px;
width:458px;
margin-left:250px;
margin-top: 15px;
padding-top: 12px;
}
#content2 {
background:url(images/content_mid.PNG);
width:458px;
margin-left:250px;
padding-top:5px;
margin-top:0px;
}
#content3 {
background:url(images/content_bot.PNG);
width:458px;
height:13px;
margin-left:250px;
margin-top:0px;
}
#navigator1 {
background:url(images/nav_top.PNG);
height: 34px;
width: 192px;
margin-left: 30px;
margin-top: -76px;
}
#navigator2 {
background:url(images/nav_mid.PNG);
width: 192px;
margin-left: 30px;
margin-top: 0px
}
#navigator3 {
background:url(images/nav_bottom.PNG);
width:192px;
height:6px;
margin-left: 31px;
margin-top: 0px;
}
.style1 {
font-size: 9px;
font-family: "Volter (Goldfish)";
color: #FFFFFF;
}
.style2 {
font-family: Tahoma;
font-weight: bold;
color: #FFFFFF;
}
.style2 {font-family: Tahoma}
.style3 {color: #666666}
.style4 {
font-family: "Volter (Goldfish)";
font-size: 9px;
color: #666666;
}
-->
</style>
</head>
<body>
<div class="style1" id="topbar">This website is best veiwed in any website browser.</div>
<!--- begin of banner --->
<div id="banner"></div>
<!--- end of banner --->
<!--- begin of Dj Says --->
<div class="style1" id="djsays">Hey, welcome to HabboFury.com. Search Croaked for a great party.</div>
<!--- end of Dj Says --->
<!--- begin of content --->
<div class="style2" id="content1">Welcome to HabboFury</div>
<div class="style1 style3" id="content2">The content will go in this box here.</div>
<div id="content3"></div>
<!--- end of content --->
<!--- begin of navigator --->
<div id="navigator1"></div>
<div class="style4" id="navigator2">The navigator will go here.</div>
<div id="navigator3"></div>
</body>
</html>
Can someone please tell me exactly what im doing wrong.
++REP.
So, i decided to recode it, and still the same problem, here's my code of the 2nd try
<!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">
<!--
body {
text-align: center;
background-color: #ffffff;
}
#container {
width: 390px;
}
#topbar {
background:url(../Unnamed%20Site%207/top_bar.PNG);
height: 11px;
padding:14px;
width: 922px;
margin-left: 30px;
}
#banner {
background:url(images/banner1.PNG);
width: 950px;
height: 134px;
margin-left: 30px;
margin-top: -1px;
}
#djsays {
background:url(images/avdertisement1.PNG);
height: 8px;
padding:14px;
width: 922px;
margin-left: 30px;
margin-top: 15px;
}
#content1 {
background:url(images/content_top.PNG);
height:36px;
width:458px;
margin-left:250px;
margin-top: 15px;
padding-top: 12px;
}
#content2 {
background:url(images/content_mid.PNG);
width:458px;
margin-left:250px;
padding-top:5px;
margin-top:0px;
}
#content3 {
background:url(images/content_bot.PNG);
width:458px;
height:13px;
margin-left:250px;
margin-top:0px;
}
#navigator1 {
background:url(images/nav_top.PNG);
height: 34px;
width: 192px;
margin-left: 30px;
margin-top: -76px;
}
#navigator2 {
background:url(images/nav_mid.PNG);
width: 192px;
margin-left: 30px;
margin-top: 0px
}
#navigator3 {
background:url(images/nav_bottom.PNG);
width:192px;
height:6px;
margin-left: 31px;
margin-top: 0px;
}
.style1 {
font-size: 9px;
font-family: "Volter (Goldfish)";
color: #FFFFFF;
}
.style2 {
font-family: Tahoma;
font-weight: bold;
color: #FFFFFF;
}
.style2 {font-family: Tahoma}
.style3 {color: #666666}
.style4 {
font-family: "Volter (Goldfish)";
font-size: 9px;
color: #666666;
}
-->
</style>
</head>
<body>
<div class="style1" id="topbar">This website is best veiwed in any website browser.</div>
<!--- begin of banner --->
<div id="banner"></div>
<!--- end of banner --->
<!--- begin of Dj Says --->
<div class="style1" id="djsays">Hey, welcome to HabboFury.com. Search Croaked for a great party.</div>
<!--- end of Dj Says --->
<!--- begin of content --->
<div class="style2" id="content1">Welcome to HabboFury</div>
<div class="style1 style3" id="content2">The content will go in this box here.</div>
<div id="content3"></div>
<!--- end of content --->
<!--- begin of navigator --->
<div id="navigator1"></div>
<div class="style4" id="navigator2">The navigator will go here.</div>
<div id="navigator3"></div>
</body>
</html>
Can someone please tell me exactly what im doing wrong.
++REP.