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)

5+ Year Member

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)

WebmasterWorld Senior Member 10+ Year Member

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

Featured Threads

Hot Threads This Week

Hot Threads This Month