Jump to content
Killersites Forums

text not changing color


Guest Cashster09
 Share

Recommended Posts

Guest Cashster09

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

Sample In-Store Coupons

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest Cashster09

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 by Cashster09
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...