Jump to content

Sidebar


danhodge

Recommended Posts

Hey again guys :)

 

Okay, my problem is sidebars.

 

I have a sidebar, which i can fit into my website nicely, along with the header and nav bar.

 

My only issue now, is that i can't put any actual content into the website without it going in the wrong place.

 

So, i wondered, can this be achieved by playing around with the floats in the layers?

 

Thanks alot,

Danny

Link to comment
Share on other sites

I think you are confusing two different methods for layout. You can layout columns using floats, or using floats/margins (where one column is placed within the left or right margin of another column) but you can't try to do both at the same time.

 

To fix this, you need to remove the margin-left from #content, and the negative left margin on the h1, and then adjust as necessary.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...