This is my header
This is my text.
I know, I know, why did we move the position:absolute thing? Well, that's because Neopets has some really annoying filters. In normal CSS, it would be in the first code, not the second.
STEP FOUR: INGREDIENTS
Back to the top!
This is just an important tidbit of information. When you use colors, it's always best to use the true HTML colors. That means #FFFF00 means yellow. You can google them to find out more colors in different shades. It's really better than typing "red" as you may not WANT bright red. That and certain browsers can't see RED but they can see #FF3333. And always use a # sign. However, if you're against google, use
this page
STEP FIVE: NAMING THE CHICKEN!
Back to the top!
Here's how you make a big header, like the one that says "How to Code a Petpage" up there. It's just a really big header. Very easy. Perfect for those who don't know graphics.
STEP SIX: HEADERS
Back to the top!
Now that we've decided, cleaned, and found placement for our chicken (or told, removed, and placed our CSS) we're going to START making it. We're going to code a header :D.
Notice the GREEN bars with GREEN letters and GREEN dashes you keep seeing? Those are called headers, and they're cool. People like creative headers. Headers consist of some things I'm going to explain below to save you some "OMG WHUTT?".
background-color: this is where you say what color the backgorund for your header is.
border: You can add a "-bottom" "-left" "-right" "-top" to any of those, changing where your border is. THEN after your colon you say the color and the type. The un-gawdy types are solid, dashed, and dotten (which are all pretty self-explanitory).
font-family: This is how your letters look. Common legible ones are Century Gothic (what I'm using), Arial, and Georgia (like in my headers ^.^).
font-size: This is how big the font is. Notice it's PT instead of PX. Point instead of Pixel.
color: Font color, need I say more?
width: how long does your header continue for. I recommend saying 100% and making it cover the span of the DIV.
line-height: how tall the header is.
text-align: center, left, or right, where is the text going?
STEP SEVEN: DECORATION
Back to the top!
Remember when you were a little person, and you would see green flakes on the chicken and your mom would call it decoration (or at least, mind did) because she didn't want you to know that it was actually some herb/leaf that was tasteless. Well, it made the chicken not look so boring. Well, if I went around typing in black with gray sidebars, blue links, and a white background people would be like "you didn't work very hard" so we're now going to tell the computer that we want different colored things. I'll add the code now for background, sidebar, links, and text.
and as little as I think you'll need this, here's the code to manipulate text boxes (like my white boxes with green borders where all of the code is)
In case you didn't know, here's how you make text bold underline italicand bulleted.
THESE DON'T GO IN STYLE TAGS!
TRANSITION
Back to the top!
Now, who sits down at the table and eats /all/ of their chicken first, then all of the rice, then all of the mashed potatoes? No one. You have a bit of chicken here, then maybe a couple bites of potatoes, then more chicken. Well, in CSS if you want to link to another section on the page, you can use something we call Page Anchors. Do you see where I have "back to the top"? That's a page anchor, and when you click it, you get MORE PAGE ANCHORS that take you places. Here's what you do:
That little bugger goes where you want to have people click to see a different part of your page! In the "WORDHERE" part, put in a code word. That way you know if you're eating rice or potatoes or chicken. Now you have to tell the computer where to take you.
For this, I recommend sticking it right up there in a header, so that your viewer is instantly taken where they want to go. Use this code:
Please note that none of these anchors are in the the "entire code" section! You'll have to do this on your own, and they DO NOT go into style tags.
EAT!
Back to the top!
Now you need to click the 'preview changes' button. You'll notice something, when you go to save changes, the button will be covered up. This is where it gets tricky. If for some unknown reason you have links or text boxes, you need to press 'tab' until you're sure it's tabbed over every link/textbox on the ENTIRE page, then press enter. Good luck!
Credits
Back to the top!
YOU MADE IT! I do now require a credit when you use this guide. Simply writing Tutorial by: Maybememphis will be fine. Only pages that resemble the CSS codes on this page need a credit. Thanks!
CSS made by: Shay (stadium__x) neomail me if you want help or something added.
Some codes from csshelp's petpage. Special thanks to Mickey for getting me started on CSS a last summer, 2007.
Banner
Back to the top!
If you're kind enough, put my ad everywhere:

Assistant Chefs :o
Otherwise known as affies.
Back to the top!







-invalid_words-

