Question:
Need CSS help, simple code needed?
Adam M
2009-03-29 14:45:21 UTC
I have a guestbook on my site, but visitors have been doing a bunch of weird stuff with their stuff...

I need a CSS code that can prevent them from changing font size (10px) and font color (#999999)

BTW... #comment selects the comment text.
Three answers:
2009-03-29 14:53:26 UTC
Set the "#commentbody" like so if you can edit that part:



#commentbody {

color: #999999;

font-size: 10px;

}



Might want to look into disabling commentors from being able to use BBCode/HTML so that all comments stay the same.



Ron
?
2009-03-29 14:55:11 UTC
#commentbody

{

font-size: 10px !important;

color: #999999 !important;

}
2016-10-25 03:24:08 UTC
Please examine the academic at HTMLDog, entitled "Son of Suckerfish Dropdowns". this is the clearest, recent tutorial that i know of that could help you with extremely this example =) also, please look on the examples too.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...