Solved

CSS Class ignord

Posted on 2011-02-21
4
872 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
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.

895 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

13 Experts available now in Live!

Get 1:1 Help Now