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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

color changes inbetween image buttons 2

Status
Not open for further replies.

user2

Technical User
Aug 10, 2001
70
US
I made my own buttons as gifs. Once I put them one after another, as img tags, they show color changes inbetween as I press the butttons on web page.
If I put the images separately in a table tds they do not show any color lines inbetween.
What should I do to get rid of those lines inbetween ,if I put the butttons all together with the br tags, one after another as gifs.
Thanks for your help in advance!
 
I put border=0 does not seem to help. They are not in one img tag either. Is it that the browser is using its own css?

<body bgcolor=&quot;#9fc6ff&quot;>


<br>
<br>
<br>
<br>
<br>
<br>
<table bgcolor=&quot;#9fc6ff&quot; border=&quot;0&quot;>
<tr>
<td border=&quot;0&quot;>
<a href=&quot;main.html&quot; target=&quot;main&quot;><img src=&quot;home.gif&quot;></a>
</td>
</tr>
<tr>
<td>
<a href=&quot;about ust.html&quot; target=&quot;main&quot;><img src=&quot;aboutus1.gif&quot;></a>
</td>
</tr>
<tr>
<td>
<a href=&quot;staff12.html&quot; target=&quot;main&quot;><img src=&quot;staff1.gif&quot;></a>
</td>
</tr>
<tr>
<td>
<a href=&quot;projects.html&quot; target=&quot;main&quot;><img src=&quot;projects.gif&quot;></a>
</td>
</tr>
<tr>
<td>
<a href=&quot;hostedlast.html&quot; target=&quot;main&quot;><img src=&quot;hosted1.gif&quot;></a>
</td>
</tr>
<tr>
<td>
<a href=&quot;donate.html&quot; target=&quot;main&quot;><img src=&quot;donate.gif&quot;></a>
</td>
</tr>
<tr>
<td>
<a href=&quot;computers.html&quot; target=&quot;main&quot;><img src=&quot;computers.gif&quot;></a>
</td>
</tr>
<tr>
<td>
<a href=&quot;contact ust.html&quot; target=&quot;main&quot;><img src=&quot;contactus.gif&quot;></a>
</td>
</tr>
</table>
 
Sorry guys! I guess I forgot to put border 0 for the img tag. It seems to work.
Thanks a bunch
 
Hi mate,

The problem is the border, border=&quot;0&quot; removes the problem.

Just to confirm this, add the following to your BODY tag.

link=&quot;#9fc6ff&quot; vlink=&quot;#9fc6ff&quot;

The border shows the same as links, asin the same colours for visited, unvisited etc. Adding the above code sets the colours of the links to the same as the background which hides the borders.

Just add border=&quot;0&quot; to each image tag and it will work.

Hope this helps Wullie

sales@freshlookdesign.co.uk

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top