Reapplying CSS to existing pages

Okay, I should have known better, but now it's too
late...
I inherited some online help files from a predecessor whose
housekeeping wasn't to my liking. So I decided to rearrange some of
the file folders he left me so their hierarchy would be consistent
across all documentation books within the company. Unfortunately, I
did this outside of Dreamweaver and as a result, I think I broke
the link between the style sheet and the the text pages.
In other words, if I look at some of the pages, their styles
are gone (wrong fonts, wrong size, wrong positioning on the page,
etc.) and if I try to re-apply the old styles, I don't see them in
the style field so can't replace them.
So how do I get the pages hooked up with their cascading
style sheet again?
Yep, I'm a dummy.
Karyn

I don't know your folder structure but basically, in each
folder, select a page and re-link the style sheet through the
normal way (attach style sheet in the styles tab) If you only have
a few pages, do this manually. If you have a lot of pages, use find
and replace, change the broken links to the correct link and select
folder and that should do it.
Then repeat for each folder where you have broken links. If
all or most of your folders are the same relative link to the CSS,
you can select multiple folders and then use selected files in find
and replace.
Unfortunately, there is often a lot of manual work when an
old site is revamped. Seems like nobody ever likes the old guy's
structures...

Similar Messages

  • Inserting xsl into existing page

    Hello ..
    I am now attempting to add an .xsl file I created into an
    existing page. I am unsure of how to add this into my page ..here
    is the xsl file below. Thanks Rob
    <?xml version="1.0" encoding="utf-8"?><!--
    DWXMLSource="
    http://hosted.ap.org/lineups/WORLDHEADS-rss_2.0.xml?SITE=CAANR&SECTION=HOME"
    --><!DOCTYPE xsl:stylesheet [
    <!ENTITY nbsp "&#160;">
    <!ENTITY copy "&#169;">
    <!ENTITY reg "&#174;">
    <!ENTITY trade "&#8482;">
    <!ENTITY mdash "&#8212;">
    <!ENTITY ldquo "&#8220;">
    <!ENTITY rdquo "&#8221;">
    <!ENTITY pound "&#163;">
    <!ENTITY yen "&#165;">
    <!ENTITY euro "&#8364;">
    ]>
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" encoding="utf-8"/>
    <xsl:template match="/"><link
    href="Level1_Arial.css" rel="stylesheet" type="text/css" />
    <xsl:for-each select="rss/channel/item">
    <table width="440" border="0">
    <tr>
    <td bgcolor="#CCCCCC">
    <a href="{link}"><xsl:value-of select="title"
    /></a></td>
    </tr>
    <tr>
    <td><xsl:value-of
    select="description"/></td>
    </tr>
    </table>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>

    Can anyone help me with this please? thanks Rob

  • DW Template created from existing page looks fine in IE7,FF,Opera,Netscape but Not IE6

    I am working on a website that I want to make certain pages
    into templates for re-use.. I have an existing page designed
    outside of DW that looked great in IE6,IE7,FF,Opera, and Netscape
    but the moment I saved it as a Template and then created a new page
    and look at the new page in IE6 the css is off... Not so off that
    the CSS is not being used but just not right, but If I look at it
    in anyother browser it's fine... Is DW "fixing" my code for me?
    I've looked through the settings and all the Code Rewriting options
    are unselected or is this a bug and can I get around it...

    Good luck. Looks like a bad site definition to me....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (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
    ==================
    "WhittleOne" <[email protected]> wrote in
    message
    news:f6lp83$pd3$[email protected]..
    > Nevermind I found it... It changed my links to
    stylesheets and js (which
    > where
    > flawed before not sure why IE6 was ok with them before)
    > From (after convert)
    > <link rel="stylesheet" type="text/css"
    href="/--newWWW/css/nav/nav.css" />
    > <link rel="stylesheet" type="text/css"
    href="/--newWWW/css/main.css" />
    > <script
    type="text/javascript"src="/--newWWW/scripts/misc.js"></script>
    > <script
    type="text/javascript"src="/--newWWW/scripts/dates.js"></script>
    > To (actually work)
    > <link rel="stylesheet" type="text/css"
    href="../css/nav/nav.css" />
    > <link rel="stylesheet" type="text/css"
    href="../css/main.css" />
    > <script
    language="JavaScript"src="../scripts/misc.js"></script>
    > <script
    language="JavaScript"src="../scripts/dates.js"></script>
    >
    > thanks for the feed back I just needed someone to tell
    me my code was crap
    > and
    > that it wasn't DW.... 8^)
    >

  • Adding New table to the existing page

    Hi,
    i have a task i.e i have to create a new UI(consista table structure) and add to the existing page.How can do this one.If any one knows please respond asap.
    This is urgent requirement.
    Thanks in advance.
    Bye
    Palakondaiah

    Hi,
    i have a task i.e i have to create a new UI(consista table structure) and add to the existing page.How can do this one.If any one knows please respond asap.
    This is urgent requirement.
    Thanks in advance.
    Bye
    Palakondaiah

  • Adding new elements to a Master Page and sharing them to existing pages

    I need to include new navigation elements on the master page
    and I want it to show up on pages I've already created. I've added
    the new elements on a layer of their own which is part of the
    master page, but the Share Layer to Pages... option is dimmed.

    jcbluesman wrote:
    > I'm using CS4, Jim, and here's a link to the .png
    > (
    http://idisk.mac.com/jconstant-Public/deimos.png
    >
    > The 3 tabs in the upper right on the master page are the
    ones I'm trying to
    > share across the existing pages. I created them in PS
    (also CS4), then imported
    > the .psd into this FW document, if that makes any
    difference.
    >
    > Thanks,
    > Jim
    >
    OK there are two related as I see it.
    Each of your pages consists of a solid, opaque bitmap for a
    main image.
    Master Pages, by default, are at the bottom of the layer
    stack. Your
    tabs ARE present, you just can't see them because they are
    covered up by
    the bitmap.
    Assuming you don't have those page images as multi-object
    elements,
    where you can edit the blue backgrounds, there are still two
    things you
    can do, both of which are pretty easy.
    Go into each page and temporarily reduce the opacity of Layer
    1.
    Use the marquee tool to draw a selection around the area of
    the tabs.
    Delete the selection.
    Return the lay back to full opacity.
    OR
    Try dragging the Master page to the top of the layer stack in
    each page.
    Hide or delete the Master page background.
    This option is a little trickier, but I was able to do it.
    Wait for the
    black bar to appear before you release the mouse. You may
    need to try
    this a few times before it works.
    HTH
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    Adobe Community Expert
    http://tinyurl.com/2a7dyp
    .:Author:.
    Lynda.com -
    http://movielibrary.lynda.com/authors/author/?aid=188
    Peachpit Press -
    http://www.peachpit.com/authors/bio.aspx?a=d98ed798-5ef0-45a8-a70d-4b35fa14c9a4
    Layers Magazine -
    http://www.layersmagazine.com/author/jim-babbage

  • How do i get rid of CSS on one page only?

    I have a website that is being hosted for me. I want to take
    a web page and make an ebay auction template out of it. I can't get
    rid of the CSS and it's driving me crazy. Everytime I want to
    change the text, it reverts back and posts the CSS code in the
    page. I don't want that.
    The site uses CSS, and I have not done a website in years and
    CSS is still a little french to me & kind of a pain in the ***
    since I have not much idea of how it works.
    How do I get rid of the CSS for a page within a website that
    uses CSS, or am I SOL? Does eBay allow CSS?
    Help!

    Last try and then I give up :-)
    > .style1 {font-family: Verdana, Arial, Helvetica,
    sans-serif}
    That's css in the head of the document right?
    When you say: <p>I type text here &amp; change the
    format</p>
    Do you change it via the property inspector and you end up
    with the css
    snippet above in the document? How do you change the format,
    what format do
    you use?
    From the portion of the code you've sent I can't see anything
    apart from the
    style for the font, so that itself won't give you 'red text'.
    I can only
    assume then, that there is something happening when you
    upload the page to
    the ebay server or whatever.
    Sorry I can't help any further, but I'm stumped without any
    further links or
    the code for the whole page.
    Nadia
    "Blow Me Down" <[email protected]> wrote in
    message
    news:[email protected]...
    > It's pointless to send you the html, because even when I
    open a new html
    > document with no css, in a new folder, with no css at
    all, I get css
    > automatically into the html if I try to change anything
    in the new html
    > page,
    > so it's dreamweaver that is making any page a css page.
    >
    > Here it is, text before I change the font:
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    > <title>Untitled Document</title>
    > </head>
    >
    > <body>
    > <p>I type text here &amp; change the
    format</p>
    > </body>
    > </html>
    > --------------
    > After I change to Verdaine:
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    > <title>Untitled Document</title>
    > <style type="text/css">
    > <!--
    > .style1 {font-family: Verdana, Arial, Helvetica,
    sans-serif}
    > -->
    > </style>
    > </head>
    >
    > <body>
    > <p class="style1">I type text here &amp;
    change the format</p>
    > </body>
    > </html>
    > ---------
    > It plops in the CSS, when there is no css set up for
    this site, my old one
    > from years ago. I can't even add a html only page w/o
    css getting plopped
    > in
    > there.
    >
    > Anyone else can help me on getting rid of CSS from a web
    page?
    > Sigh...
    >

  • How do I change the paper size in an existing Pages document?

    How do I change the paper size on an existing Pages document?

    So are your text box set to floating? You can tell that by looking in the Inspector>Wrap Tab when you select the text box.
    If I had to guess I would say that the text boxes are floating and when you change the size of paper the text that you have in the main body area is shrinking so that it does require as many pages and you are losing the text boxes at the end. Is that correct? If so, they are still there, you just have to add page breaks to get to the pages that you lost and you should see them again.

  • Apply Template to existing page problems

    I've coinstructed a Dreamweaver Template (dwt) that I want to apply to existing pages in a web site.  I have onle two editable regions defined right now, "doctitle" and "propertyinfo".  When I try to attach my template to a page,  [modify, templates, apply templates to page, select the dwt file, and click select] I get a window named "Inconsistent Regiopn names" which indicates two other editable regions, "document body" and document head".  I've tried various combinations to the "move content to a new region" and get bad results in that other areas of my page are replaced.
    Is there somethign I have to place in the page to resolve this?  I'm very confused by this issue.

    You're right on again.
    Asking for the "body" and "head" regions threw me off and my tenacity kicked in.  I played with that for hours until I came to the conclusion that producing an "empty" page from a DWT, then constructing each page from those was definitely the way to go.
    Thank you.
    Steve

  • How to edit an existing page in SharePoint designer and add custom javascript

    When I edit an existing page in SharePoint Designer to add JavaScript and save, I get a dialog with message
    "Content in the embedded form field may be changed by the server to remove unsafe content. Do you want to reload you page to see the results of the save?"
    When I click OK it reverts my change. How do I add custom JavaScript to the page?

    Try not to push your changes through SharePoint Designer (SPD).
    We had severe problems with SPD saving page layouts in SharePoint, so you may use SPD to edit the page but not save it.
    To save it, check it out from browser, upload and overwrite then publish it.
    THosE wHo doN'T apPreCiATe LiFe, DOn't DeSerVe iT

  • Changing MasterPage for existing pages

    Hi,
    I like to change to MasterPage for existing pages in an document, I found the IMasterSpreadUtils and OverrideMasterPageItem, but it didn't work here. Unfortunately I found no example in the SDK, does somebody have an example for me?
    Or is there another (and better) way to change the MasterPage?
    Thanks
    Klaus

    I am using kApplyMasterSpreadCmdBoss.
    Try,
    InterfacePtr<ICommand> applyMasterSpreadCmd(CmdUtils::CreateCommand(kApplyMasterSpreadCmdBoss));
    applyMasterSpreadCmd->SetItemList(pageUIDList);
    InterfacePtr<IApplyMasterCmdData> applyMasterCmdData(applyMasterSpreadCmd, UseDefaultIID());
    applyMasterCmdData->SetApplyMasterCmdData(masterSpreadUIDRef, IApplyMasterCmdData::kKeepCurrentPageSize);
    CmdUtils::ProcessCommand(applyMasterSpreadCmd);

  • Edit existing page with new template

    I am using Contribute 4, and am trying to edit an existing
    page. it is my index page, and I want to start fresh with one of
    the templates provided. However, I can't find a way to completely
    delete all of the previous info, and THEN open a new template with
    that current page. I have no problems editing the page as it is,
    but I want to start new with this template. Any suggestions?

    Yes I have got it in the root folder which is called Templates
    ROOT FOLDER OF SITE
         |
         Templates > *.dwt
    Is it like this?  In other words is the Templates folder IN the root folder or is the Templates folder the root folder of the site?

  • In Adobe ExportPDF, can you take an existing PDF and delete existing pages?  For example, I have a 5-page report and need to delete pages 2-4.  Is this possible?  Thanks!

    In Adobe ExportPDF, can you take an existing PDF and delete existing pages?  For example, I have a 5-page report and need to delete pages 2-4.  Is this possible?  Thanks!

    Hi,
    You can do this with Adobe Acrobat.
    If you are using Export PDF it is a long procedure.
    You need to convert your PDF in word or powerpoint.
    Then you can edit the document & again can create PDF.
    Regards,
    Florence

  • How to customise existing pages using self service framework

    Hi,
    I am trying to customise the existing pages in internet expense module in oracle applications 11.5.9. I have taken an approach to use AK developer and Self Service Web Application Manager.
    I have created a new web inquiiry using these two. But unable to modify the existing pages. Unable to decipher the existing flow of pages - regions and how the attributes are laid out.
    Any help in this regard will be highly appreciated.

    I'm having the same problem too in trying to decipher the flow of processes and pages. Have you had any luck since you last posted this message? Please let me know if you have. Thank you.
    Hi,
    I am trying to customise the existing pages in
    internet expense module in oracle applications
    11.5.9. I have taken an approach to use AK developer
    and Self Service Web Application Manager.
    I have created a new web inquiiry using these two.
    But unable to modify the existing pages. Unable to
    decipher the existing flow of pages - regions and how
    the attributes are laid out.
    Any help in this regard will be highly appreciated.

  • Using Native Inspector Very Frequently Breaks CSS on Various Pages Completely Arbitrarily.

    Hello, I'm running Firefox 19 on Mac OSX 10.8.2 and I do web development sometimes.
    Lately, I became a big fan of the native inspector inside Firefox and I began using it often. At least 100 times a day.
    I found that using it this often breaks CSS on random pages, often pages I've never visited before. Around one in every 1000 pages is broken and the same sites are broken over and over.
    For example, my hosting's cPanel refuses to fetch the background images for the icons. There are pages where CSS stylesheets don't load at all (even though I can access them via view->source) and sometimes, the inspector itself just breaks and travels with me from tab to tab, site to site (I can't close it, have to close and re-open the window).
    I know I could create a new Firefox profile and manually copy over select content like my bookmarks, browsing history, etc. But before I resort to that is there some kind of a proprietary cache that is kept by the inspector that I could reset?
    (I've cleared my regular cache and cookies with no results).
    Thank you!

    Did you check if installed extensions aren't causing this problem?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Pages 5.0 won't open existing Pages '09 docs

    Upgraded to Mavericks and updated Pages.  However, new Pages 5.0 won't let me open older existing Pages documents saved on my Mac.  However, it will open Pages documents saved in iCloud.  When attempting to open Pages docs on my Mac, I get the following error message:
    How do I get around this?  Do I have to dig around and find my old iWorks disk and reinstall Pages '09?

    Sorry to be "that guy", but i've done that without an issue, I can now add pages by copying previous ones, but now Pages 4.3 groups a new page which is blank, with page 13. It also adds a the copy of the last page below the two that get grouped together.  So basically, I end up with 2 copys of page 13, and the original.

Maybe you are looking for

  • Problems with the selection of text or objects

    dear fireworks community! unfortunately i have problems with my running version fireworks (CS6) and i can't find any solution or even get help via the customer support. i can't switch between objects with a click, when i've choosen one already. i als

  • Unable to send emails, get error message that access to server is denied...problem began a few days ago

    For the past few days, since the Thunderbird update, I have been unable to send any emails from my thunderbird account. I have also tried going into my juno account online, and any emails that I send out come back with the mailer demon response - tha

  • Changing the Characteristic Values on the Query

    Hello Masters of the BW Domain Is there a way to display the values of a characteristic in a report based on a condition?  I have a characteristic called Rebates with only 2 valid values (Y and N).  Instead of showing it as Y and N, I want them displ

  • Labeling on a photo - Is there a program that works with iPhoto?

    I have a Mac Book Pro system 10.8.5. I want to put a description directly on some photos in iPhoto but not on all of them.  I have used photogenie on my iPad but want something similar for my Mac.  Any recommendations?

  • Cannot update BIOS (win7)

    Hi. Recently (12.3.2015) a BIOS update came out (SP70426, F.60Ap1, 9,79MB) and I proceeded to install it with HP Support Assistant. It downloaded withot any problems. After that windows restarted, but it took me straight to the log in screen and ever