- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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?
You will have to set a fixed height to the container. Clearfix works on floats, this isn’t a float issue.
Thanks for the info, but the content is dynamic, so can’t keep the height fixed…
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.
I don’t really understand what you’re trying to accomplish here. Do you have an example you can show us?
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!
see it’s rendering in IE n others…
I’m very new to front end. Any suggestions are appreciated.