...

View Full Version : How I apply an external css to all webpages[asp,html or php,html) of a website folder



lse123
12-06-2007, 09:44 PM
How I apply an external css to all webpages[asp,html or php,html) of a website folder with one command ?

lse123
12-06-2007, 09:54 PM
I use dreamweaver mx 2004.

Rappa
12-06-2007, 10:21 PM
well you have to link them in each page via the header:

<link rel="stylesheet" type="text/css" href="location.css" />

Actinia
12-07-2007, 12:38 PM
With Dreamweaver (and I'm sure other editors) you can do a global search & replace of every file in your site. You could change every instance of <head> to
<head>
<link rel="stylesheet" type="text/css" href="location.css" />

If you are using Dreamweaver (and others) you can just add the link to the template for the site.

John Rostron

shakir
12-09-2007, 04:21 PM
No specific command. You can write script VB Jave for editing the file and adding link of the css file to each asp html php file. Or u have to add manually 1 by 1



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum