Two sites up in three days!
Re: [MalaK_3araby] Two sites up in three days!
1. Create a stylesheet file: In the header of the templates, cut everything from <style type="text/css"><!-- [/#008040]all the way down to --></style>[/#008040] That is the style information. Paste this into a blank page using notepad (or some text based editor), and name the file: filename.css The extension .css is the important part, name it whatever.
2. FTP this file to your site.
3. If you put this file in the root of your website, add into your header the following: <link rel="stylesheet" href="[/#008040][url "file:///C%7C/Scarlet%20Thread/templates/artman.css"]URL/filename.css[/#008040][/url]">[/#008040] The URL should be hardcoded, not relative (../). If you put it in a folder, just make sure you have the right reference (ie, if you put it in the folder "artman" it would be: <link rel="stylesheet" href="[/#008040][url "file:///C%7C/Scarlet%20Thread/templates/artman.css"]URL/artman/filename.css[/#008040][/url]">[/#008040]
4. In all your other templates, just cut out the section in step 1 from them, and place the call from step 3 in its place.
Now, when you make a style change to this file (filename.css), all of your templates will change. That is, after you FTP the revised file out to your website.
Note: If you are using a WYSIWIG for your HTML, it won't like that (it can't write changes to a file out on the web, and might not read them from your working view), so while you are making changes, add the file to your header however your WYSIWIG would do it, but before saving and sending your template out to your site, change the href to: <link rel="stylesheet" href="URL/filename.css">
Hope that helps!
Re: [thankful] Two sites up in three days!
By (Deleted User) - August 29, 2002