Results 1 to 3 of 3
  1. #1

    Default big blue box around image links

    it makes me sick.

    Okay. This is my CSS code for the link i'm talking about:
    Code:
    #menu{
    }
    #menu ul{
    margin:0px;
    padding:0px;
    list-style:none;
    }
    #menu li.home a{width:119px;height:125px;float:left; margin:60px 0 0 0;}
    #menu li.home_current a{width:119px;height:125px;float:left; margin:60px 0 0 0; no-repeat left ;background-position:0px 68px;}
    #menu li.home a:hover{width:80px;height:99px;background:url(images/arrow.gif) no-repeat left ;background-position:0px 68px;}
    and this is my code for the link in index.html

    Code:
    <li class="home_current"><a href="index.html">
            <img src="img/home.gif" /></a></li>
    and this is my output:



    Does anyone know what I have the great big box around the image?

    Its the same in IE and FireFox

    Thanks!

  2. #2
    Join Date
    Jul 2008
    Location
    Leeds, UK
    Posts
    47
    Tokens
    0

    Default

    HTML Code:
    <li class="home_current"><a href="index.html">
            <img src="img/home.gif" border="0" /></a></li>
    There ya go

  3. #3

    Default

    Thanks ;}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •