@PattonDec 02.2006 — #You can use this [code=html]<link href="cssfile.css" rel="stylesheet" type="text/css">[/code] Or: [code=html]<style type="text/css"> <!-- @import url("cssfile.css"); --> </style>[/code] The above code is good is you want to have styles on the page, and have external ones, or if you want to have more than 1 sheet attached.
Remember, in the CSS file, you do not need to start with "<style type="text/css"> and end with "</style>".
Your CSS file just start with CSS, example, your CSS file could look like this: [code=html]p { color: #000000; }[/code] Just doesn't require an starting and ending tag.
THese do go in hte <head></head> part of your site.
@_Aerospace_Eng_Dec 02.2006 — #No CSS can't have html in it. It is only for styling the html. You'll need to look into server side includes if you want certain links to be on all of the page.
@_Aerospace_Eng_Dec 02.2006 — #I guess I'm not sure what you are asking. Explain your self better. You want to include a url in your external stylesheet? Or you want to use an external CSS but you only want it to apply to your navigation?
@rdubauthorDec 02.2006 — #What I'm trying to accomplish is only having to make changes to a navigation bar once and have it be reflected on all pages of a website. If I can't include the various links in the external css, perhaps using php and mysql, with formatting of results with external css, might work.
If I have a 40 page site, it would become time consuming to have to make changes to all 40 pages if there is a slight change or an addition in one of the links in the navigation bar.