Username: Password:   Forgot your password?
 
Forums
» View Categories » Coding Help & Templates » Adjusting the comment box
Previous 30
Page of 1 Next 30

Member:44,570
Posts:220
Joined:12-2-2007
Seen:11-26-2009
Jun 17,`09 5:28pm | Quote |

Alright, I'm not completely code-illiterate, so I've been messing with my webpage, but I'm at wit's end. My page has a black background, but the DD comment box has black text, leading to the "Anonymous" text next to the checkbox being invisible, making a few new users to end up accidentally posting anonymously. I can't figure out how to fix this. I've been dropping <Font color=white> and <Bg color=white> in various places around the code, but it doesn't seem to be working, do any of you have a solution?

 
skoolmunkee
Admin
Send a private quack!
Member:56
Posts:5,889
Joined:1-2-2006
Seen:11-27-2009
Jun 18,`09 5:25am | Quote |

The problem is, as you said, because the page's text is black. The comment form (including the checkbox and buttons) is a drop-in bit of script called by one of the DD tags (<--DD_COMMENT--> or something like that).... you can't modify that bit of code unless there are css tags associated with it already, which there aren't. So the text that comes with the drop-in code is going to use whatever the page default is.

I think your easiest solution will be to put that comment box inside a small table (or if already in a table, into its own cell) and make the background color of that cell something other than black. That ought to leave you with a strip of some color under the input box which shouldn't detract from the page's look too much, but will have the contrast needed to show the Anonymous text.

 
Member:44,570
Posts:220
Joined:12-2-2007
Seen:11-26-2009
Jun 19,`09 2:36pm | Quote |

Awesome. It worked perfectly, thanks, Skool, almighty fish-creating deity.


Previous 30
Page of 1 Next 30

 

Not Registered?
Signup for a FREE Account!


Registered users can:
Comment on comics!
Create their own comics!
Vote in polls and contests!
Use the forums!
   Latest News
   DD Cam (Now Featuring: DDBook)