0

if you open the below link the content part is overlapped by id #a and #b , my entire webpage is overlapped by those id's,if i change the path absolute to relative the #a #b ,toggle script wont work. how to keep the toggle body height varies by text ,like text height equal to height of the toggle body.

http://jsfiddle.net/M6xJT/10/

4

2 回答 2

1

ok, so you want this?

http://jsfiddle.net/M6xJT/12/

you have to remove the bottom:0px;

于 2012-06-25T17:48:06.923 回答
0

You need to put your content inside #B. Unless I am missing something? I'm not exactly sure what you are trying to accomplish.

<div id='B'>body<a href='javascript:' id='toggle' class='left'></a>
Content here
</div>
于 2012-06-25T17:38:11.330 回答