I need the “overflow:auto” to be set on few html elements.
Is there a way to embed this within the html instead of defining the div in ie.
div.scroll
{
overflow:auto;
}
Instead of having the above code within a tags, Can the HTML elements have defined.
This seems not to work.
<body>
<div {overflow:auto;}>
<table border="1">
<thead>
<tr>
<th>Column 1</th>
<th>Column 2</th
</tr>
</thead>
<tbody>
</table>
</div>
</body>
try
<div style="overflow:auto;">, hope I understood what you are asking !