Jump to content

CSS problem with Sidebar/Content

- - - - -

  • Please log in to reply
1 reply to this topic

#1
dk1081

dk1081

    Newbie

  • Members
  • Pip
  • 3 posts
I'm just getting started in CSS trying to figure things out by building a practice-website.

The problem I am having is with the sidebar and the main content secitons of the CSS. I specified the width of the sidebar to 180px and specified it to float left... but something is wrong with it...It does begin on the left hand side but it pretty much ignores the 180px specification and continues to the right most part of the page.

Here is a screenshot of the problem: ImageShack® - Online Photo and Video Hosting

I would like the content area to be directly adjacent to the sidebar, but because of the mentioned problem the browser places it below the sidebar section.

Help would be much appreciated.

#2
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
Code would be nice. You may have had a typo, or setting the width to the wrong element, or another element is messing it up.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users