Guest Cashster09 Posted April 30, 2009 Report Share Posted April 30, 2009 HI again, It's not a major problem at all, but just curious as to why my text in my little form is not blue as stated in my css? .signupframe { margin: auto; border: 1px dotted #000000; background: #ffffff; color: #00baff; font-family: trebuchet MS, Arial, Helvetica, sans-serif; font-size: 13px; text-align: center; } html Online Coupon Voucher Form * Email * First Name * Last Name * = Required Field Quote Link to comment Share on other sites More sharing options...
virtual Posted April 30, 2009 Report Share Posted April 30, 2009 Well it is blue for me in Firefox 3, have you linked the css file or are you using internal css, you might not have linked it properly. Quote Link to comment Share on other sites More sharing options...
Aucheorn Posted April 30, 2009 Report Share Posted April 30, 2009 Try placing color after font-size font-family font-size color text-align It works for me Quote Link to comment Share on other sites More sharing options...
newseed Posted April 30, 2009 Report Share Posted April 30, 2009 You gave a color style for the table but if you have another one that is for the cell, then that will supercede the table. Example: .signupframe {color: blue;} (this class is assigned to the table) td {color: black;} (this will supercede the above code) This is the same for font, background, etc. So you will need to specify it precisely by adding td to the class that you have. However, you may have some styles that is specifically for the table itself and so you might want to just add this new style just below the one your have: .signupframe td { color: #00baff; font-family: trebuchet MS, Arial, Helvetica, sans-serif; font-size: 13px; } You can then remove color, font-family and font-size from your original class but it's not going to hurt if you leave it there. Quote Link to comment Share on other sites More sharing options...
Guest Cashster09 Posted April 30, 2009 Report Share Posted April 30, 2009 (edited) I changed the color after the font size and still grey and not light blue...I also have ff 3 and its not light blue it's grey....Just not sure why the color doesnt change for me. I used an internal style... ok i will try that Newseed... It worked! ONce again, your genius is scary.... thanks... Edited April 30, 2009 by Cashster09 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.