Hi,
Why doesn't this work...
The td cell still expands to fit the content.
I did a search and found people saying overflow only works on block elements and as a td is normaly an inline element the height and overflow doesn't work.
However I've applied a display:block; attribute, yet it still expands to fit the content.
How do I resolve this?
Thanks,
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts
Why doesn't this work...
Code:
td {
display:block;
height:40px;
overflow:hidden;
}
The td cell still expands to fit the content.
I did a search and found people saying overflow only works on block elements and as a td is normaly an inline element the height and overflow doesn't work.
However I've applied a display:block; attribute, yet it still expands to fit the content.
How do I resolve this?
Thanks,
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts