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 8 of 8

Thread: CSS Help.

  1. #1
    Join Date
    Aug 2006
    Posts
    282
    Tokens
    0

    Default CSS Help.

    Hey, and before a noob {Like Before} says something about Counter Strike Source, i am on about Cascading Style Sheets...

    I need someone to post a simple CSS Stylesheet with all colours set to #FFFFFF or something..

    I need;

    Body BG
    Font Face
    Font Size
    Font Colour

    Thanks!

  2. #2
    Join Date
    Aug 2006
    Posts
    282
    Tokens
    0

    Default

    Ill bear that in mine ;D

  3. #3
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    lol he just wants it for his shoutbox and ryan soon as i code up one for myself ill give you code.
    font-size:10pt; color:Black; font-family:verdana,sans-serif;}

    there you go i think just ptu that in your external style sheet.
    not working for some reason :S
    Last edited by Colin-Roberts; 08-08-2006 at 06:51 PM.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  4. #4
    Join Date
    Aug 2006
    Posts
    282
    Tokens
    0

    Default

    Alrighty, cheers colin.

  5. #5
    Join Date
    Jun 2006
    Posts
    125
    Tokens
    0

    Default

    Offcourse not, Someone who is web developer would surely know what is CSS because it's in relevant category. Anyways.

    HTML Code:
    /*Body*/
    body {
    	background-color : #ffffff;
    	color : #ffffff;
    	font-size : 12pt;
            font-family : Tahoma;
    	font-weight : bold;
    }
    Last edited by Muhammad Haris; 08-08-2006 at 06:48 PM.
    All sites sold at the moment.

  6. #6
    Join Date
    Jun 2006
    Location
    London!
    Posts
    616
    Tokens
    0

    Default

    Whats the point making it a seperate style if hes just going to use same font all way through















    :

  7. #7
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    Put this in a CSS document:-
    HTML Code:
    body {
    background-color: #FFFFFF;
    font-family: verdana;
    font-size: 10px;
    color: #000000;
    }
    And then in the file where you want to use your stylesheet:-

    HTML Code:
    <link rel="stylesheet" href="url to stylesheet" />
    Or if you want to use this on one document only, add this to the page:-

    HTML Code:
    <style type="text/css">
    body {
    background-color: #FFFFFF;
    font-family: verdana;
    font-size: 10px;
    color: #000000;
    }
    </style>
    If you are using it for a Shoutbox like someone said, you are probably using Tables. So instead you will need something along the lines of:-

    HTML Code:
    body, td, tr {
    background-color: #FFFFFF;
    font-family: verdana;
    font-size: 10px;
    color: #000000;
    }

  8. #8
    Join Date
    Jun 2006
    Posts
    125
    Tokens
    0

    Default

    Quote Originally Posted by Per View Post
    Whats the point making it a seperate style if hes just going to use same font all way through
    There you go!
    All sites sold at the moment.

Posting Permissions

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