Solved

CSS Class ignord

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

820 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