Solved

CSS Class ignord

Posted on 2011-02-21
4
876 Views
Last Modified: 2012-06-21
On this page:
http://eyelasik.austinfx.com/our-surgeons/

If oyu lick on a Dr name it expands. And the Hyperlink element is pulling from the reset.css file for <a>.

it is in a DIV with a class called faq-answer.

iv.faq-answer {
    color: #666666 !important;
    font-family: "museo-slab-1","museo-slab-2";
    line-height: 35px;
    margin: 0 0 0 0 !important;
    text-decoration: none !important;
}

How come the <a> is not being styled?
0
Comment
Question by:jbrashear72
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 34947340
It is being styled:

a {
    cursor: pointer;
    outline: medium none;
    text-decoration: none;
}

reset.css, line 25
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 34948277
I see that. is there a way that I can style the "a" using the div.faq-answer ?
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 34948420
You would want to declare a new class specific to div.faq-answer.  Something like:

div.faq-answer a {
    color: #666666 !important;
    font-family: "museo-slab-1","museo-slab-2";
    line-height: 35px;
    margin: 0 0 0 0 !important;
    text-decoration: none !important;
}
0
 
LVL 16

Expert Comment

by:HagayMandel
ID: 34949045
your a tag is applies on to an image!!
<a href="../wp-content/uploads/2011/02/dr-tom1.jpg"><img align="left" title="dr-tom" src="http://eyelasik.austinfx.com/wp-content/uploads/2011/02/dr-tom1.jpg" alt="" width="218" height="144" /></a>

Open in new window

How you think you can change the image's font-family or line-height?

0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

773 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