Jump to content

Archived

This topic is now archived and is closed to further replies.

Bavilo

Help with CSS!

Recommended Posts

Hello everyone,

I have recently started to work on a website i have to make for school.
I am having problems with the allignment of the different divs. For example, i have a header which should float in the top right, followed by a tab menu in its own wrapper div 20 pixels below the header, then a navigation menu floating on the left below the tab menu, and a content box floating on the right next to the navigation menu. Well it sounds simple, but its not coming out the way it should, i have to clear: both; the tab menu for it to even show up under the header, which i should have to do. Well here is a link to the page im working on. I hope someone can look over my code and tell me what i could change to make it work better. Also, im trying to keep the page resolution friendly, not sure how i would do that.

Again, any help is much appreciated.

Here is the link

[a href=\"http://mike.eurodogcrates.net/test/\" target=\"_blank\"]http://mike.eurodogcrates.net/test/[/a]

btw, i left the borders on so you can see whats going on. Seems the main container wont hold anything under the tab menu, dont know whats going on there aswell

Share this post


Link to post
Share on other sites
You have a floating element; that detaches it from the structure. To get the box to expand the whole way down, you need to have an element with clear: both; at the bottom of your container div, or use [a href=\"http://positioniseverything.net/easyclearing.html\" target=\"_blank\"]this[/a] technique that only works in non-IE browsers, which you can't use.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.