hi everybody,
i want to align a div at the bottom but inside the div. here is the code:
The div wit the id "navbars" needs to be aligned at the center bottom inside the div bottom header. please tell me how i can do this using css.
thanx
i want to align a div at the bottom but inside the div. here is the code:
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">
<!--
#header {
background-color: #006;
width: 780px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
height: 200px;
}
#navbars {
background-color: #999;
height: 50px;
width: 450px;
overflow: auto;
}
-->
</style>
</head>
<body>
<div id="header">
<div id="navbars"></div>
</div>
</body>
</html>
thanx
Comment