Log In · Register

 
How to add colors ect.
funride
post Mar 5 2009, 09:24 PM
Post #1


Funride.org
*****

Group: Member
Posts: 326
Joined: Jul 2007
Member No: 542,299



So I kind of just made this code from my head and what I remeber.
CODE
<style>
.content1 {position: absolute; top:###px; left:###px; width:###px; height:###px; overflow: auto;}
.content2 {position: absolute; top:###px; left:###px; width:###px; height:###px; overflow: auto;}
</style>

CODE
<div class="content1">
STUFF GOES HERE
</div>
<div class="content2">
STUFF GOES HERE
</div>


But my question is. In the CSS how do I put the text colors, navigation, and background image.

Another question, should I just design the tables along with the header image in PSP2 then allign them with the code?
 
 
Start new topic
Replies
alek
post Mar 17 2009, 09:22 PM
Post #2


Member
**

Group: Official Designer
Posts: 10
Joined: Oct 2008
Member No: 692,614



heres every property i can think of that you don't already have

CODE
.content {
    color: red;
    font-size: 12px;
    font-family:arial;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    line-height: 13px;
    letter-spacing: 0px;
    word-spacing: 4px;
}


CODE
this is the code with explanation

.content {
    color: red;(can be the name of a color or a hex code ex. of hex #000000 )
    font-size: 12px;(change the 12 to any number)
    font-family: arial;(theres tons of fonts, just replace arial with it)
    font-weight: normal;(bold or normal theres more specific ones but i dont use them)
    text-decoration: none;(can be underline, strikethrough)
    text-transform: none;(can be uppercase, lowercase, or none)
    line-height: 13px;(change the 13 to any number)
    letter-spacing: 0px;(cange 0 to any number)
    word-spacing: 4px;(cange 4 to any number)
}
 

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: