im trying to layout a new nav bar to insert into executive theme,
the button image steps up from the bottom of the parent div tag, i want it to sit on the bottom so as not to see the background image of the parent div tag.
whats pushing this image up a couple of pixels.. sorry for long paste to follow:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.nav_full_width {
margin: 0px;
}
.nav_button_container_left {
float: left;
width: auto;
margin-left: 10px;
}
.nav_762_box {
background-image: url(../../../Program Files/Actinic v8/Sites/Site1/gray_nav_background.gif);
width: 762px;
height: 30px;
background-repeat: no-repeat;
background-position: bottom;
}
.nav_button {
background-image: url(../../../Program Files/Actinic v8/Sites/Site1/button.gif);
background-repeat: no-repeat;
float: left;
width: 70px;
height: 30px;
position: static;
}
-->
</style>
</head>
<body>
<div class="nav_full_width" align="center">
<div class="nav_762_box"><div class="nav_button_container_left"><table align="left"><tr><td valign="bottom">
<div class="nav_button" align="center" >home</div></table></td></td>
Content for class "nav_button_container_left" Goes Here</div>
<img src="../../../Program Files/Actinic v8/Sites/Site1/shim.gif" width="1" height="30" />
</div>
</div>
</body>
</html>
the button image steps up from the bottom of the parent div tag, i want it to sit on the bottom so as not to see the background image of the parent div tag.
whats pushing this image up a couple of pixels.. sorry for long paste to follow:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.nav_full_width {
margin: 0px;
}
.nav_button_container_left {
float: left;
width: auto;
margin-left: 10px;
}
.nav_762_box {
background-image: url(../../../Program Files/Actinic v8/Sites/Site1/gray_nav_background.gif);
width: 762px;
height: 30px;
background-repeat: no-repeat;
background-position: bottom;
}
.nav_button {
background-image: url(../../../Program Files/Actinic v8/Sites/Site1/button.gif);
background-repeat: no-repeat;
float: left;
width: 70px;
height: 30px;
position: static;
}
-->
</style>
</head>
<body>
<div class="nav_full_width" align="center">
<div class="nav_762_box"><div class="nav_button_container_left"><table align="left"><tr><td valign="bottom">
<div class="nav_button" align="center" >home</div></table></td></td>
Content for class "nav_button_container_left" Goes Here</div>
<img src="../../../Program Files/Actinic v8/Sites/Site1/shim.gif" width="1" height="30" />
</div>
</div>
</body>
</html>
Comment