How I apply an external css to all webpages of a website folder ? (Full Version)

All Forums >> [Web Development] >> Dreamweaver Help



Message


lsfphelpls -> How I apply an external css to all webpages of a website folder ? (12/6/2007 15:40:37)

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




jurgen -> RE: How I apply an external css to all webpages of a website folder ? (12/6/2007 15:50:20)

Put this in your head section.

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




lsfphelpls -> RE: How I apply an external css to all webpages of a website folder ? (12/6/2007 15:55:24)

How I apply an external css to all webpages[asp,html or php,html) of a website folder with one command ? I use dreamweaver mx 2004.




d a v e -> RE: How I apply an external css to all webpages of a website folder ? (12/6/2007 16:55:32)

use find and replace say replace

<head>


with

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


but back up your files first just in case it goes wrong




sticks464 -> RE: How I apply an external css to all webpages of a website folder ? (12/7/2007 1:36:17)

On the main menu click 'Text/CSS Style/Attach Style Sheet'. Use the browse button to find your style sheet. Make sure the 'Add As' radio button is checked. Click ok. It will add the link to the head section of your page. You will have to do this for each page or copy/paste the link from the first page to each subsequent page.




d a v e -> RE: How I apply an external css to all webpages of a website folder ? (12/7/2007 2:36:57)

sticks464 - the OP was looking for 'single command' to do this: your method means opening each page within the folder and is too laborious for more than a few pages ;)




lsfphelpls -> RE: How I apply an external css to all webpages of a website folder ? (12/7/2007 4:35:23)

This "replace command" can be applied at once, to the whole website's webpages ?




d a v e -> RE: How I apply an external css to all webpages of a website folder ? (12/7/2007 5:08:50)

well the path has to be right so you can at least do it for most folders - you originally mentioned just a folder, not a whole web site - so as long as you keep that in mind then you can do all the folders that share a common pathway...





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875