Log In · Register

 
Need Help Again on Div
ShizukaHio
post Apr 24 2009, 02:02 AM
Post #1


Member
**

Group: Member
Posts: 28
Joined: Jan 2009
Member No: 708,903




First how do you put a background on a div? I've tried doing that and the code I'm using for the div is this:


CODE
<div class="content" style="position: absolute; left:000px; top:000px; width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV.
</div>
 
 
Start new topic
Replies
Mickey
post Apr 27 2009, 03:48 AM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Create classes with different styles, like this:

CODE
<style>
.headerl {font:normal 18pt Times New Roman; color:black; text-transform:lowercase; letter-spacing:-3px;}
.header2 {font:normal 18pt Century Gothic; color:white; text-transform:uppercase; letter-spacing:3px;}
</style>

Switch them up to your liking, then use them like this:

CODE
<span class="header1">HEADER TEXT</span>
Insert text here.

<span class="header2">HEADER TEXT</span>
Insert text here.

Replace the text as you see fit.
 

Posts in this topic


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