![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there any problem with putting a relative div inside a table cell? The relative div would have an absolute div inside it. thanks |
#3
| |||
| |||
|
|
Is there any problem with putting a relative div inside a table cell? The relative div would have an absolute div inside it. thanks |
#4
| |||
| |||
|
|
Don't put divs into tables. Cheers Pablo |
#5
| |||
| |||
|
|
Its ok as long as they are either not positioned or the parent <div> is positioned relatively. |
#6
| |||
| |||
|
|
Osgood wrote: Its ok as long as they are either not positioned or the parent <div> is positioned relatively. Actually I need to clarify that because you can float them as well which is positioned I guess. So as long as they are not inserted directly into the table/cell with a psoition of absolute then its ok. An absolutely positioned layer inside a relatively positioned <div which is inside a table/cell is perfectly valid and will present no problem x-browser. |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
I just tested that and it works fine, I always thought this caused problems on Mac? Is that still the case? |
#9
| |||
| |||
|
|
Pablo wrote: I just tested that and it works fine, I always thought this caused problems on Mac? Is that still the case? No, its presents no problems at all on Mac. Only if you insert an absolutely positioned (layer)<div> directly into a table/cell without first wrapping it in a relatively positioned one will it cause problems. It's neat and opens up endless possiblities. |
![]() |
| Thread Tools | |
| Display Modes | |
| |