Log In · Register

 
 
Closed TopicStart new topic
Content
dreamsbecomereal...
post Oct 3 2008, 10:51 PM
Post #1


Senior Member
***

Group: Member
Posts: 90
Joined: Jul 2008
Member No: 666,978



ok 4 this code given here
CODE
<div class="content" style="position: absolute; left:50%; margin-left:-500px; top:300px; width:200px; height:200px; overflow: auto;"> blah. blah. blah. </div>
how can i put just a simple background color behind it so it is readable?
 
Smarmosaur
post Oct 3 2008, 11:28 PM
Post #2


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



replace it with this, and change the XXXXXX to a color code.
CODE
<div class="content" style="background-color:XXXXXX; position: absolute; left:50%; margin-left:-500px; top:300px; width:200px; height:200px; overflow: auto;"> blah. blah. blah. </div>


here's a chart: http://johncfish.com/bggallery/otherchart/hextable.gif
 
dreamsbecomereal...
post Oct 3 2008, 11:39 PM
Post #3


Senior Member
***

Group: Member
Posts: 90
Joined: Jul 2008
Member No: 666,978



ok thnx! n how would u change the text color, font, font size, etc.?
 
Mickey
post Oct 4 2008, 08:52 AM
Post #4


Treasure Pleasure
********

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



Look for the text in bold and edit it to your liking:

CODE
<div class="content" style="background-color:XXXXXX; position: absolute; left:50%; margin-left:-500px; top:300px; width:200px; height:200px; overflow: auto; font:normal 8pt Arial; color:000000;"> blah. blah. blah. </div>
 
dreamsbecomereal...
post Oct 4 2008, 06:09 PM
Post #5


Senior Member
***

Group: Member
Posts: 90
Joined: Jul 2008
Member No: 666,978



ok thnx!
 
schizo
post Oct 5 2008, 12:00 PM
Post #6


Senior Member
******

Group: Staff Alumni
Posts: 2,435
Joined: Feb 2007
Member No: 506,205



Topic closed and moved to resolved.
 

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