Why cant I specify the width and height of a cell in an html table?
- by Phil
I am using CSS but for the sake of quick testing i am just using a style tag. This is the code I am trying to implement:
echo "<td style='height=10px; width=10px;'>";
it makes sure that the max width of the cell is 10px however the height overflows with the text so becomes very large (high).
what I am trying to achieve is any information that is in that cell more than 30 charcters I want to hide so you cant see it.
(I know 30 charaters is more than 10px but I am just playing to see if it worked!)
Thanks guys.