View Full Version : CSS Help.
Drugs
08-08-2006, 06:34 PM
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!
Drugs
08-08-2006, 06:39 PM
Ill bear that in mine ;D
Colin-Roberts
08-08-2006, 06:40 PM
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
Drugs
08-08-2006, 06:41 PM
Alrighty, cheers colin.
Muhammad Haris
08-08-2006, 06:41 PM
Offcourse not, Someone who is web developer would surely know what is CSS because it's in relevant category. Anyways.
/*Body*/
body {
background-color : #ffffff;
color : #ffffff;
font-size : 12pt;
font-family : Tahoma;
font-weight : bold;
}
Whats the point making it a seperate style if hes just going to use same font all way through
Halting
08-08-2006, 06:45 PM
Put this in a CSS document:-
body {
background-color: #FFFFFF;
font-family: verdana;
font-size: 10px;
color: #000000;
}
And then in the file where you want to use your stylesheet:-
<link rel="stylesheet" href="url to stylesheet" />
Or if you want to use this on one document only, add this to the page:-
<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:-
body, td, tr {
background-color: #FFFFFF;
font-family: verdana;
font-size: 10px;
color: #000000;
}
Muhammad Haris
08-08-2006, 06:47 PM
Whats the point making it a seperate style if hes just going to use same font all way through
There you go! :)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.