获取网站在IE工作 [英] Getting a site to work in IE

查看:238
本文介绍了获取网站在IE工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站我建立在Dreamweaver CS5,虽然我的测试网站看起来在Firefox / Safari浏览器很好,它看起来可怕的IE 8上下来。对于初学者来说,内联<立GT; 图像(3行4)甚至没有出现在主页上。看这里-
测试网站主页: http://www.lauradimeo.com/TEST/index2.html

I have a site I'm building in Dreamweaver CS5 and although my test site looks fine in Firefox/Safari, it looks awful in IE 8 on down. For starters, the inline <li> of images (3 rows of 4) does not even appear on the home page. See here- Test Site Home: http://www.lauradimeo.com/TEST/index2.html

和我当前的主页我的标志/ SM链接的图像出现与周围灰色框。啊!
目前网站首页: http://www.lauradimeo.com

And on my current home page my logo/SM link images appear with a gray box around them. Ugh! Current Site Home: http://www.lauradimeo.com

任何人都熟悉的IE浏览器,并已修复的想法?

Anyone familiar with IE and has fix ideas?

感谢您提前。

推荐答案

有关你边界问题,IE浏览器在那里包裹在链接图像有一个边界集这个可怕的事情。您应该能够通过指定边界:0照顾这一点。在图像上

For you border problem, IE has this horrible thing where images wrapped in links have a border set. You should be able to take care of this by specifying "border: 0" on the image.

至于图像没有出现,看来您使用的是部分标签。从理论上讲,这HTML5标签工作在IE8。然而,理论并不总是担任微软想客户所想。我建议两件事之一:

As for the images not appearing, it seems you're using a "section" tag. In theory, this HTML5 tag works in IE8. However, theory has not always worked as Microsoft would like to think. I'd suggest one of two things:

1)尽量简单DOCTYPE HTML而不是DOCTYPE HTML PUBLIC! - // W3C // DTD XHTML 1.0过渡// ENhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional .dtd

1) Try simply !DOCTYPE html rather than DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

或2)替换一个div部分标签。

or 2) replace the section tag with a div.

其中的一个应该解决的问题。

One of these should resolve the issue.

一边作为,我发现你是个设计师。我不知道,如果你的目标网页设计的工作,但如果你是我强烈建议尝试做您的大部分HTML和CSS由手。这样做可以帮助我学习如何做跨浏览器的CSS,HTML和JavaScript速度远远超过取决于所见即所得的编辑器。

As an aside, I notice you're a designer. I'm not sure if you're aiming for web design work, but if you are I'd highly recommend trying to do the majority of your HTML and CSS by hand. Doing so helped me learn how to do cross-browser CSS, HTML, and javascript much faster than depending on a WYSIWYG editor.

希望这有助于!

这篇关于获取网站在IE工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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