Okay, this may be a silly question, but here goes: I need to change the text color in my shopping cart, which is php generated. I'm using a template that uses a style.css document to define the text color for the entire site and I'm wondering if I can change just the text color (or the background color) within the shopping cart. You can check out my site here: http://www.viciousstyle.com/test . Put a product in the shopping cart and you'll see what I mean. You can't read what is actually in the cart because it's white text on white background. Any help would be appreciated !
not sure without seeing the actual stylesheet, but the table for the cart has <td bgcolor="#FFFFFF"> (which is the white background for the table cells where the text is). If the table <td>'s aren't relying on the stylesheet, then you can just modify the actual code on cart.php to change that bgcolor to something besides white. You'd need to change all those <td>'s in that table (which is within the form). hope that helps.
Thanks Dazzlin. The problem I'm having with that is that viewing the source from the site shows a different code then if I open the document "cart.php" in a text editor. Basically, rather then seeing the table that is generated on the website, I'm seeing this: <?php include "vsadmin/db_conn_open.php" ?> <?php include "vsadmin/includes.php" ?> <?php include "vsadmin/inc/languagefile.php" ?> <?php include "vsadmin/inc/incfunctions.php" ?> <?php include "vsadmin/inc/inccart.php" ?> Does that mean I would need to edit it in one of those docs instead? You can view the style sheet here: http://www.viciousstyle.com/style.css , if that helps at all Thanks for the help!
Just a quick thought in passing: do not forget, when choosing colors for anything, that a nontrivial portion of the population is partially or wholly color-blind. The partially color-blind are perhaps the gravest problem. I admit I am a hypocrite about this, but a lot of good sites on design raise the point. I wonder if there is a site anywhere that shows things as people with common forms of color blindness would see them? (Sort of the way you can see what your site looks like in Lynx, another thing few webmasters bother to do.)
I concur: Wow! Interesting links! I reckon that no careful web designer can possibly not be ashamed if he or she hasn't used the Lynx-look filter and the sites listed above in the design of a site. I am ashamed, but hope soon not to be . . . . What resources!
Within you CSS <font> <p> or <span> tag put in color="#fffff" or you can use an in style link in style="color:#FFFFFF;" ....