HI,
How do I create 2 absolute divs positioned on top of each other (content/base) that will re-align when content is added.
ie content div will contain variable data. In some instances, when too much info, it will overlay my base div. I wish to prevent this with out using relative.
cheers
repositioning divs
Hi numbenator,
Sounds like you would need to use JavaScript to calculate the height of the div and adjust their positions from that value.
Have you tried using relative position?
Hope that helps
repositioning divs
Thats exactly how thought have to do but have no idea where to begin with writing such a function.
I have used relative yes although requirement is to use absolute.
Don't ask why lol.
hope you can help.
cheers
repositioning divs
Hi numbenator,
This script might give you something to think about.
http://www.csscreator.com/css-forum/ftopic847.html
repositioning divs
Well you could nest the absolutes inside a relative