Solved

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

Posted on 2011-02-25
4
212 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
ID: 34982229
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
ID: 34982278
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
ID: 34983911
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
ID: 35008319
Ah, that did it! Someone else wrote the CSS, I didn't even notice the quotes.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

777 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