|
|

|
|
Rules marked with a * are rules made by TNT.
Note, if you don't know the basics of CSS, you will not be able to understand the following!
This is the base code that we're going to use. :) Of course, you will be putting this in style tags, yes?
Base Code:
|
#header, #footer { display:none;} #main { border:0px; background:none;} body { background-image: url(); background-color: #FFF; background-repeat: repeat; font:11px Tahoma; color:#000; line-height:13px; } |
Now that you have that, I'll explain it some.
|
Below is a chart of important ids/classes, meanings, and usages
| Name | Meaning | Usages |
| .contentModule | one of the outside borders of each module | border:none; gets rid of one of the borders around each module |
| .contentModuleContent | - | - |
| .contentModuleTable | same | border:none; gets rid of one of the borders around each module background:none; gets rid of the white background |
| #userinfo | the user info table | use absolute, fixed, or relative positioning to move around on page |
| #usercollections | the collections table | use absolute, fixed, or relative positioning to move around on page |
| #usershop | the shop&gallery table | use absolute, fixed, or relative positioning to move around on page |
| #userneopets | the pets table | use absolute, fixed, or relative positioning to move around on page |
| #userneohome | the neohome table | use absolute, fixed, or relative positioning to move around on page |
| #usertrophies | the trophies table | use absolute, fixed, or relative positioning to move around on page |
| .contentModuleHeader | the user info header | edit background, border, font, etc. |
| .contentModuleHeaderAlt | every header EXCEPT the user info header | same |
| #userneopets img | the image in the neopets table | change height, width, border, etc. |
| .content | the text inside the main div | change background, font, font colour, etc. |
| #main | the white box between the top and bottom neopets bars. | change border, background, width, etc. |
| .brand-mamabar,.brand-mamabar-wrapper,.brand-mamabar-list | the Nickelodeon bar at the top | display:none; to remove - you have to use all three selectors |
| #bar | If you remove this, it will get rid of the ad at the top. | Remove with display:none; Make sure to add margin-top:0px; to the #main div if you do, or margin:0px; (if the layout is using absolute positioning. |
Add your own navigation with this:
Try to organize your coding and styling when you make your layout. You have plenty of character space, no worries. :)
Example of GOOD organization:
|
#first_box { position: abolute; top: 25px; left: 52px; width: 420px; height: 250px; overflow: auto; } #bob { font: 51px Georgia; background-color: #545454; } .air { font: 25px Century; border-bottom: 1px solid #FFF; color: #000; display: block; } |
BAD organization:
| #nom{width:23px;height:54px overflow:auto;}#haha{position:fixed;} #eatu {width:980px;top:54px; } |
NEOPETS, characters, logos, names and all related indicia
are trademarks of Neopets, Inc., © 1999-2012.
® 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