HighDots Forums  

the last question I will ever ask . . .

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss the last question I will ever ask . . . in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
wadds
 
Posts: n/a

Default the last question I will ever ask . . . - 07-09-2004 , 06:10 AM






I was pretty much okay making my web site in the wrong with with my OS 9
version of dreamweaver. Then, with help from people here, I started using CSS
rather than giff roll-overs and tables. So my web site now is pretty much
running well. Unfortunately I just moved to OS X and the new DW is rather
confusing. I bought "The Missing Manual" and I am getting used to things. BUT,
I have one FINAL question. (Hey, don't laugh.)
I have got the CSS working with my old styles which gave me indents etc for my
text stuff. The CSS I use for my links however was given to me by a kind soul
and I simply pasted it in all my index pages. This is it:
<STYLE TYPE="text/css">
a:link { color: black; text-decoration: none }
a:active { color: red; text-decoration: none }
a:visited { color: black; text-decoration: none }
a:hover { color: red; text-decoration: none }
</STYLE>
And now my question: since CSS is working really well in this version, how can
I make this style and save it rather than copy and paste????????

If I get an answer for this one I will throw ten yen into the prayer box next
time I go to the local shrine and thank the person who helped me!

Cheers

www.waddo.net

keith


Reply With Quote
  #2  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: the last question I will ever ask . . . - 07-09-2004 , 06:32 AM






wadds wrote:

Quote:
I was pretty much okay making my web site in the wrong with with my OS 9
version of dreamweaver. Then, with help from people here, I started using CSS
rather than giff roll-overs and tables. So my web site now is pretty much
running well. Unfortunately I just moved to OS X and the new DW is rather
confusing. I bought "The Missing Manual" and I am getting used to things. BUT,
I have one FINAL question. (Hey, don't laugh.)
I have got the CSS working with my old styles which gave me indents etc for my
text stuff. The CSS I use for my links however was given to me by a kind soul
and I simply pasted it in all my index pages. This is it:
STYLE TYPE="text/css"
a:link { color: black; text-decoration: none }
a:active { color: red; text-decoration: none }
a:visited { color: black; text-decoration: none }
a:hover { color: red; text-decoration: none }
/STYLE
And now my question: since CSS is working really well in this version, how can
I make this style and save it rather than copy and paste????????

If I get an answer for this one I will throw ten yen into the prayer box next
time I go to the local shrine and thank the person who helped me!

Cheers

www.waddo.net

keith

Perhaps save it as a snippet?
But the style is wrong and might fail in some cases:

1. Use lower case only. In case you'll do a xhtml document later, it
won't validate with upper case letters.
2. The order of the "pseudo" classes should be link, visited, hover, active.

Hope it helps. I can use some godly support..

--
Dan Vendel - *GOF*
Contact: http://www.proformica.com/en/contact.shtml
Formmail tutorial: http://www.proformica.com/en/formmail_tutorial.shtml
Nested tables: http://www.proformica.com/en/nested_table_demo.shtml
SEO: http://www.proformica.com/en/search_engine_optimization.shtml
SE Utility: http://www.proformica.com/en/advanced_web_ranking.shtml
Search Dreamweaver newsgroup: http://www.proformica.com/google.html


Reply With Quote
  #3  
Old   
mschultz
 
Posts: n/a

Default Re: the last question I will ever ask . . . - 07-09-2004 , 10:11 AM



Consider exporting your CSS to its own file and then linking to it. That way you will only have to change it once if you want to update those styles in your pages.

Reply With Quote
  #4  
Old   
Michael Fesser
 
Posts: n/a

Default Re: the last question I will ever ask . . . - 07-09-2004 , 10:13 AM



.oO(Dan Vendel *GOF*)

Quote:
Perhaps save it as a snippet?
But the style is wrong and might fail in some cases:
[...]
Additionally it could be shortened:

a:link { color: black; text-decoration: none }
a:visited { color: black; text-decoration: none }
a:hover { color: red; text-decoration: none }
a:active { color: red; text-decoration: none }

This can be reduced to

a {color: black; text-decoration: none}
a:hover {color: red}

Micha


Reply With Quote
  #5  
Old   
~Flash~
 
Posts: n/a

Default Re: the last question I will ever ask . . . - 07-09-2004 , 10:47 AM



mschultz took the words right out of me... it's always best to make an external css so you just update that and it changes all the pages.

Flash

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.