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 How would i go about doing this? - CSS

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

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 08-27-2004, 09:33 AM THREAD STARTER               #1 (permalink)
jon
Senior Member
Join Date: Aug 2004
Location: uk
Posts: 1,378
jon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud of
 



How would i go about doing this? - CSS


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
__________________
j0n.org
jon is offline  
Old 08-27-2004, 01:34 PM   #2 (permalink)
Sheriff Of Nothing
Join Date: Apr 2004
Location: Florida
Posts: 220
Ethan is an unknown quantity at this point
 



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.
__________________
Lowter.com - Webmaster eZine and Community
Interactive eZine, Articles, Blogs, and More
Norics.com | Cascading Design | Blue Programming
Ethan is offline  
Old 08-27-2004, 01:59 PM THREAD STARTER               #3 (permalink)
jon
Senior Member
Join Date: Aug 2004
Location: uk
Posts: 1,378
jon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud ofjon has much to be proud of
 



Thats perfect, thanks
__________________
j0n.org
jon is offline  
Old 08-27-2004, 02:55 PM   #4 (permalink)
NamePros Regular
Join Date: Jul 2004
Location: USA
Posts: 297
NameFusion is an unknown quantity at this point
 



Yeah, CSS works great!
__________________
$6.95 Enom Reseller with $43.25 + PDQ + 15 Resellers for $250!!

HELP! TO FIGHT AGAINST CANCER AND OTHER DISEASES:
http://www.grid.org/services/teams/team.htm?id=9DBE5401-E18A-4558-8788-20D9F6B5CFF4
NameFusion is offline  
Closed Thread


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


 
All times are GMT -7. The time now is 02:26 PM.

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