Forum Moderators: not2easy

Message Too Old, No Replies

overlapping divs?

overlap tables with divs..

         

jinesh

11:49 am on Apr 18, 2003 (gmt 0)

10+ Year Member



hey people, trying to use a single-column table (center aligned) with a div (using float:right)...i'm trying to get them both to appear side by side, but the div keeps pushing the table towards the left, instead of simply overlapping it...tried assigning z-index values to everything :)
any ideas?
thanks...

Birdman

11:54 am on Apr 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could set absolute positioning on the div.

div.right{position: absolute; top: 0px; left: 400px}

grahamstewart

1:46 pm on Apr 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> left: 400px

To put it on the right you should measure from the right side, so it should be

right: 0px;

organic21

9:25 am on Apr 22, 2003 (gmt 0)

10+ Year Member



Put a table with border 0 around the div and the visible table. the outer table will put the div in the right position. make sure you remove the absolute positioning for the div.
not the best way to do it but it works.