1 reply [Last post]
kiwis
kiwis's picture
Offline
Enthusiast
Last seen: 12 weeks 3 days ago
Timezone: GMT+12
Joined: 2009-03-07
Posts: 66
Points: 104

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
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 1 day ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

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.