border problem around hyperlinked image

Posted on 2003-03-13
Medium Priority
Last Modified: 2010-04-09
I am using a counter provided by one of the sites. All that i need to do is, copy a little javascipt code that is within <script> and </script> and paste it in my html page. When my page loads it shows the counter. However, the counter which is an image has a blue border. Now since the javascipt code is executed on the server of the counter providing site, i cannot set the value of "border=0" in the href tag. Is their anyway, wherein i could remove the blue border. I tried CSS, with text-deoration set to none, but nothing happened.
Question by:sunil_nair
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 8133655
Could you mind to post your javascript here?

Besides it,
>set the value of "border=0" in the href tag

You should add "border=0" in the img tag, not href tag.

LVL 17

Accepted Solution

dorward earned 200 total points
ID: 8134802
<style type="text/css">
img { border-style: none; }

Author Comment

ID: 8137115
Doward , thanks a lot for the help, It was as simple as that.

Author Comment

ID: 8137276
absolutely right.

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question