Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
Thread: Height Issues in td Cells
10-26-2007, 04:17 AM #1
Height Issues in td Cells
I have a table with several rows and cells. I can set the width, but the height gets messed up. It seems to be adjusting to the size of the text, even if it's smaller than the set width. Is there any way to fix this? Or maybe a way to prevent the browser from collapsing empty cells (because I could just replace the text with background images)?
10-26-2007, 08:41 AM #2
- Join Date
- Jun 2004
- Thanked 82 Times in 80 Posts
Can you give an example?
10-26-2007, 12:34 PM #3
Here's a link to the page I'm having trouble with (it's actually a minesweeper game): http://www.pehjota.com/storage/mines...esweeper1.html
10-26-2007, 03:44 PM #4
- Join Date
- Oct 2007
- Thanked 0 Times in 0 Posts
When you are using the width option make your width like this <width=50%> it will increase the size of the column.
10-26-2007, 09:37 PM #5
...I used CSS to do that. And I used pixels instead of % because I know the exact size I want everything to be.
Besides, that's not the issue here. I'm having problems with height, not width.
Does anyone have any idea why the browser is setting the height of the td's based on the font size instead of the actual height I set?