PDA

View Full Version : Stupid Newbie: HSN price text is white..



reindex
April 21st, 2005, 04:14 PM
Hey I'm new to HSN and I'm trying to set up some links.



Here's my problem:



I inserted the javascript pricing code etc, and prices show up, but the text is white.



How do I change the text color to black or something?

MedsDirect
April 21st, 2005, 04:45 PM
my guess would be that you are using an html editor that has a default body color set for the text or has wrapped a font color tag around your prices.


The best way to tell would be to look at your site, PM me the url please and I will take a look.

MedsDirect
April 21st, 2005, 05:27 PM
found it


your style sheet sets the hyperlink text to white for your main left nav links. Our javascript creates an <a href> tag, so it picks up your class style for A:Link, A:Hover etc.


you can fix this by making a class called "PriceLinks" or whatever and then wrapping it around our javascript, or simply setting in the class attribute of the table that holds the links.


Then in your style, make a compound style like this:


.ProductLink.A:link{font-color=black;}


that will make any "A" tag within the "Productlink" class use the compound style.


Its been a while since I've done css myself, so my syntax me be off on that compound style, but thats the right direction.

reindex
April 21st, 2005, 05:32 PM
Thanks Aaron