Welcome to Gaia! ::

Reply CSS/Graphic/Profile help/resources (With tutorials, FAQs and general tips and hints)
In order?

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

...
...
100%
 100%  [ 3 ]
Total Votes : 3


[Sweet November]

PostPosted: Fri Nov 17, 2006 2:39 pm


User Image
Pika pika!

Do the codes have to be in order to work?
I was messign around with them once and moved them around and then the code didn't work anymore.


User Image

Chuu!
PostPosted: Fri Nov 17, 2006 6:22 pm


The only codes that have a specific order are the link codes, which have to be:

a:link
a:visited
a:hover
a:active

However, if you have something defined twice, the second one will be what's applied. CSS starts at the top and goes down. So, if you had coding like this:


    #about {background-color: #FFFFFF; } /* white background */
    #friends {blahblahblah}
    #about {background-color: #000000; } /* black background */


the black background is what would be applied even if you want the background to be white.

If that's not what's going on, check and make sure you didn't accidentally delete something and that there're no typos. Those are the most common reasons why coding stops working. Chances are, since you were moving stuff around, you probably accidentally deleted something, like a closing bracket.

Ava R.
Crew

3,500 Points
  • Gaian 50
  • Treasure Hunter 100
  • Hygienic 200
Reply
CSS/Graphic/Profile help/resources (With tutorials, FAQs and general tips and hints)

 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum