Dynadot .com Transfer Sale โ€” only $10.49, coupon COMSUMMER26

How would i go about doing this? - CSS

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch
Impact
20
Hello.

I am working on a site at the moment and i would like to make some links in the nav bar a different color to the rest of the site.

http://www.yesthat.com is the site in question. I would like the links in the nav to be white, and the links in the main website to be black.

I would prefere to use inline css for this, im just not sure how to do it.

Anyone know?

Thanks,
Jon
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
How I would go about doing it would be to just do something like this:

<div id="top-navigation">
(links here)
</div>

and then in the CSS go:

a {
(properties for all links)
}

#top-navigation a {
(properties for navigation links)
}

That will work, not sure if you wanted to do it that way though.
 
0
•••
Thats perfect, thanks :)
 
0
•••
Yeah, CSS works great! :)
 
0
•••
Appraise.net
Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
URLs.com
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back