English 中文(简体)
我如何把我的媒体问询与支持信片的java文字结合起来?
原标题:How I can integrate my media queries with java script for supporting @media Queries in IE?

我写了这些媒体问询,要求重新编辑我的浏览器窗口。

@media screen and (min-width:768px) and (max-width:1023px) {
 #wrapper {
width:621px;
padding-left: 50px;
 margin:0 auto; background:red;
}
}
 @media screen and (min-width:1024px) and (max-width:2047px) {
 #wrapper {
 margin:0 auto;
 padding-left: 50px;
 width: 925px; background:yellow;
}
}

它的工作,但在国际电算中心,它当时没有在谷歌读到媒体问询,在互联网探索者8或8岁以上时没有得到支持。 我们能够使用java文字来做到这一点,即无法书写我上述法典并将其纳入java文字。 谁能帮助我?

最佳回答
问题回答

@jamman; 核对本条时使用java script & media query, in There example may that help You

您必须按照<条码> 屏幕大小改动,打上不同的记号。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签