Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2004
    Location
    I'm not quite sure.......
    Posts
    771
    Tokens
    0

    Default CSS - Begginners Guide

    CSS

    CSS stands for Cascading Style Sheet and is used for website colour rules.

    CSS is helpful for colour rules so you don’t have to put the same bit of HTML in on every single page you have on your website. The only things’ it needs, for an external CSS, is itself and one tiny bit of HTML with goes after the <head> tag – not the </head> tag:


    <link rel=stylesheet type=”text/css” href=”CSS NAME HERE.css”>

    For an internal CSS, again it goes after the <head> tag – not the </head> tag – but instead of the HTML tag I just put for you there you put the whole CSS – like this:

    <style><!—CSS GOES HERE--!></style>

    So your HTML should look a bit like this:

    <html>
    <head>
    <style><!—CSS GOES HERE--!></style>
    <title>TITLE GOES HERE</title>

    etcetera, etcetera.

    External CSS template

    aink
    {
    color: rgb(0,0,0);
    }
    a:visited
    {
    color: rgb(0,0,0);
    }
    a:active
    {
    color: rgb(0,0,0);
    }
    table
    {
    table-border-color-light: rgb(0,0,0);
    table-border-color-dark: rgb(0,0,0);
    }
    body
    {
    font-family: Verdana, Arial, Helvetica;
    background-color: rgb(0,0,0);
    color: rgb(0,0,0);
    }

    h1
    {
    font-family: Times New Roman, Times;
    color: rgb(0,0,0);
    }
    h2
    {
    font-family: Times New Roman, Times;
    color: rgb(0,0,0);
    }
    h3
    {
    font-family: Times New Roman, Times;
    color: rgb(0,0,0);
    }
    h4
    {
    font-family: Times New Roman, Times;
    color: rgb(0,0,0);
    }
    h5
    {
    font-family: Times New Roman, Times;
    color: rgb(0,0,0);
    }
    h6
    {
    font-family: Times New Roman, Times;
    color: rgb(0,0,0);
    }

    Just change the 0’s to any number between 0 and 255 using the red, blue, green colour style and change the font families to the fonts that you want.


    Internal CSS template

    <style>
    <!--
    BODY
    {scrollbar-face-color: #CCCCCC;
    scrollbar-arrow-color: #000000;
    scrollbar-track-color: #DCDCDC;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #FFFFFF;
    scrollbar-3dlight-color: #000000;
    scrollbar-darkshadow-color: #AAAAAA;}

    .main {font: 10px verdana;}
    .pagename {font: 14px verdana; color: #2F4A7F; font-weight: bold;}
    .style3 {color: #000000}
    -->
    </style>

    That's the internal CSS for another site of mine - Randomness - change it as you want and add some more CSS on.
    Remember! I goes inside the <head> tag!


    Well I hope that helps you folks!
    Join My Forum

  2. #2
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    <STYLE>
    A {

    text-decoration: none;

    }
    </STYLE>

    That's The Non-Underlined HyperLinks CSS :eusa_danc
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  3. #3
    Join Date
    Jul 2004
    Location
    I'm not quite sure.......
    Posts
    771
    Tokens
    0

    Default

    Thanks, Ross. =]
    Join My Forum

  4. #4
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    2,280
    Tokens
    1,075

    Latest Awards:

    Default

    you got it wrong dude. Css doesnt change the colour rules of a webpage. Css changes the pages "style" this includes border types, cell padding and all sorts of other variables. Good try though.
    Last edited by -JT-; 27-02-2005 at 06:36 PM.

    http://www.stupidian.com
    (contains mild swearing)

  5. #5
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    It also aligns images properly

    My Pleasure >.<
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  6. #6
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    2,280
    Tokens
    1,075

    Latest Awards:

    Default

    well done ross, but lets not put this dude down, he did a not bad job of teaching us summit.

    http://www.stupidian.com
    (contains mild swearing)

  7. #7
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    You can put my medal in the post james, you got 1000 posts! join the club >.< !
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  8. #8
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    I dont quite get the point? if someone doesnt know css or how it works this is usless to them, and if they do they would alredy know if.

    A tutrils only useful if you get an explintion to what your doing.

    Athogh its still a good effort

  9. #9
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Instead of putting the CSS into the page isnt it possible to extract is from somewhere else using the <source></source> tags :S or something along those lines..


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •