Forum Moderators: not2easy
Html----------------------------------------------------------
<div class="Content">
<ul class="tabmenu">
<li class="spacer">
</li>
<li class="tabbutton">
<a href="#" class="tabbutton"></a>
</li>
<li class="tabbutton">
<a href="#" class="tabbutton"></a>
</li>
<li class="tabbutton">
<a href="#" class="tabbutton"></a>
</li>
<li class="tabbutton">
<a href="#" class="tabbutton"></a>
</li>
<div class="Innercontent">
Test text More More More!
</div>
</div>
CSS ---------------------------------------------------------
ul.tabmenu {
list-style: none;
width: 10px;
height: 400px;
position: relative;
left: 60px;
float: left;
}
div.Content {
width: 800px;
height: 500px;
background-image: url("images/ContentBox.gif");
margin: auto;
padding-top: 30px;
background-repeat: no-repeat;
}
div.Innercontent {
position: relative;
margin: auto;
height: 430px;
width: 500px;
float: left;
display: inline;
/*border: solid 3px #FFFFFF;*/
}
[edited by: Chamenas at 5:56 pm (utc) on Oct. 8, 2007]
#wrapper {
width: whatevereworksforyou;
}
#nav {
width: whatevereworksforyou;
height: whatevereworksforyou;
float: left;
}
#content {
width: whatevereworksforyou;
height: whatevereworksforyou;
float: left;
}
HTML
<div id="wrapper">
<div id="nav">
navigation
</div>
<div id="content">
content
</div>
</div> <!-- end wrapper -->
And remember, if you are doing fixed widths, say overall 800px for the wrapper, you have to take margins, padding and borders into consideration in the combined width of the #nav and #content.
Marshall