Forum Moderators: not2easy
How do I do this? What would I add?
//STYLE
div#nested_header {height:57px;width:415px;}
div#header {background-color:black; width:100%; max-height:57px;}
//BODY
<div id="header">
<h1>Header Title</h1>
<div id="nested_header">
<img src="banner.png" width="415" height="57" />
</div>
</div>
For my own understanding, what's the dynamic with the relative and absolute positioning? - Why is the nested header in this case absolute?
I suppose since the Header is relative and the Nested Header is absolute, any absolute Nested Header dimensions are based off of the Header dimensions?
Regarding: <snip>
I want the #login_box to be on the top right hand side fluent with the rest of the page.
Here's a quick MS Paint rendition of what I want: <snip>
If you would, please the page's source as my HTML is semantically easy-reading (although my CSS may not be).
Basically I want advice on how I should code #login_box to position it where I want. This is my first time using CSS, so excuse my fundamental questions. :)
Thanks a lot!
[edited by: encyclo at 1:31 am (utc) on Dec. 28, 2006]
[edit reason] no personal URLs please, see forum charter [/edit]
Regarding your second question, I’m afraid we don’t do site reviews here for various reasons, but if you can post a small example of where you’ve got to and a decription of what you want I’ll try to help.