简体   繁体   中英

IE7 not expanding div correctly

I am trying to get an expanding div to appear correctly in IE7. What is happening, is that the div will appear behind the button instead of pushing the div down to accommodate the textarea box. I have tried combinations of clear, position, but still the same. Can someone check my code and point out my error. It works fine in IE8 & FF (Even IE6:-)) just 7 that is causing problem. Many thanks

Demo code: http://jsfiddle.net/P5NQt/3/

Remove the height property from the .fb-input-right-conradio-back rule.

demo at http://jsfiddle.net/gaby/2jBbu/


Something else ( irrelevant to the original issue ), i would suggest you wrap the Yes text in a <label> with a for attribute, so the the whole text will act as a button for the checkbox..

<label for="messagetick2">Yes</label> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM