Basic css... but ive been confused forever!Fist, i am not a web designer. I am a smal
Fist, i am not a web designer. I am a small business owner who is trying to learn a little bit about web design because the last two "web design companies" decided to over promise and under deliver.
I am trying to do what any normal web guy would do and stick the logo on the left with some nav horizontally to the right... with another set of navigation underneath
I have enclosed a picture if that clears up what i am trying to do.
my idea was something like header>div id="logo" and then div id="nav" and finally Div id="subnav" all inside the header div
But i cant even figure out how to get the top nav to lay flat... i think it has to do with displaying them inline and then floating them to the left... but I dont know..
here is what im trying to do...
4 divs. header, logo, topnav, subnav
1. the overall header width is 960px & the height is 100px
2. the top potion of the header will be 80px tall and the bottom nav will be 20px
3. the logo png image is 350 wide and the width is 60px tall
4. the topnav section there is 4 links in the top nav
5. there is 6 links in the sub nav section
6. one image will be horizontally repeated as the background for the entire header
7. no images for the navigation.. just text based with no drop downs needed.
8. image for the header will be header.jpg
9. the logo will need padding for the top of 10px... the text to the right needs to be centered vertically & horizontally with some breathing room in between the text
thats what im working with and can not get right... please help
Post the code you have to date and a link to the problem page.
To be basic, you'll need four DIVs structured as follows:
You'll need to float the header-logo and the header-nav inside the header ID.
So the CSS will be something like: (untested)
background-image: ... ;
Last edited by ralphchadkirk; 06-03-2011 at 04:53 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)