some help with HTML code

Page 1 of 3 123 LastLast

  1. Posts : 434
    Windows 7 Home Premium 64 Bit
       #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
      My Computer


  2. Posts : 2,259
    W7 Professional x64
       #2

    You could put them all in a large table with no borders.
      My Computer


  3. Posts : 434
    Windows 7 Home Premium 64 Bit
    Thread Starter
       #3

    LiquidSnak said:
    You could put them all in a large table with no borders.
    would there be any way to do it with borders? Also I need each table to have a different caption
      My Computer


  4. Posts : 2,259
    W7 Professional x64
       #4

    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>
      My Computer


  5. Posts : 966
    Windows 7 Enterprise
       #5

    Cheap and dirty...
    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>
    You should be better off using DIV's and learning a bit of CSS instead.

    Edit: Liquid you beat me to it!
      My Computer


  6. Posts : 2,259
    W7 Professional x64
       #6


    Lol, I was already working on the code, but stalling for time.
      My Computer


  7. Posts : 434
    Windows 7 Home Premium 64 Bit
    Thread Starter
       #7

    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)
      My Computer


  8. Posts : 966
    Windows 7 Enterprise
       #8

    No problem theski.

    We'll be here. Some of us more than others...
      My Computer


  9. Posts : 2,259
    W7 Professional x64
       #9

    lol. Am I on a lot?
      My Computer


  10. Posts : 434
    Windows 7 Home Premium 64 Bit
    Thread Starter
       #10

    LiquidSnak said:
    lol. Am I on a lot?
    how is anyone of us supposed to know how much you are on?
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:35.
Find Us