nevalite
12-31-2005, 03:37 PM
Hey,
The site I am making I want a navigation bar with links like home, gallery etc. I made it with slices in photoshop but when i put it into the html code (using tables) it leaves spaces between each slice and then it doesnt all fit in the right area.
heres the code:
<table width="810" cellpadding="0" cellspacing="0" border="0" align="center" bgcolor="white">
<tr>
<td height="40" colspan="2">
<a href="index.html"><img border="0" src="images/nav-bar/nav-bar_01.gif" alt="Home" height="40"></a>
<a href="projects.html"><img border="0" src="images/nav-bar/nav-bar_02.gif" alt="Projects" height="40"></a>
<a href="forum.html"><img border="0" src="images/nav-bar/nav-bar_03.gif" alt="Forums" height="40"></a>
<a href="gallery.html"><img border="0" src="images/nav-bar/nav-bar_04.gif" alt="Gallery" height="40"></a>
<img border="0" src="images/nav-bar/nav-bar_05.gif" alt="navbar" height="40">
</td>
</tr>
</table>
Thats the code for the nav bar but how can i get all the images to stick right to each other?
The site I am making I want a navigation bar with links like home, gallery etc. I made it with slices in photoshop but when i put it into the html code (using tables) it leaves spaces between each slice and then it doesnt all fit in the right area.
heres the code:
<table width="810" cellpadding="0" cellspacing="0" border="0" align="center" bgcolor="white">
<tr>
<td height="40" colspan="2">
<a href="index.html"><img border="0" src="images/nav-bar/nav-bar_01.gif" alt="Home" height="40"></a>
<a href="projects.html"><img border="0" src="images/nav-bar/nav-bar_02.gif" alt="Projects" height="40"></a>
<a href="forum.html"><img border="0" src="images/nav-bar/nav-bar_03.gif" alt="Forums" height="40"></a>
<a href="gallery.html"><img border="0" src="images/nav-bar/nav-bar_04.gif" alt="Gallery" height="40"></a>
<img border="0" src="images/nav-bar/nav-bar_05.gif" alt="navbar" height="40">
</td>
</tr>
</table>
Thats the code for the nav bar but how can i get all the images to stick right to each other?