好的IE ...在Firefox中很糟糕......很多开发错误。有人可以帮忙吗? [英] Good in IE...bad in Firefox...lots of dev errors. Can anyone help?

查看:44
本文介绍了好的IE ...在Firefox中很糟糕......很多开发错误。有人可以帮忙吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前在另一组中收到此消息,我被告知要在这里尝试
。希望有人可以提供帮助。网站是在Dreamwaver创建的

MX 04,我不明白为什么会有这么多错误或如何修复

他们。原始帖子可以在这里找到:
http://groups.google.com/group/mozil...6dbd2754e85252

我'我们一直在开发我们公司的新网站和很多

这些页面在firefox中的一个方面看起来与在IE中看起来不同。

他们正确显示在IE但不是Firefox。以下是链接:

http://paymca.org /newy3dex/news.htm


如果你看一下页面(和其他人一样喜欢它)你会注意到

在Firefox中,它扩展了蓝色的背景。部分并将

图形滚动到重复但是在IE中它只是停止图形所在的位置

结束。我该如何解决?谢谢

I had this message previously in another group and I was told to try
here. Hopefully someone can help out. Site was created in Dreamwaver
MX 04 and I cna''t figure out why there are so many errors or how to fix
them. Original thread can be found here:
http://groups.google.com/group/mozil...6dbd2754e85252
I''ve been working on our company''s new website and a lot of
the pages look different in one aspect in firefox than they do in IE.
They display correctly in IE but not firefox. Here is the link:

http://paymca.org/newy3dex/news.htm

If you look at the page (and osme of the others like it) you''ll notice
that in firefox, it extends the blue "background" part and rolls the
graphic over to a repeat but in IE it just stops the graphic where it
ends. How do I fix this? THanks

推荐答案

ridergroov schrieb:
ridergroov schrieb:

我之前收到此消息在另一组中我被告知要在这里尝试
。希望有人可以提供帮助。网站是在Dreamwaver创建的

MX 04,我不明白为什么会有这么多错误或如何修复

他们。原始帖子可以在这里找到:
http://groups.google.com/group/mozil...6dbd2754e85252



在这个主题的最开始,你被指向了W3C

验证服务:

http://validator.w3.org/check?uri=ht...dex% 2Fnews.htm


这是一项非常实用的服务,它显示了代码出错的地方。

不要指望任何人尝试在代码中找到解决方案只要

它就是那辆车!

At the very beginning of this thread you were pointed to the W3C
validation service:

http://validator.w3.org/check?uri=ht...dex%2Fnews.htm

This is a very useful service, it shows where your code has errors.
Don''t expect anybody to try finding a solution in your code as long as
it is that buggy!


我一直在努力公司的新网站和很多

页面在一个方面看起来有所不同狐狸比他们在IE中做的那样。

他们在IE中正确显示但不是firefox。以下是链接:

http://paymca.org /new33dex/news.htm



我在IE中看到一张损坏的图片,这是正确的吗? :-)


你做一个表格布局并用文字GIF填充 - 根本没有一行

的文字!那么为什么你还要在图像周围放置表格?

将整个页面设为一个gif,然后你确定它看起来是正确的。在每个浏览器的
每个浏览器。


更好的方法是:完全停止,用
$ b $重新整理整个页面b漂亮,简单的HTML结构,没有表格,CSS定位布局。

它会减少问题,并且作为一个好处,它可以通过

搜索引擎和可访问的索引通过非可视浏览器。


-

Markus

I see a broken image in IE, is this "correct"? :-)

You do a table layout and fill it with text gifs - there is not a single
line of text at all! So why do you put tables around the images anyway?
Make the whole page one gif, then you are sure it looks "correct" in
every browser.

The better way would be: Make a full stop, re-do the whole page with a
nice, simple HTML structure without tables, and CSS positioning layout.
It will make far less problems, and as a benefit it will be indexable by
search engines and accessible by non-visual browsers.

--
Markus


如何构建页面不使用表格?我主要在

Flash工作,这是我讨厌Dreamweaver的一个原因。太多的规则和

我不知道他们。我在那里做了空文本框以获得左边菜单的

对齐。可能不是最好的主意

我知道但是它有效。如何在没有

表格的DW中构建它?


Markus Ernst写道:
How can I structure the page without using tables? I mainly work in
Flash and this is one reason I hate dreamweaver. Too many rules and
I''m not aware of them. I made hte empty text boxes there to get the
alignment right for the menu on the left. Probably not the best idea
and I know that but it worked. How can I structure it in DW without
tables?

Markus Ernst wrote:

ridergroov schrieb:
ridergroov schrieb:

我之前在另一组中收到此消息,我被告知要在这里尝试
。希望有人可以提供帮助。网站是在Dreamwaver创建的

MX 04,我不明白为什么会有这么多错误或如何修复

他们。原始帖子可以在这里找到:
http://groups.google.com/group/mozil...6dbd2754e85252



在这个主题的最开始,你被指向了W3C

验证服务:

http://validator.w3.org/check?uri=ht...dex% 2Fnews.htm


这是一项非常实用的服务,它显示了代码出错的地方。

不要指望任何人尝试在代码中找到解决方案只要

它就是那辆车!


At the very beginning of this thread you were pointed to the W3C
validation service:

http://validator.w3.org/check?uri=ht...dex%2Fnews.htm

This is a very useful service, it shows where your code has errors.
Don''t expect anybody to try finding a solution in your code as long as
it is that buggy!


我一直在努力公司的新网站和很多

页面在一个方面看起来有所不同狐狸比他们在IE中做的那样。

他们在IE中正确显示但不是firefox。以下是链接:

http://paymca.org /newy3dex/news.htm



我在IE中看到一张损坏的图片,这是正确吗? :-)


你做一个表格布局并用文字GIF填充 - 根本没有一行

的文字!那么为什么你还要在图像周围放置表格?

将整个页面设为一个gif,然后你确定它看起来是正确的。在每个浏览器的
每个浏览器。


更好的方法是:完全停止,用
$ b $重新整理整个页面b漂亮,简单的HTML结构,没有表格,CSS定位布局。

它会减少问题,并且作为一个好处,它可以通过

搜索引擎和可访问的索引通过非可视浏览器。


-

Markus


I see a broken image in IE, is this "correct"? :-)

You do a table layout and fill it with text gifs - there is not a single
line of text at all! So why do you put tables around the images anyway?
Make the whole page one gif, then you are sure it looks "correct" in
every browser.

The better way would be: Make a full stop, re-do the whole page with a
nice, simple HTML structure without tables, and CSS positioning layout.
It will make far less problems, and as a benefit it will be indexable by
search engines and accessible by non-visual browsers.

--
Markus


ridergroov schrieb :
ridergroov schrieb:

如何在不使用表格的情况下构建页面?我主要在

Flash工作,这是我讨厌Dreamweaver的一个原因。太多的规则和

我不知道他们。我在那里做了空文本框以获得左边菜单的

对齐。可能不是最好的主意

我知道但是它有效。如何在没有

表格的情况下在DW中构建它?
How can I structure the page without using tables? I mainly work in
Flash and this is one reason I hate dreamweaver. Too many rules and
I''m not aware of them. I made hte empty text boxes there to get the
alignment right for the menu on the left. Probably not the best idea
and I know that but it worked. How can I structure it in DW without
tables?



您可以像这样用HTML构建页面:


< div id =" head">

< h1>这是标题< / h2>

< img src =" myimg.jpg" alt ="这是一张图片">

< / div>


< div id =" content">

< h2>副标题< / h2>

< p>这是一个文字< / p>

< / div>


并建议使用CSS(这个小组是关于)的页面布局如下:


< style type =" text / css" ;>

#head {

背景:......;

保证金:......;

}

#head h1 {

字体:......;

}

#content {

背景:......;

}


等等。如果您想知道如何在Dreamweaver中执行此操作,您可能需要在Macromedia的新闻中提供的macromedia.dreamweaver中询问

server forums.macromedia.com(或者通过Macromedia网站)。


无论如何你必须知道使用Dreamweaver和使用Flash或像InDesign这样的布局软件

之间存在根本区别:

Flash和InDesign为您生成专有格式的文件,

只能通过软件本身或专有格式查看

观众。或者,在导出的情况下,它们会生成完全标准化的代码

,例如PostScript或PDF,它们将在所有

系统上以相同的方式呈现。

创建网页完全不同。 HTML代码只是一种结构化文本的方式,而且还有用于建议布局的CSS。浏览器

CSS渲染的实现变化很大,即使它们不是
bug。用户系统上可能缺少字体,图像显示

关闭或CSS禁用。有些浏览器,例如盲文或纯文本

浏览器,会给你的代码提供与

视觉浏览器完全不同的解释。


除了使用PostScript或PDF之外,如果要创建HTML代码,至少需要了解HTML和CSS的基本知识。


Dreamweaver为此提供了一个用户界面,但正如你所看到的那样,它不会阻止你创建错误的代码。 DW的布局视图不是

"正确的"渲染,但只有DW代码的解释,这可以与Firefox'或IE不同。

You can structure the page in HTML like this:

<div id="head">
<h1>This is the headline</h2>
<img src="myimg.jpg" alt="this is an image">
</div>

<div id="content">
<h2>A subtitle</h2>
<p>And this is a text</p>
</div>

And suggest a page layout with CSS (which this group is about) like this:

<style type="text/css">
#head {
background:...;
margin:...;
}
#head h1 {
font:...;
}
#content {
background:...;
}

And so on. If you want to know how to do this in Dreamweaver you might
want to ask in macromedia.dreamweaver available on Macromedia''s news
server forums.macromedia.com (or via the Macromedia website).

Anyway you have to know that there is a fundamental difference between
using Dreamweaver and using Flash or a layout software like InDesign:
Flash and InDesign generate files in their proprietary formats for you,
which can only be viewed with the software itself or with a proprietary
viewer. Or, in case of export, they generate fully standardized code
such as PostScript or PDF, which will be rendered identically on all
systems.

Authoring a web page is totally different. HTML code is nothing but a
way of structuring text, and there is CSS to suggest a layout. Browser
implementations of CSS rendering vary a lot, even where they are not
buggy. Fonts might be missing on the user''s systems, image display
turned off, or CSS disabled. Some browsers, such as braille or text-only
browsers, will give a totally different interpretation of your code than
visual browsers.

Other than with PostScript or PDF, you need at least a basic
understanding of HTML and CSS if you want to create HTML code.

Dreamweaver provides a user interface to this, but as you see it won''t
prevent you from creating buggy code. And DW''s layout view is not the
"correct" rendering, but only DWs interpretation of the code, which can
be different from Firefox'' or IEs.


这篇关于好的IE ...在Firefox中很糟糕......很多开发错误。有人可以帮忙吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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