English 中文(简体)
页: 1 IE8没有工作?
原标题:HTML5 Boilerplate + Media Queries not working in IE8?

由于Boilerplate已经做出反应,因此从理论上来说,它应当能够支持以下各点:

@media only screen and (max-height: 580px){.rnd-class{:height:200px !important;}}

在FF和Kook,它像预期的那样运作,在将浏览器窗户转售后采用习惯风格。

然而,在IE8中,习惯方式总是能够做到的,无论目前的浏览器窗口多么大。

我认为,这个问题在我的法典中有些地方,但我没有访问过。 我注意到,它也改变了其在Browser rez的布局,并且使用了缺席的Boilerplate公司同样的媒体查询。

然而,甚至mobile Boilerplate仅与FF和Kook合作。 在访问时,媒体询问了胎盘,我收到了最小装置的版本。

Now my question is: do you guys experience the same in IE8? How does this site look for you in IE8 and does it change its styles depending on the current browser window size?

或者这很可能与我的具体版本有关? (现在我可以就另一个国际电子版本进行测试)。

And maybe, just maybe, some1 knows a solution to this?

P.S. I am currently using the default "Modernizr" (with respond.js build-in) script that comes with the HTML5 Boilerplate.

问题回答

作为最初的预留,你提到你没有接触到其他版本的IEE,你是否看到

我写了一封信件,能够以回应的方式提出28份和28份媒体问询。 j)

Hopefully it gets integrated soon: https://github.com/scottjehl/Respond/pull/96

我发现一处固定装置,没有使用 j。

我有同样的问题,但只有当我的媒体问询被保存在适当的档案中时。 如果我在html中挽救他们的话,他们就会在IE8工作。 很奇怪,但出于某种原因。 这不是理想的,但我要说的是,如果有人有任何想法,为什么会发生这种情况,或者我可以做些什么,在单独档案中拯救我的手,请让我知道!





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签