|
Posted by Els on 10/05/06 15:14
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. Then it will only drop below
the left floated div is there is content inside the right div that is
too wide.
--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/
Now playing: The Rolling Stones - Shake Your Hips
Navigation:
[Reply to this message]
|