Page 1 of 1

php and tables

Posted: Wed Jul 17, 2002 9:45 pm
by cheatboy00
i was wondering.. is there a way to check a table cell's height ???

becasue i have this pic and i want to see on high the table cell is and make the pic that high if you know what i mean.....

i have content in one cell and in one right beside it i have a pic that will be as long as it ...

so is there anyway of doign this or am i going to have to go throught all my different pages and set it accordingly..erg... hate that thought

Posted: Thu Jul 18, 2002 12:33 am
by cheatboy00
bump :(

Posted: Thu Jul 18, 2002 2:04 am
by haagen
To set the cell heights and so on is accutally a html-issue. This can be done by:

<TD height=12>

But if it will be exactly 12 and how it will handle larer items in the cell i do not know.

I don't think there is a way to get the height (or width) of a cell. This is dependent of wich broweser and browser version you use. The table is after all renderd on the client not with in you php program.

Posted: Thu Jul 18, 2002 2:12 am
by cheatboy00
erg... no thats not what i meant but i believe you answered my question