Log In · Register

 
Simple Question, block text.
iicap10sg
post Mar 20 2006, 12:30 AM
Post #1


Newbie
*

Group: Member
Posts: 8
Joined: Mar 2006
Member No: 387,585



I have a div overlay in css. (if thats the right term). and 've seen in other profiles where the headers and such are in a font and the background is a color and extends out into a bar.

i don't know what its called and the codes 've tried to find or make don't quite work. heres is an example of a profile that has it... http://www.createblog.com/layouts/preview.php?id=9508
 
 
Start new topic
Replies
freeflow
post Mar 20 2006, 12:49 AM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



I know not your contact table but the effect is just text one color then background color another color

ex code would be:
.text{font-color:ffffff; background-color:000000;}
that would give you white on black

You can achieve the same effect for titles in a div by using h1, h2, h3 w/ e

so if you want it for a div overlay you would add the following to your css:
h2{
font-family: fonthere;
font-size: sizepx;
font-color: colorhere;
background-color:colorhere;
}

or
.h2{
font-family: fonthere;
font-size: sizepx;
font-color: colorhere;
background-color:colorhere;
}

then wherever you want it to appear you would go <h2>texthere</h2>
 

Posts in this topic


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