Hi tauhui ,
Good day!
Let me start this off by highlighting to you that these are wrong:
Code:
float="left" margin-left="auto" margin-right="auto"
float="right"
float and margin are CSS' syntax so it must be inside the "style" attribute. The correct way is:
Code:
style="float:left; margin-left: auto; margin-right: auto;"
style="float:right;"
P.S. Keep in mind that there should only be one "style" attribute inside your tag so if you need to add more, just add it after the semi-colon and ensure it's inside the quotation marks.
For your issue, the fix is by attending on those concerns I raised above and float the second table too.
A less verbose way is to add in your CSS rules:
Code:
#tab table { float: left; }
Hope that helps.
Bookmarks