PDA

View Full Version : Table formatting troubles


aschechtman
04-18-2005, 08:27 PM
When compiling an HTML document including a table with iSiloX 4.25, it seems to adhere to the specified pixels with respect to the width but not the height of a given cell.

Not sure what I'm doing wrong but I want to space out the images so they have some blank space around them. The images are about 65 pixels high and I've set the cell height at 80 pixels so there should be some white borders around the images. When I open the HTML file in Internet Explorer it displays properly. When I open the compiled iSilo doc, the row height seems to be ignored and the photos are crammed right next to each other (height-wise that is, the width spacing is OK).

Here's a link (http://www.meistermed.com/acne.zip) where you can download a .zip file containing the HTML source file, the iSiloX file, and the compiled .pdb file.

Any suggestions will be appreciated.

Regards,

Andrew

Voltage Spike
04-18-2005, 10:52 PM
When I open the compiled iSilo doc, the row height seems to be ignored and the photos are crammed right next to each other (height-wise that is, the width spacing is OK).

This is more of a workaround than an answer, but have you tried the corresponding CSS?

<tr style="height: 80px">

or, more equivalently:

<td style="height: 80px">

If this works, you may wish to consider setting a class name or just applying the style globally.

<style type="text/css">td { height: 80px; }</style>

iSilo
04-18-2005, 11:09 PM
iSilo does not support specifying a height for table cells. If you need to add exact vertical pixel spacing above or below an image, place the image in a block element such p or div and specify top/bottom padding for the block element.

For example:

<div style="padding-top:7px;padding-bottom:8px"><img src="image.gif" height="65">

aschechtman
04-19-2005, 08:44 AM
Thanks I'll try these suggestions.

Andrew