I've got this simple HTML:
What I am hoping to see is truncated text occupying a cell 100x100px, but the cell expands to show the whole lot. I can't see what I'm doing wrong, any help please?
Also, is there a way to apply overflow:hidden to every cell on every table on an HTML page?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
Code:
<html>
<body>
<table width=100 height=100 style='{ table-layout: fixed; }'>
<tr><td style='{ overflow: hidden; }'>
This is a bit of text that I only expect to see part of because the cell is only 100x100px.
</td></tr>
</table>
</body>
</html>
What I am hoping to see is truncated text occupying a cell 100x100px, but the cell expands to show the whole lot. I can't see what I'm doing wrong, any help please?
Also, is there a way to apply overflow:hidden to every cell on every table on an HTML page?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments