Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2007
    Posts
    88
    Tokens
    0

    Default Lil CSS help please

    Right this isn't working at all.
    Well it partly works in IE, but everywhere is aink colours and the nav should be black. It worked on my old site but I merged some together.
    Code:
    #nav a:link, a:visted, a:active { color: #000000; text-decoration: none; outline: none; }
    	   #nav a:hover { color: #000000; text-decoration: underline; outline: none; }
    	   a:link, a:active, a:visted { color: #B4AC7E; text-decoration: none; outline: none; }
    	   a:hover { color: #B4AC7E; text-decoration: underline; outline: none; }
    Anyone know what's up?
    Do do do

  2. #2
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Code:
    #nav a:link
    {
    	color: #000000;
    	text-decoration:
    	none; outline: none;
    }
    #nav a:visited
    {
    	color: #000000;
    	text-decoration:
    	none; outline: none;
    }
    #nav a:active
    {
    	color: #000000;
    	text-decoration:
    	none; outline: none;
    }
    #nav a:hover
    {
    	color: #000000;
    	text-decoration: underline;
    	outline: none;
    }
    a:link
    {
    	color: #B4AC7E;
    	text-decoration: none;
    	outline: none;
    }
    a:active
    {
    	color: #B4AC7E;
    	text-decoration: none;
    	outline: none;
    }
    a:visited
    {
    	color: #B4AC7E;
    	text-decoration: none;
    	outline: none;
    }
    a:hover
    {
    	color: #B4AC7E;
    	text-decoration: underline;
    	outline: none;
    }
    thats a very long winded way of doing it but it will work
    Lets set the stage on fire, and hollywood will be jealous.

  3. #3
    Join Date
    Nov 2007
    Posts
    88
    Tokens
    0

    Default

    ta, thought you could group them but obv not.
    and i found out i needed to put header not nav, silly me:rolleyes:
    Do do do

  4. #4

    Default

    You can,

    Code:
    #nav a
    {
      color: #000;
      outline: none;
      text-decoration: none;
    }
    
    #nav a:hover
    {
      color: #000;
      text-decoration: underline;
    }
    
    a
    {
      outline: none;
      color: #b4ac7e;
      text-decoration: none;
    }
    
    a:hover
    {
      text-decoration: underline;
    }

    You can even cut it down more by doing this
    Code:
    a
    {
      color: #b4ac7e;
      outline: none;
      text-decoration: none;
    }
    
    a:hover
    {
      text-decoration: underline;
    }
    
    #nav a, #nav a:hover
    {
      color: #000;
    }

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

    Latest Awards:

    Default

    Lol. Your code is wrong

    Tom's code will do

  6. #6

    Default

    If that's in reference to my post - you're wrong actually mine does the exactly the same

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

    Latest Awards:

    Default

    why do you have 2 accounts?

  8. #8

    Default

    I don't, what are you talking about?

Posting Permissions

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