since
05-24-2010, 12:44 PM
Is it possible to set a span/div with a max-width w/o the scrollbars being present.
I would basically like to mimic the "input" html tag with in a html table.
I would like to use the left,right cursor arrows within the span/div.
Any help would be appreciated.
Steve
e.g.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>scroll</title>
</head>
<body>
<table border="1">
<thead style="background-color:white">
<tr>
<th>One</th>
<th>Two</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data</td>
<td><div style="max-width:20px">sdffffffffffffffffffffffffffffffffffffffffffffffffffffffff</div></td>
</tr>
</tbody>
</table>
</div></td></tr></table>
</body>
</html>
I would basically like to mimic the "input" html tag with in a html table.
I would like to use the left,right cursor arrows within the span/div.
Any help would be appreciated.
Steve
e.g.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>scroll</title>
</head>
<body>
<table border="1">
<thead style="background-color:white">
<tr>
<th>One</th>
<th>Two</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data</td>
<td><div style="max-width:20px">sdffffffffffffffffffffffffffffffffffffffffffffffffffffffff</div></td>
</tr>
</tbody>
</table>
</div></td></tr></table>
</body>
</html>