|  | 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.
 [Back to original message] |