Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Make the background of the nav just that image all the way across.

    Then a normal link will have no background assigned to it, but on hover shows another background, therefore only highlighting that one link.


  2. #12
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    I don't understand. Can you give me code? Or is it something like.
    nav a {
    background-image: url(images/image.png);
    width: 100%;
    height: 44px;
    }
    nav a:hover {
    background-image: url(images/image_hover.png);
    width: somepx;
    height: 44px;
    }
    <div class="nav">
    <a href="#">Link</a>
    <a href="#">Link</a>
    <a href="#">Link</a>
    </div>

  3. #13
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    I mean like this:

    Code:
    #nav {
    width: 100%;
    height: duno px;
    margin: duno;
    padding: duno;
    background: url("folder/yourimage.ext") repeat-x;
    }
    
    #nav a {
    height: /* same as nav bar */
    margin: duno;
    padding: duno;
    /* no background */
    }
    
    #nav a:hover {
    height: /* same as nav bar */
    margin: duno;
    padding: duno;
    background: url("folder/yourimage.ext") repeat-x;
    }
    If that makes sense? Cos it only changes the background of each link upon hover.


  4. #14
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    Thanks. I'm on my laptop right now, so I'll try that when I'm on my PC

  5. #15
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    Quote Originally Posted by L?KE View Post
    I mean like this:

    Code:
    #nav {
    width: 100%;
    height: duno px;
    margin: duno;
    padding: duno;
    background: url("folder/yourimage.ext") repeat-x;
    }
     
    #nav a {
    height: /* same as nav bar */
    margin: duno;
    padding: duno;
    /* no background */
    }
     
    #nav a:hover {
    height: /* same as nav bar */
    margin: duno;
    padding: duno;
    background: url("folder/yourimage.ext") repeat-x;
    }
    If that makes sense? Cos it only changes the background of each link upon hover.
    That works
    I love you
    Not rly. but thanks
    Gahh. How do i make like 6 spaces between every link?
    I can't press the space button on DW :S

    And, how to I make the links white? :S They're blue

  6. #16
    Join Date
    Dec 2006
    Posts
    3,369
    Tokens
    0

    Latest Awards:

    Default

    Try a_color=

    in CSS.
    PM me for help.



  7. #17
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    Already fixed it
    How do i remove the Underline of links now?
    And when i press the link, a border of dots comes around it. How do i remove that?

    EDIT:
    Fixed everything except from the dot border.
    Last edited by Meti; 10-09-2008 at 05:35 PM.

  8. #18
    Join Date
    Dec 2006
    Posts
    3,369
    Tokens
    0

    Latest Awards:

    Default

    Border-style; None?

    If not, then your code is goosed, and you need to look for what's causing the prob.
    PM me for help.



  9. #19
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Yeah coldplay's got it.

    Also if you haven't solved the 6 spaces, either do

    6x "&nbsp;" (silly way)
    or do:
    Code:
    a {
    /* whatever you other code is here */
    margin-right: 10px;
    }
    Obviously, 10px can be anything.


  10. #20
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    thanks again

Page 2 of 2 FirstFirst 12

Posting Permissions

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