You are here: Re: QUIT MOVING MY STUFF! « HTML « IT news, forums, messages
Re: QUIT MOVING MY STUFF!

Posted by Ben C on 10/05/06 16:19

On 2006-10-05, Els <els.aNOSPAM@tiscali.nl> wrote:
> Ben C wrote:
>
>> On 2006-10-05, 1995 Cobra <mg@deepskystudio.com> wrote:
>>>
>>> My first floated <div> (the flash) has
>>> a specific width of 225px. The "holder" <div> will vary based on how
>>> big someone's window is, but it's essential that it be the full width,
>>> no more no less, regardless. I can't set it to 100% right, because then
>>> it will still push itself under? Any thoughts?
>>
>> Not sure I understand. You have two left floats in a set-width
>> container, one that's 225px wide, and the other that you want to butt up
>> against it filling the remaining space?
>>
>> You will just have to set the width manually-- there's no way to say
>> "100% - 225px" on a float unless you resort to scripting.
>
> Or if you give it a margin instead of float it.
> If the left floated div is 225px wide, just set the second div to have
> a left margin of 225px, don't float it.

Good suggestion, that way it will take up the rest of the available
width, whatever that might me.

 

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

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