davelf
05-15-2012, 10:03 AM
i stuck in my new project because of the scumbag IE browser
My new project (http://www.davejob.com/scroll)
i make media screen to resize the image:
@media screen and (min-device-width : 768px) and (max-device-width : 1024px) {
.bg-size{
width:3072px;
}
}
@media screen and (min-device-width : 1240px) and (max-device-width : 1360px) {
.bg-size{
width:3780px;
}
}
@media screen and (min-device-width : 1360px) and (max-device-width : 1440px) {
.bg-size{
width:4320px;
height:2700px;
}
}
This is the html image code
<div style="position:absolute; z-index:1;"><img src="images/background-master.jpg" class="bg-size"></div>
Work in most browser except IE.
Any suggestion for my problem here, thank you so much.:(
My new project (http://www.davejob.com/scroll)
i make media screen to resize the image:
@media screen and (min-device-width : 768px) and (max-device-width : 1024px) {
.bg-size{
width:3072px;
}
}
@media screen and (min-device-width : 1240px) and (max-device-width : 1360px) {
.bg-size{
width:3780px;
}
}
@media screen and (min-device-width : 1360px) and (max-device-width : 1440px) {
.bg-size{
width:4320px;
height:2700px;
}
}
This is the html image code
<div style="position:absolute; z-index:1;"><img src="images/background-master.jpg" class="bg-size"></div>
Work in most browser except IE.
Any suggestion for my problem here, thank you so much.:(