homepage Welcome to WebmasterWorld Guest from 54.197.147.90
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Dreamweaver & CSS
Im new to this!
kingkelly




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

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]

 

colorspots




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

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.

kingkelly




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved