Welcome to WebmasterWorld Guest from 184.73.8.127

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver & CSS

Im new to this!

   
6:30 pm on Mar 4, 2003 (gmt 0)

10+ Year Member



right now, i have this style thingy embedded into my head tag, and would like to turn it into a seperate CSS file so all my pages can use it.

<!-- FREE code from WWW.SOMESITE.NET, LLC
A:link{
color:#999999;
text-decoration:none;
}
A:hover{
color:#000066;
text-decoration:none;
}
A:visit{
text-decoration:none;
}
//-->

Also i have some other links on one of my pages that needs to have a different colour. how do i do that? Is there an easy way to do it in dreamweaver?

[edited by: Nick_W at 6:32 pm (utc) on Mar. 4, 2003]

8:03 pm on Mar 4, 2003 (gmt 0)

10+ Year Member



There are a couple of ways to do this.

1. copy and paste the cody into a new file and save it as
a putyourfilenamehere.css file. In the head of the document reference the file.
<LINK REL=stylesheet HREF="putyourfilenamehere.css" TYPE="text/css"> Of course remove the code from the html file.

2. Click Text, and go to CSS Styles and click edit. It will have you save the file as a .css file.

8:37 pm on Mar 4, 2003 (gmt 0)

10+ Year Member



Nice thats what i wanted to know... How would i add to that CSS though? I need a seperate set of links colours for another part of the page.