| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Aug 2004 Location: uk
Posts: 1,378
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
| | #2 (permalink) |
| Sheriff Of Nothing Join Date: Apr 2004 Location: Florida
Posts: 220
![]() | 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 |
| |
| | #4 (permalink) |
| NamePros Regular Join Date: Jul 2004 Location: USA
Posts: 297
![]() | 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 |
| |