Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Text decoration problem
Old 01-29-2008, 10:18 PM Text decoration problem
Super Talker

Posts: 131
Trades: 0
on this page:
http://gm-research.com/testimonial-landing.php

You will see that some links are underlined, others arent. I thought I coded it to underline on hover.
Here is the CSS
Code:
A
    {
    margin:0;
    text-decoration:none;
    font: 8.5pt Helvetica, Sans-Serif;
    }
A:link
    {
    background-color:inherit;
    text-decoration:none;
    color:#7b9a39;
    }
A:visited
    {
    background-color:inherit;
    text-decoration:none;
    color:#7b9a39;
    }
A:hover
    {
    background-color:inherit;
    text-decoration:underline;
    color:#7b9a39;
    }
A:active
    {
    background-color:inherit;
    color:#7b9a39;
    }
Thank you for any help in advance.
soap is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-29-2008, 10:45 PM Re: Text decoration problem
Experienced Talker

Posts: 30
Name: Adam
Trades: 0
Here are a few things you can try.

First try replacing your CSS with this one:

Quote:
a
{
margin:0;
text-decoration:none;
font: 8.5pt Helvetica, Sans-Serif;
}

a:link, a:visited, a:active
{
background-color:inherit;
text-decoration:none;
color:#7b9a39;
}

a:hover
{
background-color:inherit;
text-decoration:underline;
color:#7b9a39;
}
Then, I noticed some of your links have the id #testimonials which has text-decoration: underline associated with it. That is probably your problem. Remove that and you should be good.

Quote:
#testimonials
{
text-decoration: underline;
margin-bottom: 50px;
}
__________________

Please login or register to view this content. Registration is FREE
:: Your source for everything web


Please login or register to view this content. Registration is FREE
:: Web Hosting starting at $4.95
itsnetservices is offline
Reply With Quote
View Public Profile
 
Old 01-29-2008, 11:07 PM Re: Text decoration problem
Super Talker

Posts: 131
Trades: 0
Ah yes, you're right!

Thanksss
soap is offline
Reply With Quote
View Public Profile
 
Old 01-29-2008, 11:15 PM Re: Text decoration problem
Experienced Talker

Posts: 30
Name: Adam
Trades: 0
No problems.

You should download the web developer plug-in for FireFox (if you use firefox that is) There is a View CSS option that allows you to quickly hover over elements on a page and see what css classes and id's are assocaited with it.

The plug-in can be found here:
https://addons.mozilla.org/en-US/firefox/addon/60
__________________

Please login or register to view this content. Registration is FREE
:: Your source for everything web


Please login or register to view this content. Registration is FREE
:: Web Hosting starting at $4.95
itsnetservices is offline
Reply With Quote
View Public Profile
 
Old 01-29-2008, 11:22 PM Re: Text decoration problem
Super Talker

Posts: 131
Trades: 0
thanks buddy
soap is offline
Reply With Quote
View Public Profile
 
Old 01-29-2008, 11:57 PM Re: Text decoration problem
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Also don't capitalize the a. That does make a difference.
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 01-30-2008, 02:41 AM Re: Text decoration problem
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
and your header should be gif or 8-bit png - it's way too weighty as a jpeg and won't look as good
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Reply     « Reply to Text decoration problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.39315 seconds with 12 queries