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
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
Can't connect via HTML
I have a Toshiba Satellite C875D-S7225 laptop. I try to connect the laptop to my tv via HTML but nothing shows up. I have tried different tvs and the same thing happens. I had to change the hard drive out and I believe I downloaded all the required drivers. What do I need to do to get my laptop to...
Drivers
An HTML & CSS question
Hello guys, I am looking to make my website a modern looking one. I would like to put the table of contents on the top of my website, like that guy did on his one - Home Page The point is, when someone click on someone's profile, the webpage must open in the same window, not in a different...
Chillout Room
HTML in notepad
my professor wants us to create a web page, in said web page he said, "Make sure that each ingredient is displayed on its own line and indented as shown. Hint: Treat them as a block quote for the indenting." The attachment shows what I did with it, but I was wondering if there is a way to get rid...
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 02:32.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App