Topeka
Junior Member
Posts: 94
Topeka said 0 great things
|
Post by Topeka on Feb 12, 2010 16:18:51 GMT -8
You know when you make a table it will automatically place like a 1 px space around every column or row in the table for a border even if you set the border to 0?
Plain and simple, is there a way to keep the format and get rid of that?
Example of what im trying to say.
You make a table <tr> <td> put a image in here </td> </tr> <tr> <td> Another image in here </td> </tr> </table>
Well When you look at that You will notice like a 2 pixels space in between those two images because of the given 0px border around it.
So by keeping the same format of having the pictures in different tablerows, is it even possible to get rid of that space?
I woudnt think its possible cause i would think it needs a way to divide the 2 rows, but i wanted to ask and make sure i wasnt mistaken.
|
|
|
Post by Wormopolis on Feb 12, 2010 17:50:52 GMT -8
change cellSpacing to 0
|
|
Topeka
Junior Member
Posts: 94
Topeka said 0 great things
|
Post by Topeka on Feb 12, 2010 19:53:06 GMT -8
it should already be set to 0. Its uh.. here.. ill make a preview. topekatrail.proboards.com/index.cgiYou have a welcome banner then two images, The two images are in the table See the spacing in between the two images?? If i set border="1" then that space will be filled up by a border, But, Is there a way to get rid of it, and keep it in seprate table rows? This is what its set as <table cellspacing="0" border="0"> <tr> <td> <img src="http://i285.photobucket.com/albums/ll47/musicgodguy/brians/Sigs/MiniProfilepiciii.png" /> </td> </tr> <tr> <img src="http://i285.photobucket.com/albums/ll47/musicgodguy/brians/Sigs/Topeka_71.png" /> <td> </td> </tr> </table>
|
|
|
Post by Wormopolis on Feb 12, 2010 20:44:45 GMT -8
<CENTER> <TABLE cellSpacing="0" cellPadding="0" border="0"> <TBODY> <TR> <TD><IMG src="http://i285.photobucket.com/albums/ll47/musicgodguy/brians/Sigs/MiniProfilepiciii.png" /></TD> </TR> <TR> <TD><IMG src="http://i285.photobucket.com/albums/ll47/musicgodguy/brians/Sigs/Topeka_71.png" /></TD></TR></TBODY></TABLE><BR />See the spacing in between the two images??<BR />If i set border="1" then that space will be filled up by a border, But, Is there a way to get rid of it? </CENTER>
|
|
Topeka
Junior Member
Posts: 94
Topeka said 0 great things
|
Post by Topeka on Feb 12, 2010 21:09:44 GMT -8
No, theres still that like 2px space i was talking about. I know the cellpadding and cell spacing and all of that, but theres 1 px on each side of the table/td that will always be there. Its normally where the border will go, But i didnt know if there was a way to get rid of that small 2 px space between the rows./columns
|
|
|
Post by Wormopolis on Feb 12, 2010 23:42:03 GMT -8
recopy. it is showing some sort of whitespace text after the first pic
|
|
Topeka
Junior Member
Posts: 94
Topeka said 0 great things
|
Post by Topeka on Feb 13, 2010 10:07:04 GMT -8
nice it worked. so i just gota make sure i dont [space] or [enter] inside the <td></td> for that to go away. huh. over thought this completely. -.- hate it when i do that. lol.
Thanks.
|
|