Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: some help with HTML code

25 Oct 2010   #1
theski232

Windows 7 Home Premium 64 Bit
 
 
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 System SpecsSystem Spec
.
25 Oct 2010   #2
LiquidSnak

W7 Professional x64
 
 

You could put them all in a large table with no borders.
My System SpecsSystem Spec
25 Oct 2010   #3
theski232

Windows 7 Home Premium 64 Bit
 
 

Quote   Quote: Originally Posted by LiquidSnak View Post
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 System SpecsSystem Spec
.

25 Oct 2010   #4
LiquidSnak

W7 Professional x64
 
 

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 System SpecsSystem Spec
25 Oct 2010   #5
xarden

Windows 7 Enterprise
 
 

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 System SpecsSystem Spec
25 Oct 2010   #6
LiquidSnak

W7 Professional x64
 
 


Lol, I was already working on the code, but stalling for time.
My System SpecsSystem Spec
25 Oct 2010   #7
theski232

Windows 7 Home Premium 64 Bit
 
 

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 System SpecsSystem Spec
25 Oct 2010   #8
xarden

Windows 7 Enterprise
 
 

No problem theski.

We'll be here. Some of us more than others...
My System SpecsSystem Spec
25 Oct 2010   #9
LiquidSnak

W7 Professional x64
 
 

lol. Am I on a lot?
My System SpecsSystem Spec
26 Oct 2010   #10
theski232

Windows 7 Home Premium 64 Bit
 
 

Quote   Quote: Originally Posted by LiquidSnak View Post
lol. Am I on a lot?
how is anyone of us supposed to know how much you are on?
My System SpecsSystem Spec
Reply

 some help with HTML code




Thread Tools




Similar help and support threads
Thread Forum
HTML Coding
HI when i try to save a file i made in the html web page it only saves the first <textarea> thing and not the the remaining here is the code i use : <html> <body> <table> <tr><td>Text to Save:</td></tr> <tr> <td colspan="3">
Browsers & Mail
Anyone know anything about HTML and CSS.
Hey everyone, I'm having a bit of trouble with a webpage that I'm working on. When viewed in either Chrome or Firefox it loads correctly but when viewed in IE it adds a thin white line at the bottom of the page and therefore adds a scroll bar. I'm fairly new to all this and so far have just been...
Chillout Room
HTML signature
Windows Live Mail 2009 There used to be a tutorial about how to set up an image signature file in Windows Mail. I cannot find it. Furthermore, I need instructions on how to do it in Windows Live Mail. I cannot find a tutorial on this subject either. I went as far as entering the image...
Browsers & Mail
html 5
hi all just want to know how you could see if your browser uses html 5 ?? thanks saakeman
Browsers & Mail


Our Sites

Site Links

About Us

Find 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 07:02.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App