SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2004
    Location
    spokane, wa
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    image swap problesm

    i'm doing an image swap but for some reason in ie it is showing up with a blue box around the image?

    do you know what causes this and how to fix it?

    <a href="main.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','homelink1.jpg',1)"><img src="homelink.jpg" border="0" name="home" width="90" height="16" align="absmiddle"></A>

    heres what i'm using...

    so confused..

  2. #2
    SitePoint Evangelist
    Join Date
    Sep 2003
    Location
    San Diego, CA
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    in your a tag, try adding style="text-decoration:none"

  3. #3
    SitePoint Wizard silver trophy
    Join Date
    May 2003
    Posts
    1,843
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's for underlines. 'border=0' should do it...not sure what the problem might be. Try:
    Code:
    <head>
    .........
    .........
    <style type="text/css">
    
    img {
         border-width: 0;
        }
    
    </style>
    .........
    .........
    </head>
    ::: certified wild guess :::

  4. #4
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    This CSS should work:
    Code:
    a img {
      border: none;
    }

  5. #5
    SitePoint Evangelist
    Join Date
    Sep 2003
    Location
    San Diego, CA
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O ya, oops! I forgot! That's what I mean!

  6. #6
    SitePoint Enthusiast
    Join Date
    Feb 2004
    Location
    spokane, wa
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks you guys! that worked!

    ha, we should all form a co-alition to rid the world of internet explorer and be done with this crap..


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
  •