Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!


Sponsored Content

 

 
 

Photo
- - - - -

Nofollow Atribute


  • Please log in to reply
3 replies to this topic

#1 interval

interval

    HR 3

  • Active Members
  • PipPipPip
  • 56 posts

Posted 25 November 2007 - 11:19 PM

Hi,

I know that I can set atributes for links using CSS, this example sets color and text decoration

a
{ color: #2e6e15; text-decoration: none;
}

How can I set two classes of links like that?

1. One having atributes color: #2e6e15; text-decoration: none;
I think that the atribute 'follow' is implicit.

2. Second having the same color: #2e6e15; text-decoration: none;
plus 'nofollow' atribute

If it is possible, please let me know how and how to define each class when I build html code.
I know I can use <a href="http ...." rel="nofollow">, but I'd like to use CSS.

Advanced thanks
Interval

#2 Ahmed

Ahmed

    HR 3

  • Active Members
  • PipPipPip
  • 96 posts
  • Location:Quebec, Canada

Posted 25 November 2007 - 11:48 PM

No follow is not possible with CSS (if I'm wrong educate me tongue.gif)

#3 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 5,881 posts
  • Location:Blackpool UK

Posted 26 November 2007 - 05:39 AM

QUOTE
I know that I can set atributes for links using CSS


Actually you can't.

You can ONLY set the style attribute properties and values using CSS.

#4 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 5,881 posts
  • Location:Blackpool UK

Posted 26 November 2007 - 05:42 AM

and while I think on biggrin.gif

nofollow is NOT an attribute, it is a value of the rel (relationship) attribute.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users