[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 11-16-2004, 10:39 PM   #1 (permalink)
New Member
 
Join Date: May 2003
Posts: 12
17.00 NP$ (Donate)

snapous is an unknown quantity at this point


Simple html question

Hey,

I'm trying to put three different tables next to each other. However, one is alwasy up the top alone and the other two are next to each other just below it. Any suggestions? I'm trying to use, align="left" then align="center" then align="right" but it wont work. The one in the middle is the main one so maybe there's something there, like the two on the right were originally there, i'm trying to add the one on the left.

All the best,
Mark
snapous is offline  
Old 11-16-2004, 10:41 PM   #2 (permalink)
NamePros Regular
 
Nunim's Avatar
 
Join Date: Oct 2004
Location: Florida
Posts: 385
6.20 NP$ (Donate)

Nunim is an unknown quantity at this point


why not make 1 big table with 3 colums then put the little tables inside of it.
Nunim is offline  
Old 11-17-2004, 12:36 AM   #3 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
 
Join Date: Sep 2004
Location: Earth
Posts: 376
24.15 NP$ (Donate)

joeorgasmic is on a distinguished road


What numin said is the only way I know that is possible. Just create the first table with 3 columns 1 row. Then create a new table inside of each row.

Here is your bone dry code for it. Just mod it to your liking.

Code:
<table width="800" border="0" cellspacing="5" cellpadding="0">
  <tr>
    <td><table width="200" border="0" align="center" cellpadding="0" cellspacing="5">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td><table width="200" border="0" align="center" cellpadding="0" cellspacing="5">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td><table width="200" border="0" align="center" cellpadding="0" cellspacing="5">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
joeorgasmic is offline  
Old 11-17-2004, 03:02 AM   #4 (permalink)
New Member
 
Join Date: May 2003
Posts: 12
17.00 NP$ (Donate)

snapous is an unknown quantity at this point


hopefully this helps

Hey,

To make it easier, here's the code and also, a copy of the site. What i want to do is put the two "here's some vital information, and the "title of work" tables all next to each other. Any help greatly appreciated!

The site can be seen at, click here and here's the partial code:

<html>
<head>
<title>Title</title><meta name="Description" content="Meta Stuff">
<meta name="Keywords" content="keywords, more, needed">
<style>
body {font-family:verdana;font-size:9pt;}
td {font-family:verdana;font-size:9pt;}
a:hover {text-decoration:none;color:#FFB903;}
.border {border:1px solid black;}
input {border:1px solid black;background:#FFD695;font-size:8pt;}
submit {border:1px solid black;background:#FFD695;font-size:8pt;}
</style>

</head>

<body leftmargin="0" topmargin="0" bgcolor="FFFFFF" link="blue" alink="blue" vlink="blue" text="black">
<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
<tr>
<td background="blank.gif" height="90" width="100%" colspan="2">
<img src="nologo.gif" alt="your logo here"><a target="_new" href=http://www.url.com><img src="noad.gif" border=0></a>
</td>
</tr>
<tr>
<td background="blank.gif" height="30" width="100%" colspan="2">
<a href="http://www.url.com"><img src="home.gif" border="0"></a><a href="mailto:submit@url.com"><img src="nologo.gif" border="0"></a><a href="http://www.url.com/books"><img src="books.gif" border="0"></a><a href="mailto:webmaster@url.com"><img src="contact.gif" border="0"></a><a href="http://www.url.com/links"><img src="links.gif" border="0"></a>
</td>
</tr>

<td width="12% align="left" valign="top">
<table width="90%" border="0" align="left" cellpadding="2" height="100%">
<tr valign="top"><td background="blank.gif" height="20" class="border"><B><font size="1" face="Verdana">Here's Some vital informationI'm trying to put three different tables next to each other. However, one is alwasy up the top alone and the other two are next to each other just below it. Any suggestions? I'm trying to use, align="left" then align="center" then align="right" but it wont work. The one in the middle is the main one so maybe there's something there, like the two on the right were originally there, i'm trying to add the one on the left.</a></B></td></tr>

</table>
</td>
</tr>


<tr valign="top">
<td width="75%" align="center" valign="top">
<table width="90%" cellpadding="3" border="0" align="center" class="border" height="100%">
<tr valign="top">
<td valign="top" background="logo.gif" height="20" class="border">
<b><font size="3" face="Verdana">Title of Work</b>
</td>
</tr>
<tr valign="top"><td valign="top">
Your content will go here. And since we're such nice guys, you don't have to link back to us <br>
Although, we would appreciate a link if you want to. All the images you see here have been included without text on them
so you can edit them. Have fun.(disregard this please)<br>-- <a href="http://www.url.com" target="_blank">Url.com</a><p>
</td></tr>
</table>
</td>
<td width="12% align="right" valign="top">
<table width="90%" border="0" align="right" cellpadding="2" height="100%">
<tr valign="top"><td background="blank.gif" height="20" class="border"><B><font size="1" face="Verdana">Here's Some more vital informationI'm trying to put three different tables next to each other. However, one is alwasy up the top alone and the other two are next to each other just below it. Any suggestions? I'm trying to use, align="left" then align="center" then align="right" but it wont work. The one in the middle is the main one so maybe there's something there, like the two on the right were originally there, i'm trying to add the one on the left.</a></B></td></tr>
<tr valign="top"><td class="border">

<CENTER><font size="1" face="Verdana">Google Goes here<br></B><br></CENTER>

<br><br><br><br><br>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="30" background="blank.gif" colspan="2">
<center><font size="2" face="Monotype Corsiva">Copyright 2004 Ltd. All rights reserved.</center>
<CENTER><font size="1" face="Verdana"><a href="http://www.url.com/terms" target="_blank">Terms and Conditions</a> - <font size="1" face="Verdana"><a href="http://www.url.com/adverts" target="_blank">Advertising</a> - <font size="1" face="Verdana"><a href="http://www.wurl.com/privacy" target="_blank">Privacy Policy</a></CENTER>
</td>
</tr>
</table>
</body>
</html>
snapous is offline  
Old 11-17-2004, 10:27 AM   #5 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
 
Join Date: Sep 2004
Location: Earth
Posts: 376
24.15 NP$ (Donate)

joeorgasmic is on a distinguished road


I think you should use my code as a template and try to do it yourself. Doing things yourself is by far the best way to learn. If you need additional help with it let me know!
joeorgasmic is offline  
Old 11-17-2004, 06:17 PM   #6 (permalink)
NamePros Member
 
Join Date: Jul 2004
Location: U.S.A.----- Ohio
Posts: 120
132.00 NP$ (Donate)

ServeTraffic is an unknown quantity at this point


Quote:
Originally Posted by Nunim
why not make 1 big table with 3 colums then put the little tables inside of it.
very good idea!
__________________
ServeTraffic.Com
Make money with your traffic, Join our publisher network click here to find out more.
ServeTraffic is offline  
Old 11-18-2004, 01:23 AM   #7 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough

Breast Cancer
what Nunim said
adam_uk is offline  
Old 11-18-2004, 05:34 AM   #8 (permalink)
Senior Member
 
superprogrammer's Avatar
 
Join Date: Aug 2004
Location: Washington
Posts: 4,319
0.13 NP$ (Donate)

superprogrammer has much to be proud ofsuperprogrammer has much to be proud ofsuperprogrammer has much to be proud ofsuperprogrammer has much to be proud ofsuperprogrammer has much to be proud ofsuperprogrammer has much to be proud ofsuperprogrammer has much to be proud ofsuperprogrammer has much to be proud of


spam? can't you read above?
__________________
Download youtube videos at www.HugYouTube.com and free domains list atwww.FreeDroplists.com
Anonymous access at www.Banned.net
superprogrammer is offline  
Old 11-18-2004, 05:36 AM   #9 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough

Breast Cancer
Quote:
Originally Posted by superprogrammer
spam? can't you read above?

eh?
adam_uk is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 10:18 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85