PDA

View Full Version : Double Line in Firefox



intcon
Oct 3rd, 2009, 07:56 PM
Afternoon!

Can anyone tell me why I have a double line in Firefox? One under the photo and one under the link...
http://www.monarchcottages.com/jordan/signify_pink.html
http://www.monarchcottages.com/jordan/jordan.css

thanks!

carrie

deafdigit
Oct 3rd, 2009, 08:12 PM
Hi Carrie,


You've declared not only the name of the product, but also the picture as a link. Fx:

<a href='site.html'><img src='img_path.filetype'><br>blablabla</a>

Since your CSS makes all that is a link underlined, this goes for the image as well.
If you want the image to be a link AND the product info and price to be underlined, you're going to have to make a seperate CSS class for the links that are supposed to be underlined, and remove the text-decoration:underline; from the standard anchor-classes.

Does this make sense?


//deaf_digit

drhowarddrfine
Oct 3rd, 2009, 08:13 PM
Because you told it to. Under the <a> you put "text-decoration: underline"

intcon
Oct 3rd, 2009, 08:35 PM
Thanks deaf digit....

I apologize for being an idiot...=)...still learning...could you look again? I've updated the CSS and now I've lost the hover...

I'd appreciate it..thanks.

carrie

intcon
Oct 3rd, 2009, 08:45 PM
thanks for your response dr. howard..much appreciated.

carrie