simple question

This is a discussion on "simple question" within the Web Page Design section. This forum, and the thread "simple question are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 31st, 2007, 08:50
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
simple question

Making a site in tables

i have the page centered but want the bottom cell to be left aligned - how do i achieve this?

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Website Development</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<center>
<table width=500 border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=500><img src="border1.jpg"></td>
</tr>
<tr>
<td width="500"><img src="20a166bf.jpg"></td>
</tr>
<tr>
<td width=500><img src="border2.jpg"></td>
</tr>
</table>
<table width=500 height=500 border=0 cellspacing=0 cellpadding="0" background="Image3.jpg">
<tr>
<td width=450>
<table width=100 border=1>
<tr>
<td width=100>1</td>
</tr>
<tr>
<td width=100>2</td>
</tr>
<tr>
<td width=100>3</td>
</tr>
<tr>
<td width=100>4</td>
</tr>
<tr>
<td width=100>5</td>
</tr>
</table></td>
<td width=50>2</td>
</tr>
</table>
<table width=450 height=50 border=1>
<tr>
<td align="left">123</td>
</tr>
</table>
<table width=500 height=50 border=1>
<tr>
<td><img src="border1.jpg"></td>
</tr>
</table>
</center>
 

</body>
</html>
Bit in bold i want on the left
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote

  #2 (permalink)  
Old Jan 31st, 2007, 16:09
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

Since you have the <center> tages around your whole table then everythings going to be centered.
do this..
Code: Select all
<td width=100>4</td>
</tr>
<tr>
<td width=100>5</td>
</tr>
</table></td>
<td width=50>2</td>
</tr>
</table></center>

<table width=450 height=50 border=1>
<tr>
<td align="left">123</td>
</tr>
</table>
<table width=500 height=50 border=1>
<tr>
<td><img src="border1.jpg"></td>
</tr>
</table>
that should fix it and the remaining tables and cells will be where you want to put them.
Reply With Quote
  #3 (permalink)  
Old Jan 31st, 2007, 21:00
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

ta..........
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #4 (permalink)  
Old Feb 1st, 2007, 06:23
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

Just if you care...technically you should do this...

You are doing...
Code: Select all
width=500
Should be...
Code: Select all
width="500"
Or at least that was the way I was taught...way back in the day...lol
Reply With Quote
  #5 (permalink)  
Old Feb 1st, 2007, 06:37
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

Yep, that's correct, Jacob.
Reply With Quote
  #6 (permalink)  
Old Feb 1st, 2007, 08:44
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

either way works lo
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #7 (permalink)  
Old Feb 1st, 2007, 08:48
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Website Development</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<center>
<table width=500 border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=500><img src="border1.jpg"></td>
</tr>
<tr>
<td width="500"><img src="20a166bf.jpg"></td>
</tr>
<tr>
<td width=500><img src="border2.jpg"></td>
</tr>
</table>
<table width=500 height=500 border=0 cellspacing=0 cellpadding="0" background="Image3.jpg">
<tr>
<td width=450>
<table width=100 border=1>
<tr>
<td width=100>1</td>
</tr>
<tr>
<td width=100>2</td>
</tr>
<tr>
<td width=100>3</td>
</tr>
<tr>
<td width=100>4</td>
</tr>
<tr>
<td width=100>5</td>
</tr>
</table></td>
<td width=50>2</td>
</tr>
</table></center>
<table width=450 height=50 border=1>
<tr>
<td align="left">123</td>
</tr>
</table>
<table width=500 height=50 border=1>
<tr>
<td><img src="border1.jpg"></td>
</tr>
</table>
 
 

</body>
</html>
Done that code but now the bottom 2 tables are to left aligned

Put the code in notepad to see what i mean.
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #8 (permalink)  
Old Feb 1st, 2007, 08:49
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

Quote:
Originally Posted by DanDoughty View Post
either way works lo
Yeah your right Dan...but it all comes down to can you live with yourself knowing that you did not include those quotation marks...can you really sleep at night know you left them out? I know I can't so change them!!
Reply With Quote
  #9 (permalink)  
Old Feb 1st, 2007, 08:51
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

http://pic5.piczo.com/dsdfootball/?g=31142301&cr=5 - not the best preview but u can sort of see the problem
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #10 (permalink)  
Old Feb 1st, 2007, 08:54
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

Here...this should accomplish what you want. I could not help myself...added the "" marks...lol

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Website Development</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<center>
<table width="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="500"><img src="border1.jpg"></td>
</tr>
<tr>
<td width="500"><img src="20a166bf.jpg"></td>
</tr>
<tr>
<td width="500"><img src="border2.jpg"></td>
</tr>
</table>
<table width="500" height="500" border="0" cellspacing="0" cellpadding="0" background="Image3.jpg">
<tr>
<td width="450">
<table width="100" border="1">
<tr>
<td width="100">1</td>
</tr>
<tr>
<td width="100">2</td>
</tr>
<tr>
<td width="100">3</td>
</tr>
<tr>
<td width="100">4</td>
</tr>
<tr>
<td width="100">5</td>
</tr>
</table></td>
<td width="50">2</td>
</tr>
</table>
</center>
<center>
<table width="450" height="50" border="1">
<tr>
<td align="left">123</td>
</tr>
</table>
<table width="500" height="50" border="1">
<tr>
<td><img src="border1.jpg"></td>
</tr>
</table>
</center>
</body>
</html>
Reply With Quote
  #11 (permalink)  
Old Feb 1st, 2007, 08:59
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

no the

Code: Select all
<table width="450" height="50" border="1">
<tr>
<td align="left">123</td>
</tr>
</table>
Table is still centered
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #12 (permalink)  
Old Feb 1st, 2007, 09:02
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

This time it will work, I messed taking out one of the table cell alignments.

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Website Development</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<center>
<table width="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="500"><img src="border1.jpg"></td>
</tr>
<tr>
<td width="500"><img src="20a166bf.jpg"></td>
</tr>
<tr>
<td width="500"><img src="border2.jpg"></td>
</tr>
</table>
<table width="500" height="500" border="0" cellspacing="0" cellpadding="0" background="Image3.jpg">
<tr>
<td width="450">
<table width="100" border="1">
<tr>
<td width="100">1</td>
</tr>
<tr>
<td width="100">2</td>
</tr>
<tr>
<td width="100">3</td>
</tr>
<tr>
<td width="100">4</td>
</tr>
<tr>
<td width="100">5</td>
</tr>
</table></td>
<td width="50">2</td>
</tr>
</table>
</center>
<center>
<table width="450" height="50" border="1">
<tr>
<td>123</td>
</tr>
</table>
<table width="500" height="50" border="1">
<tr>
<td><img src="border1.jpg"></td>
</tr>
</table>
</center>
</body>
</html>
Reply With Quote
  #13 (permalink)  
Old Feb 1st, 2007, 09:08
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

nope
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #14 (permalink)  
Old Feb 1st, 2007, 10:57
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

So just the 123 table to the left? All the rest centered?

Code: Select all
<table width="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="500"><img src="border1.jpg"></td>
</tr>
<tr>
<td width="500"><img src="20a166bf.jpg"></td>
</tr>
<tr>
<td width="500"><img src="border2.jpg"></td>
</tr>
</table>
<table width="500" height="500" border="0" cellspacing="0" cellpadding="0" background="Image3.jpg">
<tr>
<td width="450">
<table width="100" border="1">
<tr>
<td width="100">1</td>
</tr>
<tr>
<td width="100">2</td>
</tr>
<tr>
<td width="100">3</td>
</tr>
<tr>
<td width="100">4</td>
</tr>
<tr>
<td width="100">5</td>
</tr>
</table></td>
<td width="50">2</td>
</tr>
</table>
</center>
<center>
<table width="450" height="50" border="1" align="left">
<tr>
<td align="left">123</td>
</tr>
</table>


<p>&nbsp;</p>
<table width="500" height="50" border="1" align="center">
<tr>
<td><img src="border1.jpg"></td>
</tr>
</table>
</center>
This does it if I understood the question correctly!
Reply With Quote
  #15 (permalink)  
Old Feb 1st, 2007, 11:15
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

that works! but it makes the table to far left aligned. (no pleasing me)
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #16 (permalink)  
Old Feb 1st, 2007, 11:19
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

Well Dan you are just going to have to set ALL that code into YET ANOTHER TABLE!!! Specify the width of your outside container table, center it on the page and all will be well!

hahahahahaha Now I'm really beginning to realize the silliness of these tables! hahahahahaha
Reply With Quote
  #17 (permalink)  
Old Feb 1st, 2007, 11:23
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

and in english
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #18 (permalink)  
Old Feb 1st, 2007, 11:28
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

Ok.. so the left table is too far over to the left.. how much do you want it brought into the center?
Reply With Quote
  #19 (permalink)  
Old Feb 1st, 2007, 11:30
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

in alignment with the other tables - if you know what i mean
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #20 (permalink)  
Old Feb 1st, 2007, 11:30
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple question

i can see now why you dont use bloody tables
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
Reply

Tags
html, tables

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
hopefully a simple question newoptical Hosting & Domains 9 Sep 21st, 2007 22:02
Simple CSS Question welshie Web Page Design 9 Jan 31st, 2007 12:22
a simple question (I think) Colm Osiris Introduce Yourself 4 Feb 8th, 2006 20:00
a simple question (I think) Colm Osiris Web Page Design 2 Feb 5th, 2006 09:17
A simple Question... Lizard- Classic ASP 11 Aug 11th, 2004 08:45


All times are GMT. The time now is 13:44.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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