Forum Moderators: not2easy

Message Too Old, No Replies

Hidden content in divs overlapping

using clear: both; not working?

         

Matthew1980

7:55 pm on Apr 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi there people of the CSS forum,

I have a div, that comes to life when you click the link above. All works fine, except when you click the link. I was hoping to have the box expand (contains a textarea) and when it does literally pushes the rest of the page content down, so that overlapping is eliminated. Hope that makes sense. I tried clear: both; on the <br/> and the div class/id's but no luck.

Is there another attribute that I am missing that would sort this out or is it something else?

Any help appreciated,

Cheers,
MRb

Matthew1980

9:29 pm on Apr 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi all,

I think I have fixed this by reading a bit closer to the screen, apart from editing the wrong file ;-p (the pitfalls of using multiple documents in one viewing pane).

I realised I hadn't set the positioning to relative instead of absolute. Doh!

Cheers,
MRb