Solved

Need to color links, embedded CSS doesn't seem to be working

Posted on 2011-02-25
4
191 Views
Last Modified: 2012-05-11
This page:

http://www.bibisbabywear.com

...has embedded CSS file:

http://www.bibisbabywear.com/generic.css

...which includes these link styles:

a { text-decoration: none; color: "#F34BA4";}
a:visited { text-decoration: none; color: "#F34BA4";}
a:hover { text-decoration: underline; color: "#333333";}

F34BA4 is a hot pink/purple color. But why are all the links on the page blue? I can't seem to figure this out. Thank you!
0
Comment
Question by:bbdesign
  • 2
4 Comments
 
LVL 9

Expert Comment

by:rawinnlnx9
Comment Utility
In internet explorer 7 or 8 navigate to the page and press f12. From my browser your links are showing correctly as pink but the hover state is black.

Here's the final CSS applied to each style of the link text (see image): Applied CSS classes.
To see this for yourself go to the page then press F12. A new window opens. Click the arrow icon at the far right just above the white space results area. Now toggle back ALT+TAB to your web page and click on a link. Then go back to the F12 window and view the applied CSS file and classes.
0
 

Author Comment

by:bbdesign
Comment Utility
I'm on a Macintosh, so I don't have the F12 option, whatever that does. I checked the site in Safari, Firefox and Chrome, and the links are blue. Do you know from the file you sent me which CSS attribute would be causing the blue?
0
 
LVL 2

Accepted Solution

by:
Kings-Sky earned 500 total points
Comment Utility
Hello bbdesign ,

Can you take off the quotes on the colors ?
I see in firefox that it's not detecting the color code inside the quotes.

Thanks, kings-sky.
0
 

Author Comment

by:bbdesign
Comment Utility
Ah, that did it! Someone else wrote the CSS, I didn't even notice the quotes.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now