On 2016-01-29 08:20, Timothy Stowell via wrote:
So I have a table that I want to center the text vertically in the
cell.
Horizontally is not a problem.
I do not want to use CSS - and am fairly certain one could do this without
it because surely this was done before the introduction of CSS?
I've tried a v align tag but that seemed to do nothing.
Second issue - trying to make a .gif transparent. I've done this before
but so rarely, I seem to have to relearn it each time. :(
Tim
valign is officially not supported in the <TD> tag[1]. It *is* supported
in some browsers, but I don't remember which ones. You can apply it in
the <TR> tag.
You can also apply it using CSS for just this one cell via the cell's
style attribute: <TD style="vertical-align: middle;">
As for the .gif, it has been a long time since I did this but as I
recall it the process is to select the background colour and change it
to transparent. (I would suggest, if this is your image and you are
working from the .RAW, that you use .png instead as it is a standard
that is still being developed while .gif is a bit of a dinosaur.)
[1]
http://www.w3schools.com/tags/att_td_valign.asp
--
Wayne Saewyc
Marshall County marshallmnus.genweb.io