float and clear

Discussion in 'HTML' started by Mitja, May 8, 2004.

  1. Mitja

    Mitja Guest

    Does anybody know _the_ structural solution for this one:
    http://www.oktaeder.com/?page=g_single&game=634&lang=1

    If I make the description of the game disappear (which I definitely intend
    to do) or if the description is very short, the "download" link aligns
    itself vertically with the image (id="ss"). Because the image is floated
    left, the containing div shrinks all the way up to the "download" link,
    causing the screenshot to stick out of it.

    I can't use clear:left on the link, because there another floated element
    further left (the list of games) which mustn't be cleared by the link.

    A simple tweak oughta exist, but I'm at a loss. Anybody who isn't?
    Thanks,
    Mitja
     
    Mitja, May 8, 2004
    #1
    1. Advertising

  2. In article Mitja wrote:
    > Does anybody know _the_ structural solution for this one:
    > http://www.oktaeder.com/?page=g_single&game=634&lang=1
    >
    > If I make the description of the game disappear (which I definitely intend
    > to do) or if the description is very short, the "download" link aligns
    > itself vertically with the image (id="ss"). Because the image is floated
    > left, the containing div shrinks all the way up to the "download" link,
    > causing the screenshot to stick out of it.
    >
    > I can't use clear:left on the link, because there another floated element
    > further left (the list of games) which mustn't be cleared by the link.
    >
    > A simple tweak oughta exist, but I'm at a loss. Anybody who isn't?
    > Thanks,
    > Mitja


    Position menu on left absolutely.

    Or use suitable min-height, not supported by IE.


    --
    Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
    I'm looking for work | Etsin työtä
     
    Lauri Raittila, May 9, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Uncle Pirate
    Replies:
    2
    Views:
    424
    Uncle Pirate
    Aug 12, 2004
  2. bd
    Replies:
    0
    Views:
    635
  3. David

    Response.Clear() doesn't clear

    David, Jan 31, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    1,039
    Mark Fitzpatrick
    Jan 31, 2008
  4. Carsten Fuchs
    Replies:
    45
    Views:
    1,561
    James Kanze
    Oct 8, 2009
  5. InvalidLastName

    Unrecognized element 'add' after <clear></clear>

    InvalidLastName, Feb 26, 2007, in forum: ASP .Net Web Services
    Replies:
    3
    Views:
    972
    Steven Cheng[MSFT]
    Mar 6, 2007
Loading...

Share This Page