Reply to Re: Css positioning help

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация