|
Posted by Edelman on 06/22/06 02:23
Jonathan N. Little wrote:
> Except floating content both left and right has a tenancy to create the
> "dumbbell" effect where you have a lump of stuff on the left and a lump
> of stuff on the right and nothing or very little in the middle.
> Especially pronounced on large viewports. This is usually not a very
> attractive design. Better to float only one and let the other fill in.
the only time this creates a "dumbbell" effect is when you do it wrong.
if you're floating stuff, you want it on the left and right. the
content in this example is contained in a wrapping div with a set
width. the float both the same direction is a good solution too, but
it won't always work the way you want it to, especially if your code is
out of order (ie, the element you want to show up first is actually
second in your code. learn the correct way to float and clear floats
and you should be fine.
--
Jason Edelman
http://fixmysite.blogspot.com
Navigation:
[Reply to this message]
|