Click to See Complete Forum and Search --> : Giving link to images?


Viki
10-02-2004, 04:13 AM
Hi,
I have given link to an image [pic2.bmp]. Link is working fine, but the image boundry is coming in purple color? Whereas I do notw ant any color to omage boundy. Here is code:


<html>

<head>

<style type="text/css">

-->

#table1{

background-color: white;
position: absolute;
left: 0px;
top: 0px;
width: 1210;
height: 110px;
}


#pic1 img{

position: absolute;
width: 400;
left: 700px;
top:5px;
height: 79px;

}




#pic2 {

position: absolute;
left:5px;
top:89px;

}




-->
</style>




</head>

<body>


<div id="table1">
<table>

<td>
<div id ="pic1">
<img src="pic1.bmp">
</div>
</td>



<td>
<div id = "pic2">
<a href="http://www.yahoo.com" target ="main"><img src="pic2.bmp" height="45px" width="100px"></a>
</div>
</td>


</table>
</div>

</body>

</html>

pawky
10-02-2004, 04:51 AM
in your style add:


#pic2 img {
border: 0;
}

Viki
10-02-2004, 05:52 AM
Hi,
Thanks buddy!!! Now when mouse cursor comes on pic, It should show some text. How to do this?

Bye,
Viki.

JavaHead Jonnie
10-02-2004, 06:18 AM
<img src="pic2.bmp" height="45px" width="100px" alt="Some Text" title="Some Text">

Viki
10-02-2004, 06:31 AM
Hi,

Yes, it's working. Can you also help me in Adding effects to button (http://www.webdeveloper.com/forum/showthread.php?s=&threadid=45707) ?


Bye,
Viki.

dr john
10-02-2004, 11:42 AM
Originally posted by Viki
Hi,
I have given link to an image [pic2.bmp]. Link is working fine, but the image boundry is coming in purple color? Whereas I do notw ant any color to omage boundy. Here is code:


You've got showing a bmp in a browser??

Browsers only display jpg, gif and png. How did you get this to happen? Have you uploaded this page yet so we can see this happening.

David Harrison
10-02-2004, 01:47 PM
Originally posted by dr john
Browsers only display jpg, gif and png.Where did you get this idea?

Viki - What "effects" do you want to add?