Why is the formatting missing from my html page created from a template?

Hi All!
Hope you can help me.
I've created a new template in dreamweaver - all good. When I preview the template page in a browser everything looks perfect.
But when I create a new html page from that template, even though the page looks perfect in design view, all the formatting is missing when I preview it in a browser.
The site settings were relative to the site root and I've changed that to be relative to the document (not sure if that should make a difference). Either way, it hasn't changed anything.
Any ideas?

The site settings were relative to the site root
If you have not enabled "Preview using temporary files" in your PREFERENCES then site root relative links will fail on preview. Why? Because site root relative links *always* begin with "/", and when the browser sees that, it (since it knows nothing about Dreamweaver sites) correctly looks for the path starting from the root of your hard drive, not the root of the DW site. When you enable preview using temp files, before handing the file to the browser, DW obligingly converts all root relative links to document relative links (which *will* work on preview) but to do that it must create a temporary file (there are other things that happen as well, like external files being embedded in the code for the preview, but that is not relevant to this discussion). The reason a temp file is created is so that these changes don't affect your saved file.
So, if you want to use site root relative links, and do previews of your pages, you must enable the temporary files in preview. There is really no downside to doing this except that you may occasionally see a curious file named xzys139(.html in your local file list - this is a temporary file that was handed to the browser for preview, and for whatever reason was not deleted. In fact, this can save your bacon sometimes because it gives you a 'backup' of that page to which you can revert in the event of something catastrophic.
In the larger picture, there is no benefit to using site root relative links UNLESS you are also using server-side includes. It will make your life a bit simpler if you do not use them.
Finally, having made those links in your template file with the site root relative option enabled, changing that option to document relative will only affect NEW links, not existing ones. This is why Ken asked to see the link in your template - it's because he knows that even though you have made the option change, that old link will not be affected and will therefore fail on preview (assuming you have not enabled the temp file thing).

Similar Messages

  • Why is the macbook missing from Apple online store ?

    Why is the Macbook missing from the Apple Online store ? Can someone let me know what's going on ?

    Gone, *poof*.
    I miss it and I think Apple should have kept it around as it's low key machine, great for kids and adults who didn't like a lot of flash.
    Now the 13" MacBook Pro is considered the equivalent on a similar performance basis, however it has the bright silver rich looking case that draws thieves attention and really isn't a "Pro" machine at all with it's inferior low performing integrated graphics.
    Heck most $500-$800 Windows laptops are just the same in performance and has a larger 15" screen.
    If you need a anti-glare screen you have to opt for the 15" or 17" MacBook Pro and pay $50 more for the anti-glare, but it's worth it. The 13" doesn't have a anti-glare option, but we are petitioning Apple to include that option.
    I think Apple considered the MacBook as a educational computer, thus replaced it for a line of iPads which make considerable more margins and provides less hardware benefits as all the hardware features, stand, keyboard etc. are separate purchases.

  • Vision Acquisition Software installed, BUT why is the IMAQdx missing from the function palette?

    I just installed to the labview 2011, and many other modules and softwares including this VASAugust2010. But the IMAQdx is missing from the function palette (vision and motion). However the NI-IMAQ 4.5, IN-IMAQ IO 2.4.0 and NI-IMAQdx 3.7 are all clearly listed as installed in the NI software (contorl panel -> program - NI). In MAX, my usb webcam is also listed as NI-IMAQdx Devices and works well under MAX. But my own program is broken because the LV can't find those functions. So why the IMAQdx funtion is missing and how to fix it?  
    Thanks,
    Lei

    hi tommy
    check this may helps you http://digital.ni.com/public.nsf/allkb/A451D3CCBB740716862578FC004DB392
    Sasi.
    Certified LabVIEW Associate Developer
    If you can DREAM it, You can DO it - Walt Disney

  • Why is the content missing from my messages in the Mail app?

    Yesterday, because my email addresses are changing, I modified the settings to my accounts in the email application Mail so that they properly connect to the new email addresses and settings.
    Most of the accounts are working fine. However, in one of them, it appears the content of nearly all the messages (both received and sent) are missing or not displaying. The program sees that there are different messages and lists them properly in the Inbox and Sent sections but when I try to preview or open them, a blank white screen with the message "Loading..." appears where the message content should.
    I did not delete anything that would have affected these accounts in this way, yet this is happening. I tried restarting Mail but the same problem persists. Again my other accounts in Mail seem to be fine.
    BTW, I use Mac OS X v. 10.7.5 (Lion).
    What can I do to restore the messages?

    Would rebuilding the mailbox help? Or have people not had a good experience with that?

  • Why is the padlock missing from System Preferences, App Store?

    I noticed that System Preferences, App Store no longer shows a padlock at the lower left hand corner, yet other System Preference windows show the padlock. Why is that? Is there a way to restore the padlock? I have already tried "repairing" my install and the padlock did not come back. Thank you.

    This will answer everyone of y'all, why some have it and why some don't.
    System Preferences---> Security & Privacy---> (unlock the PadLock)---> Advance---> checkmark the "Require an administrator password to access system-wide preferences."
    Before I checked that, I had the same set up as FoxFifth. Where App Store, Time Machine and others did not have the PadLock. However, after checking it. The App Store and Time Machine did have a PadLock.
    KOT

  • Why are the videos sent from my daughter's iPhone 4 to my 4S in 3gp format? i need to drag to desktop - open with QuickTime - convert - reimport into iPhoto.

    why are the videos sent from my daughter's iPhone 4 to my 4S in 3gp format? i need to drag to desktop - open with QuickTime - convert - reimport into iPhoto. There must be another way.  Plus

    Hey joshuafromisr,
    If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    or here:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Best,
    David

  • Why is the formatting in my Contact list screwed up?

    Why is the formatting in my Contacts list screwed up?  The State in the address list is missing and "Netherlands" is added to all of my US addresses. This occurs after I sync in iTunes, but the Contact is listed normally in Outlook.

    I am using Apple Mail.  For some reason it is working right again. Who knows why!
    Thank you for taking the time to reply to me.  Even though you didn't sollve my problem, I appreciate the effort!
    Message was edited by: Peggie

  • KEYNOTE: Why change the format of the presentations? not respect the original format!

    Why change the format of the presentations? Keynote not respect the original format!
    This new versionof Keynot (6.1-1769) is very poor:
    is very slow
    missing fonts
    changes the selected letters
    change the formats of the presentations
    Carousel animations missing
    Please correct the defects before releasing a new version. (The previous version was much better).

    Found the solution!
    I must set the Formats in the CODEC to get the Format that I want to play with! I was trying to complicate too much!
    The correct format class to is RGBFormat.
    RGB

  • Why is the stub generated from the implementation and not the interface?

    Why is the stub generated from the implementation and not the interface?

    Because if a remote server object implements multiple remote interfaces, its stub must implement all the same remote interfaces. The only way to know which interfaces to implement is to examine the server object class.

  • How to get the source code of an HTML page in Text file Through J2EE

    How to get the source code of an HTML page in Text file Through J2EE?

    Huh? If you want something like your browser's "view source" command, simply use a URLConnection and read in the data from the URL in question. If the HTML page is instead locally on your machine, use a FileInputStream. There's no magic invovled either way.
    - Saish

  • How do I see the source code of a html page?

    In previous versions it was possible to read the source code on a html page from "view" menu. It is not longer there. How do I read code now?

    You're welcome

  • How to get the source code of an HTML page in Text file Through java?

    How to get the source code of an HTML page in Text file Through java?
    I am coding an application.one module of that application is given below:
    The first part of the application is to connect our application to the existing HTML form.
    This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
    The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
    Could any body provide coding hint for that

    You're welcome. How about awarding them duke stars?
    edit: cheers!

  • To know the Status code of a HTML page using Javascript

    To know the Status code of a HTML page using Javascript

    Hello,
    I am not sure to understand, which status are you talking about? The HTTP Status?
    If your javscript is executed it is more or less sure that the HTTP Status is 200 since the request is back to the browser.
    or are you talking about this is in the context of a XMLHTTPRequest call ?
    Regards
    Tugdual Grall

  • How to have the format bar on top in pages

    how to have the format bar on top in pages?

    Do you mean Pages, the Word like application in iWork?  If you do, I can ask the moderator move your thread to the Pages forum.

  • HT2589 Why did the App store make me purchase Pages again?  I already bought Pages, Keynote and Numbers for my Ipad and I want to download them on my Mac Book Pro and they aren't in the purchases tab.

    Why did the app store make me purchase Pages again?  I already bought Pages, Numbers and Keynote for my Ipad and want to download them onto my Mac Book and they aren't in the purchases tab.  I thought I would try clicking on the buy button for Pages, thinking, it would say I already purchased this app, but it didn't.  Where are all my purchases?  I used the same Apple ID I use for all my Apple devices.  Help!  I really don't want to buy them all again.

    The version of Pages, Keynote and Numbers for the Mac will be different than the iOS version and will require a separate purchase.

Maybe you are looking for

  • Will Time Capsule replace an ATV 1st Gen?

    Will the Time Capsule act as a replacemnt for my aging ATV1st Gen? It has a large HD capacity and wireless streaming, so will sync with iTunes and stream content to my Airport Expresses? Thanks.

  • How can I get the window to expand when the TOC is shown?

    Hello all, We have changed our javascript call to open WebHelp in a narrow window. By design and by default, the TOC does not initially show. When the "Show TOC" button is clicked, we wish for the window to expand to accomodate the navigation pane. A

  • MB1C Upload Program Coding Block Screen

    Dear Experts,                    I have created an upload recording of mb1c transaction. After adding header data I have created it's classification entries. Recording has been created successfully. But; when I execute this recording to upload tab-de

  • UDP Furewall setting in 10.4.6 - What does it block?

    For Tiger I'm unclear about what I would be blocking if I activated the UDP setting in Firewall. I am not networked to other computers except through a router for internet access in which my MAC is the primary. There's no direct file sharing or inten

  • Extremely bad read/write latency on iSCSI datastore

    Hello, I have a single host in my test lab which is having very bad read/write latency to an iSCSI datastore.  All of my hosts have 1G ethernet, other hosts in the lab are not having this issue.  What can I check to help isolate this issue?  Are ther