HighDots Forums  

attching stylesheet to entire site

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss attching stylesheet to entire site in the Macromedia Dreamweaver forum.



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

Default attching stylesheet to entire site - 08-03-2004 , 10:24 AM






http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=189&thre
adid=832268&highlight_key=y&keyword1=stylesheet

I have read the above post, but my problem is different. I want to attach one
stylesheet to entire site. my webpages are simple html file (no server side
scrpting). Can I attach a stylesheet to all of my web pages without opening
everypage and doing so manually.

Or perhaps u can tell me another way to solve my problem. My problem is that I
want to change the font of my body tag to Arial. Is there any easy way to do so.
regards


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: attching stylesheet to entire site - 08-03-2004 , 10:35 AM






Find and Replace -

Find - </head>

Replace - <link rel="stylesheet" href="/css/foo.css" type="text/css"></head>

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"hasanali00" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=189&thre
adid=832268&highlight_key=y&keyword1=stylesheet

I have read the above post, but my problem is different. I want to attach
one
stylesheet to entire site. my webpages are simple html file (no server
side
scrpting). Can I attach a stylesheet to all of my web pages without
opening
everypage and doing so manually.

Or perhaps u can tell me another way to solve my problem. My problem is
that I
want to change the font of my body tag to Arial. Is there any easy way to
do so.
regards




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

Default Re: attching stylesheet to entire site - 08-04-2004 , 07:59 AM



Do u mean opening every file and then entering <link rel="stylesheet"
href="/css/foo.css" type="text/css"></head> ??

Another easier way I have found out is that if I am using templates, and then
I attach a stylesheet to that template, it affects every page that uses that
template. this is less time consuming.


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: attching stylesheet to entire site - 08-04-2004 , 08:03 AM



Quote:
Another easier way I have found out is that if I am using templates, and
then
I attach a stylesheet to that template, it affects every page that uses
that
template. this is less time consuming.
Of course. But that wasn't the question.

Quote:
Do u mean opening every file and then entering <link rel="stylesheet"
href="/css/foo.css" type="text/css"></head> ??
No. I mean doing a sitewide Find and Replace to do this.

Warning - changes made to files that are not open cannot be reversed.
Please make a backup of the site files first.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"hasanali00" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Do u mean opening every file and then entering <link rel="stylesheet"
href="/css/foo.css" type="text/css"></head> ??

Another easier way I have found out is that if I am using templates, and
then
I attach a stylesheet to that template, it affects every page that uses
that
template. this is less time consuming.




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.