does anyone know why the image in this table vertically aligns correctly…
But the following table cell does not vertically align (it aligns to the top) I have php creating a paypal button with a custom buy now image in a HTML Markup with nothing else in the cell)
ah the style=”vertical-align:text-top” only aligns the image to the text in the cell. For some reason the whole cell contents when a form tag is added makes all the text and image align to the top of the cell.
You can try simulating centering using padding on the table cell or
DIV that holds the form. The trouble with this construction is that
when you set your form to inline, it collapses to the size of its
contents. And any surrounding structure will also collapse unless it
has a defined height. If it has a defined height, then its contents
will float to the top. A table cell can be set to valign=middle and
any content within it will float in the middle, but I don’t think you
can do that directly in Freeway. As near as I can see, you have to use
the Extend button in the Inspector, which would let you apply an id or
class to the cell, and then you have to sneak a matching CSS style
into the page somehow. Not very direct. I wrote an Action to do this
many years ago, but I can’t find it any more – this would have been
in my Freeway 2 Actions folder, many many computers ago.
The form was creating to much depth to centre with the other items in the row.
It seems your action to remove P TAGs works a treat on table cells (Did not think previously to try this). I think the CSS styling was working, but Freeway was butting in with a P tag to create the extra depth.