Guest Cashster09 Posted April 30, 2009 Report 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
virtual Posted April 30, 2009 Report 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.
Aucheorn Posted April 30, 2009 Report Posted April 30, 2009 Try placing color after font-size font-family font-size color text-align It works for me
newseed Posted April 30, 2009 Report 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.
Guest Cashster09 Posted April 30, 2009 Report 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now