Here’s the problem a friend of mine is encounting:
ok i wanted to make a box to be scrollable if the height and width exceeded so it doesn’t stretch the site so i did the following:
CSS:
[CODE].contentBox {
display:block;
border-style: none;
border-color: 000;
padding:0px;
margin-top:0px;
width:600px;
overflow:auto
}
#boxcodescroll { max-height:400px; }
HTML:
[CODE]<!– BEGIN code_open –></span>
<table width=”90%” cellspacing=”1″ cellpadding=”3″ border=”0″ align=”center”>
<tr>
<td><span class=”genmed”><b>{L_CODE}:</b></span></td>
</tr>
<tr>
<td class=”code”><div class=”contentBox” id=”boxcodescroll”><!– END code_open –>
<!– BEGIN code_close –></div></td>
</tr>
</table>
<span class=”postbody”><!– END code_close –>
so basically in HTML i added the following to the table code:
[CODE]<div class=”contentBox” id=”boxcodescroll”>
and the closing tag
</div>
worked great on firefox and opera, but in IE (Internet Explorer) didn’t work at all, its like the whole CSS and HTML coding for the scrollbars is not even there. any ideas?
.