Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Float and position:absolute

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #33688
    DroidBoyJr
    Member

    How to make float div take size of position:absolute div inside it!
    can we do so?
    “clearfix” works only 4 nestd floats. what about the problem above?

    #84136
    jamygolden
    Member

    You will have to set a fixed height to the container. Clearfix works on floats, this isn’t a float issue.

    #84147
    DroidBoyJr
    Member

    Thanks for the info, but the content is dynamic, so can’t keep the height fixed…

    #84148
    jamygolden
    Member

    Does the position need to be absolute? I’ve never needed to do something like that, but if I did, I would probably use javascript to give the floated container the same height as it’s contents.

    #84149
    TheDoc
    Member

    I don’t really understand what you’re trying to accomplish here. Do you have an example you can show us?

    #84150
    DroidBoyJr
    Member

    while building normal webpage, floats are enough.
    but when i try to do something like OVERLAPPING with div’s, I don’t know how to do it with floats.
    Googled it,but no luck!

    Check this link

    see it’s rendering in IE n others…
    I’m very new to front end. Any suggestions are appreciated.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.