Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Hyperlink Space

  1. #1
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hyperlink Space

    Hi,

    This is my code

    Code:
    <div id="left"></div>  <div id="right"> <a class='menu' href='' >Home |</a><a class='menu' href='' >Rota |</a><a class='menu' href='' >Rota |</a><a class='menu' href='' >Rota |</a><a class='menu' href='' >Rota |</a> </div>
    Code:
    #left {
     
        float:left;
        width:607px;
        height:164px;
        background-image:url(images/leftheader.png);
    
        
     }
     
    #right { 
        
        margin-left:88px;
        height:164px;
        background-image:url(images/rightheader.png);
    
    
    
     }
    
    a.menu {font-family:Georgia,serif; font-size:25px;  text-decoration: none;  margin-right:500px; top:50px; position:relative;
    text-align: left;}
    a.menu:link {color:white; text-align: left;}
    a.menu:visited {color: white; text-align: left;}
    a.menu:hover {border-bottom:1px solid lightblue; text-decoration: none; text-align: left; }
    a.menu:active {color: white;text-decoration: none; text-align: left;}
    The problem is there is a hugh space between each link. Any reason why

    Thanks

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,930
    Thanks
    6
    Thanked 1,041 Times in 1,014 Posts
    Quote Originally Posted by TheCase View Post
    The problem is there is a hugh space between each link. Any reason why
    Maybe because of the huge right margin of 500px you apply to the anchors in your stylesheet?

  • #3
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oops didnt notice that. That worked 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
    •