Basic codes include how to make your text bold, how to add an image to your profile, etc. Click Here for More Information
Home About Contact FAQ Guestbook Site Map Links Chat Group
Home Support Previous Updates Site Map Terms of Use Privacy Policy
Updated March 1, 2010
-  Powered by Jspunkette  -


Advanced Codes

To use these codes, copy (Ctrl + C) and paste (Ctrl + V) whatever you want onto your page in whatever category you want it in!

| Using CSS Stylesheets to make life easier! |
| Positioning Divs |

CSS Stylesheets

Stylesheets are amazing things, they're so handy to have! They also do things to your homepages that can make it better. For instance, instead of having your background repeating constantly over your page - you can have it in the center..or on the left hand side, whatever! I hope this guide helps you, if not - please visit the imvustylez group and ask for help.

Example stylesheet:
The things that are underlined and italic on the example stylesheet are things that I will explain after the example. Just sit tight! The example is to show you what can happen.

<style type="text/css">

body {background-color:#E8FF8C;
background-image:url('http://www.fileden.com/files/2006/8/5/155775/zipbckdiv.jpg');
background-position:bottom center;
background-attachment:fixed;
background-repeat:no-repeat; color:#000000;}

img {border:0px;}

a:link, a:visited, a:active {color:#000000;
text-decoration:none;}
a:hover {color:#000000;
text-decoration:underline overline}

</style>

What each of these things mean!

body
This part changes (or defines) what your whole homepage will look like. It defines what your text will look like, what background you'll use, etc.

background-color: if you don't use a picture for your background, or you don't tile your background picture - then this is what color your background will be. Use the colors I taught you in the Basic Codes or the HEX Codes sections.

background-image: the background image that you use. You don't HAVE to use one, but if you do - then change it here. You MUST enter it like this:
background-image:url('enter your image url that you want to use here');

background-attachment: if you use this, then add the word fixed. What it does is if you scroll down on the page, the background will stay put where it is.
background-attachment: fixed;

background-repeat: this is saying if you want your background to repeat, or not. you either put repeat or no-repeat to say it. Choose one of the following:
background-repeat: no-repeat;
background-repeat: repeat;

background-position: this is to position your background. You can position it using these words (top left), (top center), (top right), (center left), (center), (center right), (bottom left), (bottom center), (bottom right). Choose one of the following:
background-position: top left;
background-position: top center;
background-position: top left;
background-position: center left;
background-position: center;
background-position: center right;
background-position: bottom left;
background-position: bottom center;
background-position: bottom right;

img

This changes how you want ALL your images to look. Usually it's best to make all your images not have borders, but it's up to you.

border: This defines whether you want a border around your images or not. Again, I suggest making all your images have no borders.
border:0px;

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

This is how you want ALL your links to look like. This also helps you take out those nasty underlines on your links.

a:link, a:visited, a:active is how your links will look like without your mouse hovering over it.

color: this changes the color of all your links. use the hex code or named colors featured in the Basic codes or HEX codes page.

text-decoration: this changes whether your links will have be underlined, or what-not. Add things like (underline), (overline), (underline overline), (line-through), (none) to it. You can combine if you want.
text-decoration: underline;
text-decoration: overline;
text-decoration: underline overline;
text-decoration: line-through;
text-decoration:none;

a:hover is how your links will look like when you hover your mouse over it. You don't have to use this, but if you want to - here it is.

color: this changes the color of all your links. use the hex code or named colors featured in the Basic codes or HEX codes page.

text-decoration: this changes whether your links will have be underlined, or what-not. Add things like (underline), (overline), (underline overline), (line-through), (none) to it. You can combine if you want.
text-decoration: underline;
text-decoration: overline;
text-decoration: underline overline;
text-decoration: line-through;
text-decoration:none;

Please look at my example if you're confused on how it should look! I had trouble explaining this, I really did. If you think you can explain it better - please let me know! Also, you CAN go to the imvustylez group for help!

| Back to Top |

Positioning Div Boxes

I had explained Div's in the Basic Codes section. I just didn't want to put the whole thing about positioning in there, it's complicated and I didn't want anybody confused unless they wanted to be lol. I'll try to explain this the best way that I can.
Positioning makes anything you want (whether it's images/div's, whatever) in a position you want it to be! I'll explain positioning div's, but it goes for anything.
Anyway, positioning works differently in different browsers. I use Firefox. But people who use Internet Explorer will see things maybe alittle differently. I'm just warning you *smile*
Please tell me I haven't confused you yet. If I have, you can contact me. I'll try to take you step-by-step in regarding your confusion.
Alright, so positioning. It's all about experimentation really. You just keep checking until it's right.
Anyway, here's an example code so you can see HOW to do it.

<div style="border:1px solid; border-color:#000000; width:100px; height:100px; overflow:auto; position:absolute; left:0px; top:0px;> Your Content </div>

See position:absolute; left:0px; top:0px; in the code? That's positioning right there. You need to put position:absolute; first, and then put in left:0px; top:0px; The left part means, whatever pixels farther from the left. For example, 10px is closer to the left than 100px. This goes for the top as well.

Alright, so anyway - this was hard to explain (just like the css). I hope I did okay in explaining, if not - I'm always ready for questions. I have my bottle of tylenol ready, so go ahead - ask away!

| Back to Top |