NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page External CSS Stylesheet Question

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-25-2006, 02:12 PM THREAD STARTER               #1 (permalink)
NamePros Regular
 
sbaik's Avatar
Join Date: Nov 2005
Location: CA, USA
Posts: 400
sbaik is a name known to allsbaik is a name known to allsbaik is a name known to allsbaik is a name known to allsbaik is a name known to allsbaik is a name known to all
 




External CSS Stylesheet Question


Hi,

Does anyone know how to code a stylesheet for using two different link colors?

Right now, Im stuck with one color for all links on my page.

Certain links on my page are white, and some are blue, so how can I code so the appropriate link colors show up for specific links?

Thank you,
Steve
__________________
Los Angeles SEO Consultant
sbaik is offline  
Old 05-25-2006, 03:34 PM   #2 (permalink)
NamePros Member
Join Date: May 2006
Location: India
Posts: 51
Graphixcon is an unknown quantity at this point
 



u can do that by making different css classes and putting those classes to the href tag of the link

e.g

.stylesheetlink1{
color:#00000;
}

.stylesheetlink2{
color:#ececec;
}

now u can apply these classes

<a href="#" class="stylesheetlink1">link test to come here </a>

<a href="#" class="stylesheetlink2">link test to come here </a>

Hope this helps u out

Regards
Graphixcon is offline  
Old 05-25-2006, 04:15 PM   #3 (permalink)
NamePros Member
Join Date: Jan 2006
Location: Toronto, CANADA
Posts: 39
kevinmoran is an unknown quantity at this point
 



i've always wondered how to do this with external style sheets aswell...
golive automatically gives you an external style sheet...

would you recommend to use other wise when creating these classes
kevinmoran is offline  
Old 05-25-2006, 04:46 PM   #4 (permalink)
NamePros Member
Join Date: May 2006
Location: India
Posts: 51
Graphixcon is an unknown quantity at this point
 



yes u can either edit the the css file which is created with golive or u can use any other css file it doesnt make any difference till the time u get the output as ur liking ... i usually prefer one style sheet for design and one for form element styling
Graphixcon is offline  
Old 05-25-2006, 11:00 PM THREAD STARTER               #5 (permalink)
NamePros Regular
 
sbaik's Avatar
Join Date: Nov 2005
Location: CA, USA
Posts: 400
sbaik is a name known to allsbaik is a name known to allsbaik is a name known to allsbaik is a name known to allsbaik is a name known to allsbaik is a name known to all
 




Thanks Graphix,

It worked! Rep added.
__________________
Los Angeles SEO Consultant
sbaik is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 06:33 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger