Unstoppable Domains โ€” Expired Auctions

External CSS Stylesheet Question

SpaceshipSpaceship
Watch
Impact
770
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
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
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
 
1
•••
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
 
0
•••
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
 
0
•••
Thanks Graphix,

It worked! Rep added.
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back