Coding Guides
Coding Help
These Guides go over everything from the basics of HTML, coding layouts, filter solutions, color schemes, and alternate header codes you can use for your layout. You can use the coding guide to teach yourself css, or just to edit premade layouts. You may copy and past any of the codes. Feel free to send me a message if you have any additional coding questions. =)Navigation
|
HTML Codes
-Basics Of HTML -Changing font -Images and Links CSS Codes -Basics of CSS -How to bypass the filters -Backgrounds, Editing font, Editing textareas -Userlookup/Petlookup codes -Properties list |
Advanced
-Divs -Multiple Blog Codes -Headers Other Coding Help -Hexadecimal color chart -Cursors |
Basic Of HTML
HTML stands for Hyper Text Markup Language. All your coding goes between two triangular brackets called tags.To add something to a page, you use an opening tag, which starts the coding, and a closing tag, which tells the coding where to stop. The closing tag looks exactly the same as the opening tag, except with a backslash ( / ) after the first triangular bracket.
General HTML codes
| bold | |
| italicize | |
|
|
|
|
Line Break Line Break |
|
|
New Paragraph New Paragraph |
|
| Centers everything in between the opening and closing tag | |
| Change font style | |
| Change font size | |
| Change font color | |
| Change font style, size, and color at once | |
| Add an image | |
| Resize an image (If you change only the height or only the width, the image will adjust automatically) | |
| Make a link | |
| Link an image (i.e., link back button codes) |
Basics of CSS
CSS stands for Cascading Style Sheets. CSS is used to change the appearance of the entire page. To start your coding, you use an opening tag at the very beginning, and a closing tag at the end. All of your coding goes between the style tags.How to Bypass the filters
Due to Neopet's coding filters, 'position' is no longer allowed inside the style sheets, so in order to position anything on the page, you must use inline coding. All the properties outside of 'position:absolute;' can still be placed inside the style sheet.Basic CSS codes
| Change the background color of the whole page | |
| Add a background image to the whole page | |
|
Change the page's cursor.
Other options: default, crosshair, not-allowed, re-size, help, wait |
|
| Change the font size, style and color of the whole page | |
| Edit the color of the links | |
| Remove the line underneath the links | |
| Edit the color of the links when you hover over them | |
| Change the color of any bold font | |
| Change the color of any italicized font | |
| Edit the textareas |
Userlookup Codes
| Remove the header, footer, and the gray banner above the header. | |
| Hide neomhome box | |
| Hide shop and gallery box | |
| Get rid of the border around the main section | |
| Change the background and width of the main section | |
| Change the font of the whole page | |
| Change all the stats boxes | |
| Code to change all the stats headers | |
| Resize neopet's images |
Properties
This is a complete list of the properties that you can add to your coding, next to each is a description of what it does.| Changes the font style. | |
| Chages the size of the font. | |
|
Changes the weight of the font.
Other options: bold, normal |
|
| Changes the color of the font. | |
|
Changes the alignment of the font.
Other options: left, right, center |
|
|
Makes all the font uppercase/lowercase.
Other options: uppercase, lowercase, capitalize |
|
|
Makes all the font underlined.
Other options: underline, line-through, blink, none |
|
| Changes the amount of space between each letter. | |
| Changes the amount of space between each word. | |
| Changes the amount of space between each line of text. | |
|
Adds a border.
Border can be changed to border-top, border-bottom, border-right, or border-left. Solid can be changed to dotted, dashed, or double. |
|
| Adds a plain color background background. | |
| Adds a background image. | |
|
Keeps the background from scrolling with the page.
Other options: scroll, fixed |
|
|
Makes the background only repeat vertically.
Other options: repeat, no-repeat, repeat-y, repeat-x, |
|
|
Changes whether items will line up next to eachother or stacked on top of each other.
Other options: inline, block |
|
| Changes how much space will be put between items. | |
| Changes how much space there will be between the text and the border. | |
|
Changes how an item is positioned, must be used with top/bottom and left/right codes.
Other options: relative, fixed |
|
|
Changes the amount of space from the top of the page.
(Must be use with position:absolute;) |
|
|
Changes the amount of space from the left side of the page.
(Must be use with position:absolute;) |
|
|
Changes the amount of space from the right side of the page.
(Must be use with position:absolute;) |
|
|
Changes the amount of space from the bottom of the page.
(Must be use with position:absolute;) |
Divs
A div is basically a box where all of your page's content goes. You can give it a background, a width, and position it at a certain point on the page. Unless you're using inline coding, a div requires both css and html to work.Basic div code:
Multiple Blog Codes
If you want to alter the size, make sure the width and height are the same for both #box and #container.Example:
One - Two - Three
Cursors
|
cursor:default;
cursor:crosshair;
cursor:move;
|
cursor:se-resize;
cursor:help;
cursor:wait;
|
|
|
|
|
|
|
|
|
Hexidecimal Color Chart
|
#000000
#222222
#444444
#666666
#888888
#aaaaaa
#cccccc
#ffffff
#110000
#221100
#331100
#551100
#772200
#993300
#aa4411
#cc6633
#ee8855
#ff11bb
|
#ff33bb
#ff55bb
#ff77bb
#ff99bb
#ff1199
#ff3399
#ff5599
#ff7799
#ff9999
#ff1177
#ff3377
#ff5577
#ff7777
#ff9977
#220000
#330000
#550000
#770000
|
#990000
#bb0000
#dd0000
#ff2200
#ff4400
#ff6600
#ff8800
#ffaa00
#ffcc00
#557700
#669900
#99cc00
#aff00
#001100
#003300
#005500
#007700
#009900
|
#00bb00
#00dd00
#44dd33
#77dd55
#99dd66
#000011
#000033
#000055
#000077
#000099
#0000dd
#3333dd
#5555dd
#7777dd
#9999dd
#220044
#330055
#440066
|
#770099
#9933bb
#110011
#220022
#330033
#550055
#770077
#990099
#bb00bb
#bb33bb
#cc55cc
#dd66dd
#ff88ff
#330011
#440022
#550033
#770055
#990077
|