php and tables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
cheatboy00
Forum Contributor
Posts: 151
Joined: Sat Jun 29, 2002 10:36 am
Location: canada
Contact:

php and tables

Post 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
User avatar
cheatboy00
Forum Contributor
Posts: 151
Joined: Sat Jun 29, 2002 10:36 am
Location: canada
Contact:

Post by cheatboy00 »

bump :(
User avatar
haagen
Forum Commoner
Posts: 79
Joined: Thu Jul 11, 2002 3:57 pm
Location: Sweden, Lund

Post 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.
User avatar
cheatboy00
Forum Contributor
Posts: 151
Joined: Sat Jun 29, 2002 10:36 am
Location: canada
Contact:

Post by cheatboy00 »

erg... no thats not what i meant but i believe you answered my question
Post Reply