I'm trying to display 2 tables on one side of my website (this is actually a table with two sub -Tables). I used the following template to do this: (found this)
That is, I want to align the second table on the right side of the screen. I tried:
& lt; Table range = "1" align = "right" & gt; But it does not work. any idea? Thanks!
You should not use tables to align things.
You can either get rid of the original table and write it like this:
& lt; Table border = "1" WIDTH = "250" style = "float: left;" & Gt; & Lt; TR & gt; & Lt; TD & gt; This is our first table! & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt; Table range = "1" style = "float: correct;" & Gt; & Lt; TR & gt; & Lt; TD WIDTH = "250" & gt; And it's in the second table! & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; Or: It should be better. Use Divs This is in our first table!
& lt; Div style = "float: right;" & Gt; And it's in the second table! & Lt; / Div & gt;
No comments:
Post a Comment