The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

help with CSS and links

I have long seen the point of CSS, but it's for reasons such as the following that I have avoided them until I started redesigning this site. Temporarily, the link is http://www.livingpages.net/anc. The front page is not yet done. Tomorrow I will add some hidden layers and DIVs (if I can figure them out). and it will end up looking good. The menu on top works for navigation so you can see what I am referring to.

Throughout the site, when there are links, they are #CCCCCC (lt. grey). Now the reason for this is because of the menus on top. When those menu (javascript) are any other color, then it ends up being too dark, or whatever, so I want to keep those menu items that color. I tried to create a class for these, but I can't seem to implement them, so I reversed the process and tried to use those classes on links in the main part of the HTML...it was supposedly easier. However, the links in the HTML don't seem to want to change away from the standard "link" tags. Could someone help me on this. If you need to download the CSS sheet to look at it is at http://www.livingpages.net/anc.css

Thanks.
Sketch

PS. Any other tips you have are good, but keep in mind this is a prototype site still. :-)

Well, for starters, it appears that your stylesheet is not working properly. All of your text is huge and the text links are not gray at all but the normal blue. When I downloaded your stylesheet it opened up and was blank. Did you possibly overwrite the right one with a blank page?

Oi! sorry about the CSS not working, it appears, that my pages keep looking for the style sheet in the wrong place and I have to fix that.

But my question is about defining the "a.footer". Does it have to use a. in the definition in order for it to be used for links or can I naem it however. The reason why I ask is,,except fora different class name, my tag looked like what you just typped, unless I'm mistaken...

Anyways, take another look at it, and maybe redownload my style sheet cause I just repuploaded everything to make sure it is current.

okay, the CSS file is in the right place now and all the pages are pointing at it. My question remains, but now I add to it slightly. I notice that in my HTML, Dreamweaver has this link twice

Code:

<link rel="stylesheet" href="anc.css" type="text/css">

the first tag is before the javascript for the menu. The second tag is after the menu, before the <BODY> tag. If I created a new stylesheet for the body and redefined those link colors, etc. in that CSS, could I refer to it in the second <link rel=> tag and not affect the menu bar? Am I making sense?