Liquid layout - float in main content clears outer float

I have set up liquid 2 column layout where sidebar has fixed width and is floated left. Main content has margin the same as sidebar's width. The problem is that if I clear floats inside the main content, it clears the sidebar too and moves the content down.

<title>Float test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
#wrap {
    min-height: 100%;
    margin: auto;
    position: relative;

I am racking my brain here.

I am racking my brain here, and I am sure it is a stupid mistake.

I can not get the content area (where the 1, 2, 3, 4, 5) are located to render right. I set up a inner div with margins and they do not work. Not sure what I am missing here.

On top of that the footer does not render properly at all either.

Any input would be great. Thanks guys.

Positioning two-column content layouts

Hi all, I have my site here <----there

Float issue with images in a list of divs

I am utilizing MVC pattern to provide a list of divs that have an image, some text, and a button.

In the image provided you can see the problem. However, I did fix that issue by adding overflow: hidden; to the list-item div.

Is there another way to fix this issue, or can someone explain why overflow: hidden; didn't hide anything?

PS - I couldn't get the HTML to render properly for whatever reason is going, so i just took a snapshot.

    border-top: 1px dotted gray;
    padding-top: .7em;
    margin-bottom: .7em;

CSS Layout problems - is there a simple fix?

Hi all,

I've been putting this site together but I'm having some issues on the CSS side... I understand it's not the best practice but it's one of my first web site projects in a long time, and my first div/css based site. (no comments on the design please, it's not personally favourable, but it's what the client wants).

It seems to look fine in all browsers except... yep, you guessed it - Internet Explorer.

Syndicate content