How to determine the size of a dynamic table and display an image based on this

Hi there.

I have a two column table that holds all the divs on my webpage. The height of the left column is determined by the height of the right column. The height of the right column is determined dynamically depending on the amount of information drawn from my database.

What I am trying to do is find a way to determine the size of the left column and if it matches a certain height, display a div inside it.

Can someone point me in the right direction or let me know if this is even possible using php alone ?

You could probably do this with CSS

Here’s a tutorial about media queries

Cheers M@tt.

Looks like that might work for me.

Sponsor our Newsletter | Privacy Policy | Terms of Service