Blueprint IE 破解破坏了 VS 设计器

发布于 2024-10-04 01:29:00 字数 1438 浏览 0 评论 0原文

我和我的客户都刚刚独立经历过这一点。给定如下所示的 HTML 页面,当包含 IE hack 时,无论是否有条件,在 2008 年和 2010 年,“第一个文本”上方的所有内容在 VS 设计器中都不可见,并且 2008 年崩溃非常频繁,而 2010 年仅在某些特定时间内崩溃编辑页面上的操作。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Smart Computer Solutions</title>
    <link href="Styles/Blueprint/screen.css" rel="stylesheet" type="text/css" />
    <link href="Styles/Blueprint/print.css" rel="stylesheet" type="text/css" media="print" />
    <!--[if lt IE 8]><link rel="stylesheet" href="Styles/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
</head>
<body>
    <div class="container">
        <div id="header" class="prepend-1 span-23 last">
            <h1 id="smart-computer-solutions">
                Smart Computer Solutions</h1>
            <div id="subheader">
                <h3 class="alt">Some catchy and informative company slogan.</h3>
            </div>
        </div>
        First text
        <hr />
        Second text
        <div id="top-nav" class="prepend-1 span-23 last">
            Third text
        </div>
        <hr />
    </div>
</body>
</html>

我也在蓝图论坛上问这个问题,但 SO 是我的主要预言。

My client and I have both just independently experienced this. Given an HTML page like below, when the IE hack is included, conditionally or not, everything above the "First text" is not visible in the VS designer, in 2008 and 2010, and 2008 crashes very frequently, while 2010 only crashes during certain edit ops on the page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Smart Computer Solutions</title>
    <link href="Styles/Blueprint/screen.css" rel="stylesheet" type="text/css" />
    <link href="Styles/Blueprint/print.css" rel="stylesheet" type="text/css" media="print" />
    <!--[if lt IE 8]><link rel="stylesheet" href="Styles/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
</head>
<body>
    <div class="container">
        <div id="header" class="prepend-1 span-23 last">
            <h1 id="smart-computer-solutions">
                Smart Computer Solutions</h1>
            <div id="subheader">
                <h3 class="alt">Some catchy and informative company slogan.</h3>
            </div>
        </div>
        First text
        <hr />
        Second text
        <div id="top-nav" class="prepend-1 span-23 last">
            Third text
        </div>
        <hr />
    </div>
</body>
</html>

I'm also asking this on the Blueprint forum, but SO is my primary oracle.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

枕梦 2024-10-11 01:29:00

Blueprint 讨论组的成员让我确信问题出在 VS 设计器上,而不是 IE hack 上。我同意这一点——VS 中的设计视图仍然很可悲。

Guys on the Blueprint discussion group have convinced me the problem is with the VS designer, not the IE hack. I agree here - the design view in VS is still pathetic.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文