3个带有.DWT页面的问题 [英] 3 ISSUES with .DWT page

查看:67
本文介绍了3个带有.DWT页面的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天,

我的master.dwt页面似乎出现了问题。

1st - 使用此dwt页面创建的一些页面会更改页脚字体,字体大小和其他内容。有没有办法在错误的页面内纠正这个问题?由于我找不到这样做的方法,我开始创建所需的同一页面的新页面,这似乎有效。但是这会让我发现#2 ....

第二 - 当创建相同的页面并返回到它进行编辑和保存时,我现在收到一条错误消息,说明:此页面包含一个需要不同文件扩展名才能正常运行的组件。您应该使用文件扩展名"master"重命名此页面。

我没有在这个网站上使用任何ASPX页面,它想要将创建的html页面保存为附加了dwt的.master?为什么会这样?所有页面都是HTML

第三 - 因为我已经上传了新创建的页面,所以它在IE7中看起来很好但现在在左上角的Firefox中出现了这个标题之前...

<%@ master launguage =" c#" %取代。有关为什么会发生这种情况或如何修复的任何想法?

以下是显示该编码的页面示例。 http://www.test.ddfarmsinc.com/products/perennials/perrennials__1_quart_pots.html (请在firefox中查看问题。)

提前感谢您,

Ben

解决方案

切换到代码视图并删除:
<%@ master launguage =" c#" %>


然后将页面保存为html页面。




Good day,

I seem to be having problems with my master.dwt page.

1st - Some of my pages created with this dwt page changes the footer font, font size and other things. Is there a way to correct this within the incorrect pages? As I could not find a way to do this I started to create new pages of the same page needed and that seems to work. BUT this brings me to issue #2....

 

2nd - As creating the same page over and go back into it to edit and save I now get an error message stating: This page contains a component that requires a different file extention to operate properly. You should rename this page with a file extention of "master". 

 I am not using any ASPX pages in this site and it wants to save a created html page as a .master that had a dwt attached to it? Why is this happening? All pages are HTML

 

3rd - As I have uploaded the newly created page it look fine in IE7 but now in firefox in the top left corner before the header this appears...

<%@ master launguage= "c#" %>.     Any ideas of why this is happening or how to fix?

 

Here is a sample of a page with that coding showing up. http://www.test.ddfarmsinc.com/products/perennials/perrennials__1_quart_pots.html (please view in firefox to see the issue.)

 Thank You in advance,

Ben

 

解决方案

Switch to code view and remove:
<%@ master launguage= "c#" %>

Then save the page as a html page.

 

 


这篇关于3个带有.DWT页面的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆