Table space

This is a discussion on "Table space" within the Web Page Design section. This forum, and the thread "Table space 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 Jul 27th, 2007, 19:11
Junior Member
Join Date: May 2007
Location: Cleveland Ohio
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Table space

I can not figure out why my table row has a height that I did not code. Please see the top row of this table.... why does it have the extra space in the height. I do not want the additional space up top. Even with the "valign=top" it is still thre. (The red border is just so you can see what I mean). Thanks!

I apologize for the long url, but it is: http://www.promerus.net/sbna5/SBNA2/test2.htm

*********************************
Charlotte Terry

http://www.RooKaps.com

USB Replacement Caps and Web Design Services

Last edited by terrycr; Jul 27th, 2007 at 19:34.
Reply With Quote

  #2 (permalink)  
Old Jul 27th, 2007, 19:13
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Table space

What additional space are you talking about?!

This is what I see in FF FF.jpg

Last edited by karinne; Jul 27th, 2007 at 19:15.
Reply With Quote
  #3 (permalink)  
Old Jul 27th, 2007, 19:33
Junior Member
Join Date: May 2007
Location: Cleveland Ohio
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Table space

Sorry -- this is the link for the website I am having problems with:

http://www.promerus.net/sbna5/SBNA2/test2.htm

Thanks.
Reply With Quote
  #4 (permalink)  
Old Jul 27th, 2007, 19:52
SuperMember

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

see if adding height="0" solves it.

Then skip on over to the beginner's resources... to see how to do this by handcoding! How sneaky was that in trying to get you away from tables? HUH?
Reply With Quote
  #5 (permalink)  
Old Jul 27th, 2007, 20:00
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: Table space

Extremely, Linda!
Reply With Quote
  #6 (permalink)  
Old Jul 27th, 2007, 23:42
Junior Member
Join Date: May 2007
Location: Cleveland Ohio
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Table space

I always handcode. Changing the row height to 0 did not help.

Thanks,
C. Terry
http://www.Rookaps.com
Reply With Quote
  #7 (permalink)  
Old Jul 28th, 2007, 00:28
SuperMember

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

Oh sorry... well my point was not to use tables but anyway... forget that...

Is it the table row that has the wording "products by category"?

I see such a weird double oval on your site...
Reply With Quote
  #8 (permalink)  
Old Jul 28th, 2007, 00:40
SuperMember

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

Quote:
<table border="3" bordercolor=red cellpadding="7" border=0 align=center valign=top style="height: 400px; width: 800px; z-index:100;">
Style-"height: is not correct code. Not sure what to replace it with.

Another issue that you have is that you don't have a doc type but now I'm getting off topic. However, I tried to validate your code to see if it would find errors and without a doc type you can't go a step further.
Reply With Quote
  #9 (permalink)  
Old Jul 28th, 2007, 10:11
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to RZX Developer
Re: Table space

Can I suggest that you get rid of the height att as the table itself shoudn't have one, also try changing the cellpadding to ="0", you also need a doc type declared for the validator to work

wayne
Reply With Quote
  #10 (permalink)  
Old Jul 29th, 2007, 17:15
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Table space

Quote:
Originally Posted by Lchad View Post
Style-"height: is not correct code. Not sure what to replace it with.

Another issue that you have is that you don't have a doc type but now I'm getting off topic. However, I tried to validate your code to see if it would find errors and without a doc type you can't go a step further.
Style="height: 400px;" is okay, although it would be better removed from the HTML and put in an external CSS file.

The problem with that particular line is that the attibutes should be delimited by quotes. If you don't do this, some really funky errors can happen:

Code: Select all
<table border="3" bordercolor="red" cellpadding="7" border="0" align="center" valign="top" style="height: 400px; width: 800px; z-index:100;">
In any case, validating the code would be a Good Idea. It might even solve the problem!
Reply With Quote
  #11 (permalink)  
Old Jul 29th, 2007, 17:16
SuperMember

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

It can't be validated.. no doc type.
Reply With Quote
  #12 (permalink)  
Old Jul 29th, 2007, 17:56
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Table space

Quote:
Originally Posted by Lchad View Post
It can't be validated.. no doc type.
Without a Doctype, the code is invalid. As you said, this is the first step and must be completed before you can check for other errors. I was going to suggest a Doctype, but since the website is down I can't look at the code.

As I always say: writing valid code prevents lots of errors; and fixing invalid code often makes errors disappear.
Reply With Quote
  #13 (permalink)  
Old Jul 29th, 2007, 22:14
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Table space

Okay, a glance at the code suggests that you should start by using an XHTML transitional doctype. Add this to the beginning of your code, before the <html> tag:

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Then run it through the validator, and fix the errors you find.

Last edited by MikeHopley; Jul 29th, 2007 at 22:17.
Reply With Quote
Reply

Tags
align, space, table

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
Am I using table-cell and table-row too much? idl Web Page Design 15 Sep 7th, 2006 12:55
Need to align width of Float table with the table below Vertabase Web Page Design 4 Mar 8th, 2006 21:21
Space on table iceytina Web Page Design 6 Dec 11th, 2005 23:38
..copy data from column A in Table A to column B in Table B? gecastill Databases 10 Jun 23rd, 2005 18:27
Table Space WiseWizards Web Page Design 2 Jun 13th, 2005 18:12


All times are GMT. The time now is 04:08.


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