FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Problems with my coding... again





Mark999111
hey

Well starting V2 of my site and my first problem. Im using images as link instead of normal text links but everytime i set the image as a lin, a blue box appears around the image? Isit like the default setting or what cause it ruins the entire look and i need to get rid of the little box.

Also, i want it so that when the cursor hovers over the image, the image changes to another image, using html! I thought you could use the onmouseover tag but ive had problems, any ideas without using css?

Heres my code:

Code:
<html>
<head>
<title>Test</title>
<style type="text/css">
body {background-color:black}
body {font-family: arial}
body {font-weight: bold}
</style>
</head>

<body>

<table width="965" height="108" bgcolor="#FFFFFF" align="left">
  <tr>
    <td height="102">
<p><img src="../images2/banner.jpg"></p></td>
</tr>
</table>
<br><br><br><br><br><br>

<table width="100"  height="50" bgcolor="#000000" border="0">
<tr>
    <td>
   <img src="../images2/navtop.jpg">
   <a href="index.html"><img src="../images2/home.jpg"></a>
   <img src="../images2/video.jpg">
    <img src="../images2/game.jpg">
   <img src="../images2/navbottom.jpg"> </td>
</tr>
</table>





</body>
</html>


heres a screenshot of what it looks like imcase anyones confused:



Thanks
Bondings
Use border=0 to get rid of the blue border.

For the image, maybe use a div with a background image changing when your mouse moves over the image.
Mark999111
can you post the code for me to do that please Smile ??

Would me much appreciated as i cant get it to work at all
Bondings
Maybe something like this? (I didn't test it though)
Code:
div.image1 {background: url(image1a.gif) no-repeat top}
div.image1:hover {background: url(image1b.gif) no-repeat top}
...
<img src="../images2/banner.jpg" border="0">
...
<div class="image1">
</div>
Mark999111
mmm i didnt really get it

I was thinking more of the onmouseover tage and that, how could i use that? Ive seen it being used on other sites for the same purpose
Related topics
How to burn CLONEs
Looking for a portable mp3 palyer.
EMPIRES NEW GIMP STORE!!!
I can't add an offsite avatar?
Windows XP vs Mac OS X
Are you a Plato or a Poe?
do you have a blog?
give some ideas for partition scheme ~ please Close~
8 teens charged in videotaped attack
Should marijuana be legal?
O My, my php forum cannot be installed
programming Language to learn
How about swine flu in your country?
Recent change or trend in the site-making world?
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.