|
|
Home | Forum | Arcade
| View previous topic :: View next topic |
| Author |
Message |
Christine SUPER STAR

Joined: 22 Nov 2005 Posts: 3881 Good Posts: +5
17923.50 Cash Location: The Lost Red Stress Ball
|
Posted: Tue Jun 06, 2006 6:54 pm Post subject: How to use CSS in your coding |
|
|
There are many types of CSS... most for websites..Usually, I just use CSS Font. This tut is here for those who want to know more about CSS or use it.
Here's an examples of the code used that is in CSS. Feel free to copy the whole code, but if you want to modify the colour, go HERE to see the list of colours you can use. No capital letters are needed and no spaces. If yoo don't want to use those colours, use hex codes. A list of hex codes is available HERE.
You may also change the font-family - but remember, no spaces or capitals. But if it doesn't work without capitals\spaces, try adding them in. If you're using a custom font (that you downloaded) then find the place you got it from and put it up for download or link the page to your blog.
| Code: |
<style type="text/css">body h4 { color: cornflowerblue; font-family: sans-serif; font-size: 120% }
</style>
|
The code above changes the font size, colour and family. With this code, for nicksplat blogs you can add the code anywhere but instead of putting <font> when you want to type things, put <h4>. I'm not sure about websites and Blogger blogs, but this CSS code should work this way too. This is to make it easier for you guys - in the real CSS you have to put the code into the <head> tags, but most blogs like Blogger don't allow you to change the <head> tag, thus the change... oh, yes, one code works for 1 page (provided you use <h4> instead of <font> - please check your page)
For the live preview of these CSS properties, please visit my blog at nicksplat. My nickname's puppyfreakz. =] Please tell me if there's anything wrong with your blog after putting the code in, or if the code doesn't work.
Hope this helps, guys. =] _________________
_________________
♥-- She’s going out to forget they were together
♥-- All that time he was taking her for granted.
♥-- She wants to see if there’s more than he gave. |
|
| Back to top |
|
 |
S! GOLDEN STAR

Joined: 21 Mar 2006 Posts: 9703 Good Posts: +12
41834.50 Cash Location: bikini bottom.
|
|
| Back to top |
|
 |
[pinchmee]kat[: ALL STAR MEMBER

Joined: 29 Mar 2006 Posts: 2591 Good Posts: +6
12541.00 Cash Location: Narnia . :D
|
Posted: Fri Nov 03, 2006 3:57 pm Post subject: |
|
|
thanks too chrissy u helped me soo much _________________
|
|
| Back to top |
|
 |
Amneena SUPER STAR
Joined: 21 Jul 2006 Posts: 4161 Good Posts: +2
11069.50 Cash Location: malaysia
|
Posted: Fri Nov 03, 2006 10:43 pm Post subject: |
|
|
indeed,chrissy,thankies XD _________________
x.entertainer, would you love me for who i am?
of course, you're the rarest star in the universe.x
 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|