Log in

View Full Version : Table problem



sunny
06-16-2005, 12:45 PM
Please look at this:
http://www.powow.com/wowarticles/test
the source code:


<html>
<head><style>
td{height="10%"}
</style>
</head>
<body>
<table cellspacing="-2">
<td>
<img src="http://www.powow.com/wowarticles/test/U1.gif"></td><td bgcolor=black><font color="pink">NAME</font></td>
<td><img src="1.gif"></td></table>
</body></html>

I want that the cell in the middle with 'name' should be of the same size as those images before and after the cell.
How is it possible?

Twey
06-16-2005, 04:00 PM
Vertical or horizontal size?
The cells are the same height, as you specified it in your stylesheet, but the images are slightly shorter than the cells. You need to edit them to fix that.
Horizontally, you need to set a width, either in the tag or the stylesheet. This should be the width of the image, in an absolute measurement.