Zzenn Posted January 29, 2007 Share Posted January 29, 2007 I changed all of my fonts to white in CSS stylesheet because I have a darker background. It looks great but now the text in the "Enquiry:" field is white against the white background when I go to type a message. After much tweaking and trying to find which class it is, I just can't discover which one it might be. Contact_us.php says... <td class="main"><?php echo ENTRY_ENQUIRY; ?></td> I tried main and it didn't fix it??? It is probably obvious, I'm just at a loss.... :( Link to comment Share on other sites More sharing options...
davidinottawa Posted January 29, 2007 Share Posted January 29, 2007 I changed all of my fonts to white in CSS stylesheet because I have a darker background. It looks great but now the text in the "Enquiry:" field is white against the white background when I go to type a message. After much tweaking and trying to find which class it is, I just can't discover which one it might be. Contact_us.php says... <td class="main"><?php echo ENTRY_ENQUIRY; ?></td> I tried main and it didn't fix it??? It is probably obvious, I'm just at a loss.... :( lets see your css. You are right about the class, and the echo. I did this and the font is now blue : TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #0000ff; } david Link to comment Share on other sites More sharing options...
Zzenn Posted January 29, 2007 Author Share Posted January 29, 2007 lets see your css.You are right about the class, and the echo. I did this and the font is now blue : TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #0000ff; } david Thanks David, Yes I can change the main text and thats fine. But If I was to write an email and start typing in the Enquiry section it is is still invisible (If I send it the email has received everything fine - Just can't see what I'm typing in the field box) The boxes that I type my name and email address are fine????? Wierd hey? My CSS Below... is normal??? TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #FFFFFF; } Ken Link to comment Share on other sites More sharing options...
davidinottawa Posted January 29, 2007 Share Posted January 29, 2007 Thanks David,Yes I can change the main text and thats fine. But If I was to write an email and start typing in the Enquiry section it is is still invisible (If I send it the email has received everything fine - Just can't see what I'm typing in the field box) The boxes that I type my name and email address are fine????? Wierd hey? My CSS Below... is normal??? TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #FFFFFF; } Ken OH! You mean in the actual text input area of the form ? Do you have a url ? Link to comment Share on other sites More sharing options...
davidinottawa Posted January 29, 2007 Share Posted January 29, 2007 Thanks David,My CSS Below... is normal??? TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #FFFFFF; } Yes - normal. Link to comment Share on other sites More sharing options...
Zzenn Posted January 31, 2007 Author Share Posted January 31, 2007 OH! You mean in the actual text input area of the form ? Do you have a url ? I do. Heres my URL. Try and type something into the "Inquiry" box. You'll notice the Name and email fields are OK...? But the Inquirey text is invisible because its #FFFFFF. http://findpurpose.com.au/register/contact_us.php Thanks for you help David. Link to comment Share on other sites More sharing options...
davidinottawa Posted January 31, 2007 Share Posted January 31, 2007 I do.Heres my URL. Try and type something into the "Inquiry" box. You'll notice the Name and email fields are OK...? But the Inquirey text is invisible because its #FFFFFF. http://findpurpose.com.au/register/contact_us.php in contact_us.php change this : <tr> <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> </tr> to this : <tr> <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15,' ','style="color: red; background-color: lightyellow"'); ?></td> </tr> You can play around with the color and background-color attributes, or just set 'color: black' and leave out the background-color david Link to comment Share on other sites More sharing options...
Zzenn Posted January 31, 2007 Author Share Posted January 31, 2007 You did it... you're a genius. I went and put that code to a couple of other text fields and it worked. Thanks heaps. Link to comment Share on other sites More sharing options...
davidinottawa Posted January 31, 2007 Share Posted January 31, 2007 You did it... you're a genius. I went and put that code to a couple of other text fields and it worked.Thanks heaps. Happy to help! david Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.