 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Relight
Joined: 23 Dec 2004 Posts: 3
|
Posted: Thu Dec 23, 2004 10:34 am extra space in table cannot figure out why it's there |
|
|
|
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
|
Posted: Thu Dec 23, 2004 10:40 am |
|
|
|
| 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
|
Posted: Sat Dec 25, 2004 4:54 am Re: extra space in table cannot figure out why it's there |
|
|
|
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
|
Posted: Sat Dec 25, 2004 3:13 pm |
|
|
|
| Thank you very much for your help, it is much appreciated. |
|
|
|
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
|
|
|
|
|
 |
|
|
|
|
|
|