Solved

CSS Class ignord

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

759 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

18 Experts available now in Live!

Get 1:1 Help Now