DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    sheila Guest

    make the box around image go away


    In IE when you use an image as a link it leaves an annoying box around the
    image (not a border) after you click it. I know I saw a script somewhere
    before to get rid of this nuisance, but I can't find it! Can anyone help??
    Please email me at staylor@reasoninc.com. Thanks so much for your help
    - it is appreciated!

  2. #2
    sheila Guest

    Re: make the box around image go away


    After 5 hours of searching scripts, I found the solution...thanks anyway!
    If you want the solution, please let me know and I will send it to you!

    "sheila" <staylor@reasoninc.com> wrote:
    >
    >In IE when you use an image as a link it leaves an annoying box around the
    >image (not a border) after you click it. I know I saw a script somewhere
    >before to get rid of this nuisance, but I can't find it! Can anyone help??
    > Please email me at staylor@reasoninc.com. Thanks so much for your help
    >- it is appreciated!



  3. #3
    Russell Jones Guest

    Re: make the box around image go away

    Sheila:

    Please post the solution for others following this discussion.

    Thanks,
    Russell Jones
    Sr. Web Development Editor
    DevX.com

    "sheila" <staylor@reasoninc.com> wrote in message
    news:3ac0f77a$1@news.devx.com...
    >
    > After 5 hours of searching scripts, I found the solution...thanks anyway!
    > If you want the solution, please let me know and I will send it to you!
    >
    > "sheila" <staylor@reasoninc.com> wrote:
    > >
    > >In IE when you use an image as a link it leaves an annoying box around

    the
    > >image (not a border) after you click it. I know I saw a script somewhere
    > >before to get rid of this nuisance, but I can't find it! Can anyone

    help??
    > > Please email me at staylor@reasoninc.com. Thanks so much for your help
    > >- it is appreciated!

    >




  4. #4
    Matt Guest

    Re: make the box around image go away


    All you need to do to get rid of the box is add: border="0" inside your img
    tag.

    Matt
    remove NOSPAM from my email address to contact me.
    ----------------------------------------------------
    "sheila" <staylor@reasoninc.com> wrote:
    >
    >In IE when you use an image as a link it leaves an annoying box around the
    >image (not a border) after you click it. I know I saw a script somewhere
    >before to get rid of this nuisance, but I can't find it! Can anyone help??
    > Please email me at staylor@reasoninc.com. Thanks so much for your help
    >- it is appreciated!



  5. #5
    Anitha Guest

    Re: make the box around image go away


    Even I was looking for the same solution.Could you please post it .Thanks

    "sheila" <staylor@reasoninc.com> wrote:
    >
    >After 5 hours of searching scripts, I found the solution...thanks anyway!
    > If you want the solution, please let me know and I will send it to you!
    >
    >"sheila" <staylor@reasoninc.com> wrote:
    >>
    >>In IE when you use an image as a link it leaves an annoying box around

    the
    >>image (not a border) after you click it. I know I saw a script somewhere
    >>before to get rid of this nuisance, but I can't find it! Can anyone help??
    >> Please email me at staylor@reasoninc.com. Thanks so much for your help
    >>- it is appreciated!

    >



  6. #6
    Constance Petersen Guest

    Re: make the box around image go away

    Hi Anitha,

    "Anitha" <AnithaBalaji@yahoo.com> wrote in message
    news:3adc6812$2@news.devx.com...
    > Even I was looking for the same solution.Could you please post it .Thanks


    No script needed... Just set the image border to 0. For example:

    <a href="../index.htm"><img border="0" src="images/cc_home.gif" width="60"
    height="26" alt="Home Page"></a>

    Constance Petersen
    --
    SoftMedia Artisans, Inc.
    http://www.smartisans.com
    Visual Basic.NET Internet Black Book
    ISBN: 1-58880-078-4



  7. #7
    Sheila Guest

    Re: make the box around image go away


    That wasn't the problem...it isnt' the border because of a link...if you look
    at the next response to the problem, I have included the script there. It
    works GREAT!

    "Constance Petersen" <constance@smartisans.com> wrote:
    >Hi Anitha,
    >
    >"Anitha" <AnithaBalaji@yahoo.com> wrote in message
    >news:3adc6812$2@news.devx.com...
    >> Even I was looking for the same solution.Could you please post it .Thanks

    >
    >No script needed... Just set the image border to 0. For example:
    >
    ><a href="../index.htm"><img border="0" src="images/cc_home.gif" width="60"
    >height="26" alt="Home Page"></a>
    >
    >Constance Petersen
    >--
    >SoftMedia Artisans, Inc.
    >http://www.smartisans.com
    >Visual Basic.NET Internet Black Book
    >ISBN: 1-58880-078-4
    >
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links