Guest Posted February 15, 2006 Posted February 15, 2006 I have a page that displays products and their respective prices - if a product in my catalog has a price of $0.00, the background color of the cell displays as white, however as you can see on this page (http://www.colorrite.com/index.php?cPath=24) it isn't consistent with the rest of the table rows and their colors. Why would this be happening? Why would an item with a price of 0 display with a background color of white? Can anyone help? Any help is appreciated...
ksl8313 Posted February 15, 2006 Posted February 15, 2006 You seem to be much better at this than me, but let me offer my humble advice: my logic is that since price of 0.00 is treated as somethin similar to a null value, therefore it would be an empty value on the table, and since it's empty, it's showing nothing up. I checked your HTML code, and it is not even showing a <td></td>, rather you're skipping a cell, and as a result, no background coding for that cell. Wonder if there is a code that treats 0.00 as a non-null value in your script, or otherwise, easiest solution can be to put a price of 0.01? =) or set it as 24.95, and on the attributes, set quart as +15.00. Good luck!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.