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

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

W7 Professional x64
 
 

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

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

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

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

W7 Professional x64
 
 


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

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

Windows 7 Enterprise
 
 

No problem theski.

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

W7 Professional x64
 
 

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

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 for2: some help with HTML code
Thread Forum
BSOD PLaying League of Legends error code 0x0000001e a common code BSOD Help and Support
Window's updates errors, code 80073712 and code 9c47 Windows Updates & Activation
Windows Update errors Code 800B0100 and Code 8007065E, tried everythin Windows Updates & Activation
Looking for code to disable HTML in Contact Form Browsers & Mail
Microsoft Virtual Miniport Adapter code 10 and code 43 Drivers
html 5 Browsers & Mail
Clipboard corrupts HTML code General Discussion

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 05:37 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33