New
#1
some help with HTML code
I was wondering how to create three separate tables in HTML code in notepad that are adjacent to each other
I was wondering how to create three separate tables in HTML code in notepad that are adjacent to each other
Here is some Example Code for you to plug in and modify to your needs:
HTML Code:<HTML> THIS: <TABLE BORDER="0: CELLPADDING="8" CELLSPACING="8" WIDTH="100%"> <TR> <TD><TABLE BORDER=1 WIDTH="100%"><TH>Table 1</TH><TR><TD>INFO TABLE 1</TD><TD>INFO TABLE 1</TD></TR><TR><TD>INFO TABLE 1</TD><TD>INFO TABLE 1</TD></TR></TABLE></TD> <TD><TABLE BORDER=1 WIDTH="100%"><TH>Table 2</TH><TR><TD>INFO TABLE 2</TD><TD>INFO TABLE 2</TD></TR><TR><TD>INFO TABLE 2</TD><TD>INFO TABLE 2</TD></TR></TABLE></TD> <TD><TABLE BORDER=1 WIDTH="100%"><TH>Table 3</TH><TR><TD>INFO TABLE 3</TD><TD>INFO TABLE 3</TD></TR><TR><TD>INFO TABLE 3</TD><TD>INFO TABLE 3</TD></TR></TABLE></TD> </TR> </TABLE> OR THIS: <TABLE BORDER="0: CELLPADDING="8" CELLSPACING="8" WIDTH="100%"> <TR><TD>Table 1</TD><TD>Table 2</TD><TD>Table 3</TD></TR> <TR> <TD><TABLE BORDER=1 WIDTH="100%"><TR><TD>INFO TABLE 1</TD><TD>INFO TABLE 1</TD></TR><TR><TD>INFO TABLE 1</TD><TD>INFO TABLE 1</TD></TR></TABLE></TD> <TD><TABLE BORDER=1 WIDTH="100%"><TR><TD>INFO TABLE 2</TD><TD>INFO TABLE 2</TD></TR><TR><TD>INFO TABLE 2</TD><TD>INFO TABLE 2</TD></TR></TABLE></TD> <TD><TABLE BORDER=1 WIDTH="100%"><TR><TD>INFO TABLE 3</TD><TD>INFO TABLE 3</TD></TR><TR><TD>INFO TABLE 3</TD><TD>INFO TABLE 3</TD></TR></TABLE></TD> </TR> </TABLE> </HTML>
Cheap and dirty...
You should be better off using DIV's and learning a bit of CSS instead.Code:<table border="2" bordercolor="#FF0000" cellpadding="0" cellspacing="0"> <td> <table border="2" bordercolor="#00FF00" cellpadding="0" cellspacing="0"> <td><caption>Hello</caption></td> </table> </td> <td> <table border="2" bordercolor="#0000FF" cellpadding="0" cellspacing="0"> <td><caption>World</caption></td> </table> </td> <td> <table border="2" bordercolor="#00FF00" cellpadding="0" cellspacing="0"> <td><caption>Again</caption></td> </table> </td> </table>
Edit: Liquid you beat me to it!
thanks for all the help, i might be posting more questions if they arise. I will post the final product in a zip file in a post when i finish the project (maybe by the end of the week)