Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

problem with border

12:17 am on Mar 4, 2011 (gmt 0)

New User

10+ Year Member

joined:Mar 18, 2007
posts: 12
votes: 0

If I have 2 tables in a div, does margin-top position the bottom table in relation to the top of the div or the bottom of the top table? My top table is absolute positioned top 0px, with a margin-bottom of 50px. The bottom table is positioned relative and has a top-margin of 50px, but is positioned relative to top of the div. Should it be positioned relative to the top table or do I need to put both tables in seperate divs to achieve the margin?
4:01 am on Mar 4, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 1, 2003
votes: 0

You didn't mention what you're trying to accomplish. What do you mean by "achieve the margin"?