...

View Full Version : preview templates in dreamweaver, I only see code in the browser



nikos101
11-17-2007, 08:19 PM
When I preview templates in dreamweaver I only see code in the browser. It used to be that I got a proper page preview. Can anyone explain what could cause this?

_Aerospace_Eng_
11-17-2007, 08:20 PM
Is the code syntax highlighted? If its not then its likely you are just using a text document rather than an actual html file.

nikos101
11-17-2007, 08:26 PM
Well the extension is .dwt

The annoying thing is that it used to work fine when previewing with templates.

Or maybe it was just my imagination. Maybe it was just looking at the page and pressing f5 when I saved the template but I don't think that was the case.

_Aerospace_Eng_
11-17-2007, 08:38 PM
Apply the template to an html page and just preview that.

nikos101
11-17-2007, 10:30 PM
yeah I suppose

cheers again mate appreciate the time

fl00d
11-18-2007, 12:42 AM
yeah I found Dreamaweaver's preview is not to be trusted. What looked fine in Dreamweaver, looked TERRIBLE in a real browser, and vice versa. Also sometimes I find Dreamweaver doesn't load images (preview again) but they show up in Firefox.

nikos101
11-18-2007, 10:21 AM
yeah , you have to take the good with the bad. I still depend on dreamy though

PeaTearGriffin
11-18-2007, 05:25 PM
What version of dreamweaver you using? My preview works fine for firefox, but it doesn't load for IE. Sometimes certain things won't show because it uses the wrong path since it creates it in the templates folder.

Actinia
11-18-2007, 05:42 PM
You can select your template file ...dwt, right click and choose 'open with', then select your browser.

If you want to do this regularly, you can use File Options on the .dwt files to give your browser as an option when you right click.

John Rostron

nikos101
11-19-2007, 12:20 AM
version cs3

nikos101
11-20-2007, 11:12 AM
If I open with firefox by right clicking in dreamweaver it works fine, but if I press F12 (preview in firefox) it doesn't work.

btw what do you mean by file options

Actinia
11-21-2007, 10:00 PM
btw what do you mean by file options

Sorry, I should have said Tools, Folder Options, File Types, from the blue top menu bar in Windows explorer.

John Rostron



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum