Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about table spacing

Status
Not open for further replies.

mhamilton3

Programmer
Oct 31, 2001
129
Hello,
I have set up an HTML page using tables. The images in one row do not sit directly on top of the images in the subsequent rows. I'm not sure how to set the space between rows to 0. It sounds simple, but I can not figure it out. Any suggestions?
 
<table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
You may need to set your hspace and vspace attributes on the images, too...

Code:
<img src=&quot;/imgs/pic.jpg&quot; width=&quot;10&quot; height=&quot;10&quot; hspace=&quot;0&quot; vspace=&quot;0&quot;>

 
Thank you very much, that answered my question that I asked about left to right image not reaching the border, but I'm embarrassed to admit that the image has a slight white space on the top so that was causing my excess space on the top. Anyway problem solved, thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top