Replies

May 2, 2009 16 years ago
Michelle
is lost in space
User Avatar

My comment box is white until you click in it to start typing and then the background changes to the colour I want it to be. For the life of me I can't see why. Can anyone help me?




May 2, 2009 16 years ago
The Royal
Gem
User Avatar

Because you have this in your code: .textbox:focus{ background-color:; border:1px solid ; color:; font:arial; font-size:11px; text-align:center;} If you don't want it to do that, take the part that says ":focus" out, so the part before the bracket just says ".textbox"


I took a trip
Back to the winter of 1985

May 2, 2009 16 years ago
Michelle
is lost in space
User Avatar

Hmmmm, I thought of that and tried it already but it didn't seem to work. I'll try it again :)

So it did stop it changing colours but now the background is white instead of the beige colour I want it to be.




May 2, 2009 16 years ago
The Royal
Gem
User Avatar

You forgot to remove the colon after .textbox. You should have just this: .textbox { background-color:; border:1px solid ; color:; font:arial; font-size:11px; text-align:center; } And then it should work.


I took a trip
Back to the winter of 1985

May 2, 2009 16 years ago
Michelle
is lost in space
User Avatar

It worked :) Thank you so very much Charm &;




Please log in to reply to this topic.