1 reply [Last post]
kiwis's picture
Last seen: 2 years 1 week ago
Timezone: GMT+12
Joined: 2009-03-07
Posts: 68
Points: 108

Somewhere in the middle of my page I will have a table, I want to then overlay div's on this table between selected rows & cells.

I want to place them in a specific location, I guess if I set my rows and columns to set px width I can set an absolute positive for my overlay div but how can I get it to absolute to the table and not my page?

Is it even possible?

My table location may very so can't just add 120px and 35px to it for example.

Tony's picture
Last seen: 3 weeks 5 days ago
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

Hi Kiwis, It should be

Hi Kiwis,
It should be possible if you set the table or the td's to position:relative; then any children can be positioned from that.
Of course you need to have the div within the positioned element.