You are here: Re: Css positioning help « HTML « IT news, forums, messages
Re: Css positioning help

Posted by Jonathan N. Little on 06/21/06 23:03

Edelman.Jason@gmail.com wrote:
> Jonathan N. Little wrote:

>>> I was under the impression that displaying both inline will put them next to
>>> each other?
>>> Any help would be great.
>> The problem is UL are block elements. BTW IMGs are inline by default. I
>> think what you are looking for it to make
>>
>> #Info{
>> float: left;
>> margin-left: 3%;
>> /* you will probably need to define a width here as well */
>> }
>> #Pic{
>> /*You can remove your setting here, you want the default */
>> }
>>

>
> or you could remove all your CSS that you have now regarding position
> and just float the image right and the list left. be sure to clear
> your content div for firefox, since you're using floated items in it.
>

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.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this 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

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