navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Problem getting files to refer to correct style sheet

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Problem getting files to refer to correct style sheet
Page: [1]
 
khc

 

Posts: 7
Joined: 6/21/2007
Status: offline

 
Problem getting files to refer to correct style sheet - 6/21/2007 10:55:58   
I receive HTML files from a vendor that I then need to extract in order to update my site. My site has a stylesheet but when I extract these files into my site, they are placed in a folder with the name of the zip file from which they came. I then try to cut and paste them into the proper folder, but they retain in their HTML code a reference to a style sheet that contains the name of the folder from which they were moved. thus, my site's style sheet is not applied unless i manually update the HTML code of every file.

Each file contains the following reference to a style sheet: <link href="../stylesheets/stylesheet1.css" rel="stylesheet" type="text/css"> prior to being extracted. Is there a way to universally apply the style sheet of the folder into which these files are added?

Alternatively, is there a way to do a universal find/replace for a website that will update all the HTML to refer to the correct style sheet?

Thanks very much for any assistance.

< Message edited by khc -- 6/21/2007 11:30:57 >
rdouglass

 

Posts: 9167
From: Biddeford, ME USA
Status: offline

 
RE: Problem getting files to refer to correct style sheet - 6/21/2007 11:50:38   
Hi and Welcome to OutFront

FrontPage has a Replace menu item that should work globally across the whole site; include files included. Have you tried that?

Hope it helps.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to khc)
khc

 

Posts: 7
Joined: 6/21/2007
Status: offline

 
RE: Problem getting files to refer to correct style sheet - 6/21/2007 14:13:26   
Hi,

Thank you so much! That did the trick, although it took quite awhile. I'm still confused about stylesheets but at least I now have a workaround.

Thanks again for the quick response,

Kathleen

(in reply to rdouglass)
jaybee

 

Posts: 13959
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Problem getting files to refer to correct style sheet - 6/22/2007 7:26:08   
www.w3schools.com/css/

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to khc)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Problem getting files to refer to correct style sheet
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts