driveflexfuel
New Member
- Messages
- 159
- Reaction score
- 0
- Points
- 0
I am working on a css design but I am having issues with the following design
CSS
HTML
The content in the table is generated in a php script so i can not live without the table.
The issue is this code needs to work in all browsers and currently only works in FF. In FF the table adjusts to the width of having a scrollbar but in IE it does not and a horizontal scrollbar appears. Is there a hack or somthing i can use to prevent this.
CSS
Code:
#enclosure {
height: 150px;
width: 668px;
overflow: auto;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
border: 1px solid #566F8E;
}
Code:
<div id="enclosure">
<table width=100%>
Bunch of rows
</table>
</div>
The issue is this code needs to work in all browsers and currently only works in FF. In FF the table adjusts to the width of having a scrollbar but in IE it does not and a horizontal scrollbar appears. Is there a hack or somthing i can use to prevent this.