Click here to Skip to main content
13,291,084 members (57,987 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


Posted 7 Mar 2011

Remove blue border when image is inside the hyperlink

, 8 Mar 2011
Rate this:
Please Sign up or sign in to vote.


If one would want to restrict the no-border CSS rule only to certain images inside any anchor tags, it is advised to use a class CSS selector rule:

CSS Code

<style type="text/css">
    a img.noborder
        border: none;


Using that in your HTML would look like this:
<a href=""><img src="Bobette.gif" alt="No border to see here!" class="noborder" /></a>


The same way that E#XYZ can be used to select any HTML element E with its attribute id set to XYZ the . can be used in E.XYZ to select any element E where its attribute class set to XYZ.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Manfred Rudolf Bihy
Software Developer (Senior) Atos Origin
Germany Germany
While teaching myself BASIC and assembler on a Commodore 64 in the early 80's I got seriously infected by a tough kind of programming virus. The disease turned chronic and has since then been diagonsed as incurable. So I thought I'd put my affliction to good use and studied computer science which, after some trial and error, finally fetched me a degree.

This is some of the ground I've covered over the last 20 years:

  • Database design & programming
  • Application programming
  • Systems programming
  • Web applications
  • Multimedia/HTPC platform development
  • eCommerce software platform
  • Design & development of FAST based search solutions

I will not engage in listing all the languages, frameworks and tools I've worked with. The list would be too long, most probably mainly meaningless and judging by what has been accumulated just over the last 2 years surely incomplete too.

There are of course some languages that deserve to be mentioned as they played a vital role in me becoming what I am now.

  • Assembler (6502)
  • C
  • Scheme (Lisp dialect)
  • Java
  • C#

The last four years were spent designing and programming FAST based search solutions using FAST Enterprise Search Platform 5.1 & 5.3. Since MS has already announced that FAST ESP will not be further developed and will die by 2017/2018, we are now looking into other technologies like Lucene/Solr, Sinequa and FAST Sharepoint Search.

You may also be interested in...

Comments and Discussions

Generalgood finding...Excellent. my vote of 5 Pin
Sunasara Imdadhusen19-Aug-11 19:29
memberSunasara Imdadhusen19-Aug-11 19:29 
GeneralReason for my vote of 5 Good points Manfred Pin
Espen Harlinn14-Mar-11 23:41
mvpEspen Harlinn14-Mar-11 23:41 
GeneralRe: Thanks Espen! Pin
Manfred R. Bihy14-Mar-11 23:53
mvpManfred R. Bihy14-Mar-11 23:53 
General@Deeksha: Thanks for fixing my typo and yes, the examples in... Pin
Manfred R. Bihy8-Mar-11 23:07
mvpManfred R. Bihy8-Mar-11 23:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171207.1 | Last Updated 9 Mar 2011
Article Copyright 2011 by Manfred Rudolf Bihy
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid