Comment Help, please |
Comment Help, please |
Dec 23 2004, 12:36 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 38 Joined: Dec 2004 Member No: 72,995 |
I looked for the codes to do this but can't find it anywhere. The one I found on Xanga scripts didn't work.
I want to change the background color in the post a comment box from white to black. And make the font from black to white. How do I do this without changing all my other background colors and fonts? |
|
|
|
![]() |
| *mona lisa* |
Dec 23 2004, 02:35 PM
Post
#2
|
|
Guest |
that won't do anything because it resizes them, it doesn't change the color and font
try this: CODE <!-- begin code provided by createblog.com --> <script language="javascript"> /* colorComments by Sean F http://www.xanga.com/seanmeister /* function colorComments(){ var bg1="#FFFFFF"; var bg2="#000000"; var sw=0; var attname = document.all ? "class"+"Name" : "class"; var ctables = document.getElementsByTagName("table"); for (var cn=0; cn < ctables.length; cn++){ if (ctables[cn].getAttribute(attname) == "blogbody"){ sw = sw == 1 ? 0 : 1; ctables[cn].style.backgroundColor = sw == 1 ? bg1 : bg2; }}} if (document.location.href.indexOf("item.aspx") != -1) colorComments(); </script> <!-- end code provided by createblog.com --> the color of the font would not have to be white or black then. |
|
|
|
ivy9187 Comment Help Dec 23 2004, 12:36 PM
mona lisa are you sure the one from cb didn't work? can ... Dec 23 2004, 12:42 PM
ivy9187 this was the code i found on xanga scripts...it wa... Dec 23 2004, 12:50 PM
ivy9187 it didn't work...it's still the same as be... Dec 23 2004, 03:39 PM
ivy9187 this is so frustrating... Dec 24 2004, 02:16 PM
Sherry_Vu i don't think you can change the color of your... Dec 26 2004, 03:52 PM
ivy9187 QUOTEi don't think you can change the color of... Dec 28 2004, 01:20 PM
Sherry_Vu http://www.createblog.com/forums/index.php?showtop... Dec 28 2004, 05:32 PM![]() ![]() |