1. I've started a massive SPAM purge, any accounts that have spammed are being removed, also for a short period new user signups are disallowed until the SPAM cleaning is finished.

Is it possible to float two divs side-by-side without setting width?

Discussion in '(X)HTML / CSS' started by bitane, Jul 15, 2011.

  1. bitane

    bitane New Member

    Jun 17, 2011
    Likes Received:
    Trophy Points:
    I'm trying to put two divs side by side. I want the div on the right to take up as much room as it needs (php echos code for an image in this div, so the width needs to be variable for images of different widths) and the one on the left to take up whatever room is left. I can't get it to work without setting the width of the left div in advance, though. Is what I'm asking possible?

Share This Page