Styling a button...

How do I put a style onto a button?www.vladdy.net/demos/submitstyling.htmlI mean inside of the <input> tag...like...
<input style="background-color:black;color:white;">Well you just did it, that's how you style a button.It isn't working. You can check it out at:
<!-- m --><a class="postlink" href="http://www.rpboards.com">http://www.rpboards.com</a><!-- m -->
The "Tag" button. In fact, that is the EXACT style I applied to it...You missed out the = sign:style="background-color:black;color:white;"VALIDATE! (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.rpboards.com%2F">http://validator.w3.org/check?uri=http% ... rds.com%2F</a><!-- m -->) (error 50 of 209 :()It's a shame that that's one of two errors out of all of those that I can fix without screwing up the site. Half of those links I don't even know where they are! Let alone HOW to fix them. Oh well, you can't be perfect.

And actually, I didn't miss it. I copied it directly from the place where I put it to the post here! So I STILL don't know why it's not working!Yeah, I can't possible imagine how you would fix the first error. :rolleyes:That's one of the two I can fix...:P

I'll eat my words, I copied the wrong style, though they are styled the same, I DID forget the equals sign!Boy, the second one's a puzzler, too.:rolleyes:

A body is after a div tag. Could it possibly be wrong?

And image adding alt attributes. Has it ever been done?

You're right, you can't be perfect, but a lot of those should be pretty easy to fix.What about error 2? You have a div tag outside the body.Actually, that is part of the layout. As I didn't create it, I can't change it!Why can't you change it? You have full access to every .php file.Actually, I just realized, that specifies the footer information. If I take the div off, bye bye formatting.Well a good start would to be to put it inside the body tag, then try and fix the layout issues.It's actually inside of the special "footer" section.
 
Back
Top