Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CSS Class ignord

Posted on 2011-02-21
4
Medium Priority
?
887 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
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…

618 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