Dreamweaver CS4 - 如何在浏览器中预览?
我是 Dreamweaver CS4 的新手,正在制作我的第一个网站。我看过很多教程,他们都只需单击“在浏览器中预览”按钮,他们就可以看到他们的页面在 Firefox/IE/等中是什么样子。
但是,当我单击“在浏览器中预览”时,会打开一个新的 Firefox 窗口,然后它会转到我的主页,仅此而已。
我需要进行哪些设置才能在 Firefox 中预览?
谢谢!
I'm new to Dreamweaver CS4 and making my first website. I've watched a lot of tutorials and they all just click the Preview in Browser button and they can see what their page looks like in Firefox/IE/etc.
But when I click Preview in Browser a new Firefox window opens up and it goes to my homepage and that's it.
What do I need to setup in order be able to preview in firefox?
THANKS!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不使用 Dreamweaver,尽管我将它作为 CS4 的一部分。但我刚刚打开应用程序,创建了一个测试 HTML 页面,保存它,然后按 F12(在浏览器中预览)。还有我的测试页。老实说,我不知道你可能做错了什么。我认为可能是您没有保存文件,但如果您尝试在不保存文件的情况下进行预览,您会收到一个警告对话框。
I don't use Dreamweaver, although I have it as part of CS4. But I just now opened up the app, created a test HTML page, saved it, and hit F12 (Preview in Browser). And there was my test page. I honestly don't know what you could be doing wrong. I thought it might be that you didn't save your file, but you get a warning dialog if you try to preview without doing that.
经过一番尝试后,我自己解决了这个问题。
首先,我必须去管理网站并编辑网站上的基本首选项。
我必须确保“浏览到站点根目录的 URL”有效。
就我而言,我必须添加:
file:///C:/Documents%20and%20Settings/Linda/My%20Documents/website1 /
After some playing around I fixed the problem myself.
First I had to go to manage site and edit the basic preferences on my website.
I had to make sure the 'URL to browse to the root of your site" is valid.
In my case it I had to add:
file:///C:/Documents%20and%20Settings/Linda/My%20Documents/website1/