HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
extra space in table cannot figure out why it's there
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
Relight



Joined: 23 Dec 2004
Posts: 3

PostPosted: Thu Dec 23, 2004 10:34 am     extra space in table cannot figure out why it's there Reply with quote

please visit http://www.sylpher.com/relight/temp/ and check out the top row of the table in which there is an image. the table is 715 width and the image to fit into the row is 711 x 100. but, highlight the row and you'll see there is an extra 4 pixels of height after the image, between the image and the next row. how do i get rid of that? i want the image to sit snugly in the row.

look at my code and you'll see how's it made. some code will look funny because some of it is inserted via include php files, which of course you don't see when you view source. and you have to right-click and view source, because if you do through the view menu, you'll get the code for the frame in which the whole page is encased.

any help appreciated, thank you.
Relight



Joined: 23 Dec 2004
Posts: 3

PostPosted: Thu Dec 23, 2004 10:40 am     Reply with quote

sorry i forgot to mention. i already designed another webpage using the same type of thing, it's at http://www.agdinteractive.com. now that one does work just fine, so i don't understand why this one doesn't work and has that extra space there.
prabhu



Joined: 25 Dec 2004
Posts: 5

PostPosted: Sat Dec 25, 2004 4:54 am     Re: extra space in table cannot figure out why it's there Reply with quote

Hello there

I have fixed this bug please use the following code:

<tr><td colspan=2><img src=images/banner.jpg></td></tr>

My suggestion try to end the ending tag on the same line where your TD content ends, means it should not be in new line.


Relight wrote:
please visit http://www.sylpher.com/relight/temp/ and check out the top row of the table in which there is an image. the table is 715 width and the image to fit into the row is 711 x 100. but, highlight the row and you'll see there is an extra 4 pixels of height after the image, between the image and the next row. how do i get rid of that? i want the image to sit snugly in the row.

look at my code and you'll see how's it made. some code will look funny because some of it is inserted via include php files, which of course you don't see when you view source. and you have to right-click and view source, because if you do through the view menu, you'll get the code for the frame in which the whole page is encased.

any help appreciated, thank you.
Relight



Joined: 23 Dec 2004
Posts: 3

PostPosted: Sat Dec 25, 2004 3:13 pm     Reply with quote

Thank you very much for your help, it is much appreciated.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial