Log In · Register

 
comment box, how to change the colors of it......
redS2z1463
post Aug 13 2004, 09:10 PM
Post #1


Senior Member
***

Group: Member
Posts: 38
Joined: Apr 2004
Member No: 11,674



hEy!!! ummmmm....can you pleaze help me on how you change the comment font background and text color? _unsure.gif i don't know how!
like you know where someone give you propz for your site....where they put their comment.
because my friends have it n' i don't know how to do it! can you please help!!!
thanx a lot!!! biggrin.gif
 
 
Start new topic
Replies
ghjgfkgfk
post Aug 13 2004, 11:19 PM
Post #2


POWAPOSTA
*******

Group: Member
Posts: 3,169
Joined: Jul 2004
Member No: 30,725



QUOTE
    <!--
input, textarea
{color: #000000;
background: #cccccc;
font-size: 7pt;
font-weight:  italics;
text-decoration: none;
font-family: arial;
text-align: left;
border-width: 4px;
border-style: solid;
border-color:#a9a9a9;
filter: alpha(opacity=50)}
-->
</style>


edit to your liking.

edit//SORRY, wrong code.

QUOTE
<script language="javascript">
function colorComments(){
//Edit your first color below
var blogring="#FBA874";
//Edit your second color below
var dotnet="#F7AA96";
var colorchange=0;
var comments = document.all ? "class"+"Name" : "class";
var backgrounds = document.getElementsByTagName("table");
for (var cn=0; cn < backgrounds.length; cn++){
if (backgrounds[cn].getAttribute(comments) == "blogbody"){
colorchange = colorchange == 1 ? 0 : 1;
backgrounds[cn].style.backgroundColor = colorchange == 1 ? blogring : dotnet;
}}}
if (document.location.href.indexOf("item.aspx") != -1) colorComments();
</script>
 

Posts in this topic


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