Hello everyone,
I am currently wondering if I am backing myself into a corner. I am currently building a layout that has a center column that spans 100% of the height of the viewable browser window; on top of that I have put in a div with absolute positioning as a top menu bar that is exactly 25px in height. This part works. Now it gets tricky and is starting to make my brain hurt;
The top bar is a transparent .png because of how it is sitting you can see the top 25px of the column underneath it(this would be fine except it clashes with the background image). Now the simple solution would just be to make that top menu bar a solid color and be done with it - but I'm way to stubborn to give in that easy. So I am wondering if it is possible to position the column down 25px so the two don't clash but still keep the column expanding all the way to the bottom of the page?
Here is the css - the #site is the column and the #topbar is obviously the top menu bar:
#topbar {
height:25px;
width:100%;
margin:0px;
padding:0px;
border-bottom: #000000 1px solid;
position:absolute;
top:0px;
left:0px;
background-image:url(../images/topbg.png);
background-repeat: repeat;
background-attachment:fixed;
background-position:top;
}
#site {
height:100%;
min-height:100%;
width:70%;
margin:0px;
padding:0px;
border-left: #000000 2px solid;
border-right: #000000 2px solid;
background-image:url(../images/sitebg.png);
background-repeat: repeat;
background-attachment:fixed;
background-position:fixed;
float:left;
}
Please let me know if you need the actual page code. Thank you.