Html footer problem

  • Thread starter camel-man
  • Start date
  • #1
76
0
Not sure why my footer is not working correctly in my file, anyone see what is wrong?

Code:
<html>
<head>
<title> Layout with Divs </title>
<link href="divstyle.css" rel="stylesheet" type="text/css" /> 
</head>


<body>

<div id="outer">
<div id="bannerbox"> Banner </div>
<div id="hyperlink"> Hyperlink </div>
<div id="content"> Content </div>
<div id="footer"> Footer </div>
</div>

</body>
</html


*****~And this is my css~*****

body{
background-color: #424242;
margin-top: 0;
padding-bottom: 60px;

}

div{
border: 1px solid black;
}

#outer{ 
border: 1px dotted #ee0bbb;
width: 603px;
margin-left: 140px;
background-color: white;
height: 800px;
postion: relative;
}

#bannerbox{ 
width: 480px;
height: 70px;
margin-left: 53px;
margin-top: 5px;
} 

#hyperlink{
width: 150px;
height: 200px;
margin-top: 40px;
margin-left: 10px;
float: left;

}

#content{
width: 350px;
height: 400px;
margin-top: 40px;
margin-right: 10px;
float: right;
}

#footer {
width: 50px;
height: 40px;
margin-top: 40px;
margin-right: 10px;
float: bottom;
}
 

Answers and Replies

  • #3
76
0
What do you suggest I change it to? Should i change the data type ?
 

Related Threads on Html footer problem

  • Last Post
Replies
19
Views
959
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
11
Views
2K
  • Last Post
Replies
3
Views
59K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
7
Views
3K
  • Last Post
Replies
10
Views
2K
  • Last Post
Replies
12
Views
730
  • Last Post
Replies
7
Views
2K
Top