Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Border round image

Reply
Thread Tools

Border round image

 
 
Otuatail
Guest
Posts: n/a
 
      08-01-2004
Can anyone tell me a better way of doing this.
I have an image. But when I put it inside an anchor it places a blue border
around it. I thought it was because it was in a table, but I have copied it to
a new blank html page. Here is the short code. I have placed "C" /* and */
around it to prevent any browser interfearing with it.

/*<a onmouseover="document.images[0].src='images/Chapel_LH.jpg';"
onmouseout="document.images[0].src='images/Chapel_L.jpg';"
href="tour_chapel.html">
<img src="images/Chapel_L.jpg">*/


Desmond.

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      08-01-2004
Otuatail wrote:
> I have an image. But when I put it inside an anchor it places a blue
> border around it.


Yes, and text that has an anchor placed around it gets underlined. You can
change the border with the CSS border property.

<http://www.w3.org/TR/CSS2/box.html#border-properties>

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
Karl Groves
Guest
Posts: n/a
 
      08-01-2004

"Otuatail" <> wrote in message
news:...
> Can anyone tell me a better way of doing this.
> I have an image. But when I put it inside an anchor it places a blue

border
> around it.


Please show the common courtesy of searching a group's archives before
asking a question that is asked no less than 3x a week.

-Karl


 
Reply With Quote
 
Sid Ismail
Guest
Posts: n/a
 
      08-01-2004
On 01 Aug 2004 13:08:25 GMT, (Otuatail) wrote:

: Can anyone tell me a better way of doing this.
: I have an image. But when I put it inside an anchor it places a blue border
: around it.


Great - now the user knows it's a link.

Sid

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
So, round and round... 70-682... MSLearning, please read! DaGenester MCITP 2 05-20-2010 04:36 PM
reading file round and round cerr Perl Misc 6 03-20-2010 11:37 AM
VS2005 - Going round and round in circles again :) postings@alexshirley.com ASP .Net 0 06-22-2006 11:26 AM
Float.round - should it be round-to-even OliverMarchand Ruby 2 04-12-2006 12:06 PM
Computer Goes Round and Round Checking Alan Computer Support 6 10-08-2004 08:24 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57