Navigate

Other stuff

  • Premade Lookups
  • FAQ
  • Altador Cup Animations
  • Graphic Requests
  • Lost Isle Plot Guide
  • CSS Guide
  • TROTRODS-guide
  • Awards
  • My Lookup
  • My Sideaccount Lookup
  • Affliates

  • NONE. You may apply.
  • Neomail me
  • Link Back

  • News

    July 24, 2007: Okay, I've added alot more the last week. Now have info on divbars and lookups. Far from complete, but it may be some help if you're new to this all.

    July 18, 2007: Created the page.

    I've started to write the more overall things, so, logically not that much yet. More will come shortly.

    And I do NOT claim to know everything about coding, but I hope this guide may help people that need some coding help. I've included both the simplest of codes, and some codes that may come in handy. May add some templates too later. And please, if you find this page helpful, pass it on so other people may get help too.

    Basics

    Let's start with the simplest things.

    1. underlined text
    2. italics text
    3. bold text

    Colour chart

    000000000033 000066000099 0000CC0000FF
    003300003333 0033660033990033CC0033FF
    0066000066330066660066990066CC0066FF
    009900009933 009966009999 0099CC0099FF
    00CC0000CC33 00CC6600CC9900CCCC00CCFF
    00FF0000FF33 00FF6600FF9900FFCC00FFFF
    330000330033330066 3300993300CC 3300FF
    3333003333333333663333993333CC3333FF
    336600 3366333366663366993366CC3366FF
    339900 3399333399663399993399CC3399FF
    33CC00 33CC3333CC66 33CC9933CCCC33CCFF
    33FF0033FF3333FF6633FF9933FFCC33FFFF
    6600006600336600666600996600CC6600FF
    6633006633336633666633996633CC6633FF
    666600666633 666666666699 6666CC6666FF
    669900669933 669966669999 6699CC6699FF
    66CC0066CC33 66CC6666CC99 66CCCC 66CCFF
    66FF00 66FF3366FF66 66FF99 66FFCC 66FFFF
    990000 990033 990066 990099 9900CC 9900FF
    993300 993333 993366 993399 9933CC 9933FF
    996600 996633 996666 996699 9966CC 9966FF
    999900 999933 999966 999999 9999CC 9999FF
    99CC00 99CC33 99CC66 99CC99 99CCCC 99CCFF
    99FF00 99FF33 99FF66 99FF99 99FFCC 99FFFF
    CC0000 CC0033 CC0066 CC0099 CC00CC CC00FF
    CC3300 CC3333 CC3366 CC3399 CC33CC CC33FF
    CC6600 CC6633 CC6666 CC6699 CC66CC CC66FF
    CC9900 CC9933 CC9966 CC9999 CC99CC CC99FF
    CCCC00 CCCC33 CCCC66 CCCC99 CCCCCC CCCCFF
    CCFF00 CCFF33 CCFF66 CCFF99 CCFFCC CCFFFF
    FF0000 FF0033 FF0066 FF0099 FF00CC FF00FF
    FF3300 FF3333 FF3366 FF3399 FF33CC FF33FF
    FF6600 FF6633 FF6666 FF6699 FF66CC FF66FF
    FF9900 FF9933 FF9966 FF9999 FF99CC FF99FF
    FFCC00 FFCC33 FFCC66 FFCC99 FFCCCC FFCCFF
    FFFF00 FFFF33 FFFF66 FFFF99 FFFFCC FFFFFF

    Adding Images

    You may want to put images on your page, like I've done below here. I'll use the URL for this image in my explanations. If you want another image, simply replace my image's URL with another one.

    For everything about the border and extra things, remember to add it inside of the tags.

    You can find images all over the net, or make them yourself. But as many images are copyrighted, my personal suggestion is to make them yourself, or use those that are made by TNT (The Neopets Team.)

    When you've found your image, you have to right-click on it with your mouse. In the table that pops up, choose "properties" at the bottom. In the properties box you will find an area that says "Address: (URL)" and then the URL. Highlight it and copy it. To copy it you can either click ctrl and c, or you can right click on the highlighted text and choose "copy".

    Backgrounds

    First we start with plain colour-backgrounds:

    If you want an image as a background, there are two types of background you could want. I'll use the Chomby-image's URL in the examples.

    1. A tiled one (which repeats itself)
    2. A solid one (which stays put).

    If you choose one that stays put and don't repeat, you probably want a background colour too, at least my example does.

    But that's not all you can do. I've collected some background-based extra things you can add into code number 2 below. :)

    Fonts

    Tables

    There are many things you can use tables for. But to start with, it's a good thing to use if you want so have things in columns, or beside each other, or want things to be separated in two columns. For that you may also use divbars, but we'll get to that later.

    But now you've just made a table. There are many things you can do to the table though. Make it look fancy. Spiffeh. You name it.

    Divbars

    A divbar is a box you put things in. It makes you able to move things around. Handy. The basic code is:
    The best way to use divbars though are between style-tags. Then you have to give them a name. Naming a content-box "content" may be handy to remember what it is, or you can do like me and make pointless strange names. Like "riddlerox", which is one of my most common things in my coding.

    When you name something in style tags you need to start with either # or .
    If you start with # you must use the "div id" to use the box, if you name it . you have use the div class. Here you have something from the lookup I use:

    Both are inside the same style tags. No reason to have a double set. When you write in style tags, you don't use ="something" , but instead you say : and ;

    And everything has to be inside {these} instead of tags.
    Important: ALWAYS remember the px when it's about sizes, or it simply won't work.

    Explanation of the above codes:
    width:706px; - sets the width
    height:757px; - sets the height
    no-repeat; - makes the content not repeat
    border:none; - removes border
    position:absolute; - if I don't use this, it'll follow with the screensize. When I use it everything stays put
    position:relative; or position:fixed; - makes it follow the wideness of the screen
    left:34px; - it will move to 34px from the left edge
    top:240px; - it will move to 204px from the top

    Now lets pass to something interesting. Lets make the divbars fancy.

    Lookups

    Here is the code for the lookup I use on my sideaccount. Go see it here.

    Let's start with how to remove the header and footer.

    The footer is called #footer and the header is called #header in neopet's coding. To remove them, simply start with style tags, and write #header, #footer {display:none;} and end that with a style tag.

    Neopet's names on stuff:

    Stuff that is common to simply remove on userlookups: #bottomban
    #nst
    #tbg
    #m
    #mb
    #n
    #p_on
    #p_off
    .hdr
    .user
    .sf
    Hr

    Other neopets-named stuff on your lookup

    #header – the header
    #footer – the footer
    #main – where everything is
    #content – well, the content
    #usertrophies – your trophies
    #usershop – your shop/gallery
    #userneohome – your neohomes-section

    Things on the bottombar if you want to keep parts of it

    .copyright
    .footerNifty
    #template_nav
    .adbox
    #ban_bottom
    .ad_wrapper_fixed



    NEOPETS, characters, logos, names and all related indicia
    are trademarks of Neopets, Inc., © 1999-2009.
    ® denotes Reg. US Pat. & TM Office. All rights reserved.

    PRIVACY POLICY | Safety Tips | Contact Us | About Us | Press Kit
    Use of this site signifies your acceptance of the Terms and Conditions