Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
is there really a way to fix the height of td (with css)
The width is easily done but I cant seem to fix the height.
Tried this. Doesnt seem to work on the height, a line break will expand the row height.
table{
table-layout:fixed
}
td{
height:10px;
overflow:hidden;
whitespace:nowrap;
}
Last edited by kvnmcwebn (2008-08-06 15:56:29)
its a bad hen that wont scratch itself.
photogallery
Offline
#2 2008-08-12 18:07:32
- aesop1
- Archived Plugin Author
- Registered: 2004-09-19
- Posts: 142
Re: is there really a way to fix the height of td (with css)
Nothing wrong with setting a height attribute within the td tag itself, but you’re probably trying to eliminate the redundancy. Me, I think I would want to avoid globally applying the td height . . . . but of course I don’t know what you’re really up to and the overflow looks like an interesting spin.
-Matt
Offline
Re: is there really a way to fix the height of td (with css)
it was a really horrible job i got stuck with where i had to line up two tables beside each other so they looked like one. The rows were not high and there was a lot of them that had to line up. They contained dozens of input boxes and some had button images. In the end i managed to reset and clear all the browser default heights and re-apply them with td heights targeting the different browsers. The biggest culprit was line height. It was the most horrible web job ive ever done.
its a bad hen that wont scratch itself.
photogallery
Offline