View Single Post
Old Nov 27th, 2007, 11:25 AM   #13
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Re: fitting image into table cell

Quote:
it gives you some sort of padding in the cell
<table border=1 height=600 cellspacing=20 width=500 style="color:white"valign="center" align="center">
Inside or outside the border? Cellspacing has a way of doing that. Further, if the text in the adjoining cells causes a height increase, the height of the cell with the photo will increase, also.

I'm guessing that your rendering is pretty much as it should be, given the html you've written, and the content.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote