473,320 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Blue outline around image links

hi

i have made a few image links and i now have a blue outline around the image links and it's kinda annoying can someone please help me get rid of them.

thanks in advance

ashraf
Mar 16 '08 #1
7 2564
hi

i have made a few image links and i now have a blue outline around the image links and it's kinda annoying can someone please help me get rid of them.

thanks in advance

ashraf
[HTML]<a href="http://www.yourlink.com/">
<img src="/yourimage.jpg" style="border-style: none"/>
</a>[/HTML]
or to remove the border for all images

Expand|Select|Wrap|Line Numbers
  1. img {  border-style: none; }
Mar 17 '08 #2
TheServant
1,168 Expert 1GB
Or even:
Expand|Select|Wrap|Line Numbers
  1. img {  border: none; }
which sets all border properties to none. This is assuming you know CSS, otherwise you will need to learn a bit of CSS.
Mar 17 '08 #3
harshmaul
490 Expert 256MB
OR yet another solution......


Expand|Select|Wrap|Line Numbers
  1. <a href="http://www.yourlink.com/">
  2. <img src="/yourimage.jpg" class="BorderlessImg"/>
  3. </a>
and in the css

Expand|Select|Wrap|Line Numbers
  1. .BorderlessImg {  border-style: none; }
so you can select the imgs with no border
Mar 17 '08 #4
thanks. much appreciated guys.

ashraf
Mar 17 '08 #5
Death Slaught
1,137 1GB
Whether this is valid or not I have no idea, but you could also use:

Expand|Select|Wrap|Line Numbers
  1. img {
  2.   border:0;
  3. }
Thanks, Death
Mar 17 '08 #6
harshmaul
490 Expert 256MB
talk about "more than one way to skin a cat"!!!
Mar 19 '08 #7
Death Slaught
1,137 1GB
OMG! Why would skin a poor little kitty!?!?!
Mar 20 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Doors of Perception | last post by:
As you probably know, when you click on a link in MSIE and go to a page, then when you click the "back" button, you see a dotted box outlining the link on which I just clicked. As far as I'm...
9
by: Karl Burrows | last post by:
I am working on a Website for a non-profit group and for some reason I have one link that doesn't want to cooperate. All the image links work fine with the onmouseover and onmouseout script except...
3
by: Sheellah | last post by:
Can someone please tell me why I get a black outline around a gif animation when I try to insert it into an AOL e-mail. How can I fix it? Thanks!
3
by: Charlie | last post by:
Hi: When you click image button in Firefox, a thin, gray dotted line appears around image. Is there a way to get rid of this? Thanks, Charlie
7
by: fredo | last post by:
I've studied Eric Meyer's pure css popups, version two: http://meyerweb.com/eric/css/edge/popups/demo2.html which pops up an image when I roll over a text link. Now I want to pop up a large...
2
by: Joel Byrd | last post by:
I want to get a red outline around different divs on a page when I hover the mouse over them, and then have the red outline disappear on mouse out (basically to indicate that various elements on...
6
by: marckatsambis | last post by:
Hi, Apologies in advance if this seems long winded and confusing... I'm trying to make a javascript drop down menu work around multiple iframes. The initial page...
0
by: 1001 Webs | last post by:
As I read at: http://webpages.charter.net/edreamleo/front.html Leo is... * A general data management environment. Leo shows user-created relationships among any kind of data: computer...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.