[56K WARN] CSS Float Question

JavaScript and client side scripting.

Moderator: General Moderators

toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Post by toasty2 »

Or I could just add clear: left to block4. :D

Your method of CSS makes sense though, I'll look into doing it like that.

Edit: I was talking to Superdezign, didn't see all the other replies.

Edit2: I used Superdezign's style sheet structure, now why aren't they floating left?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

:lol: This post came up in a Google Search I'm doing trying to find something to help someone else. :-p
However, I'll tell you what's wrong (since I'm here ^_^).

You gave the #blocks div a class of "block."


... Don't.

The "block" class is for the blocks within the #blocks div, not the containing div itself.
Post Reply