Log In · Register

 
Div Layout and Fonts, ughhh
SO0fRESHHH
post Jan 25 2008, 02:43 AM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Dec 2007
Member No: 596,604



ok, im seriously going to shoot myself if i cant figure out this code.
-rips hair out


but i need a code that will allow me to change the fonts and sizes and weight and everything in the div content box.
 
 
Start new topic
Replies
S-Majere
post Jan 25 2008, 07:04 AM
Post #2


Addict
*******

Group: Staff Alumni
Posts: 3,918
Joined: Jun 2007
Member No: 538,522



Have you got a code already? Make sure you post that.

If not, use something like this (taken from one of my layouts) to control your font:

CODE
font, td, a,table, body, td, li, p, div, li, h1, h2, p, br,.text,small,big,sup,sub{
font-size:10px;
color:ABACAC!important;
font: normal 10px verdana;
line-height:12px;
letter-spacing:0px;
text-align:left;
text-decoration:none;
text-transform:normal;
}


This will specify how your bold text is displayed:
CODE
b,strong{
color:A01217;
font-size:10px;
line-height:10px;
letter-spacing:0px;
font: bold 10px verdana;
}


This one for italic:
CODE
i,cite,em{
color:ffffff;
font-size:10px;
}


And this for underlined:

CODE
u{
color:9BBED0;
font-size:10px;
line-height:10px;
letter-spacing:0px;
font-family:georgia;
}


Make sure you start any section of type with the paragraph spec, like this:

CODE
<p> This is your text </p>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: