


How to use JS to solve the problem that ie6 does not support max-width and max-height
May 16, 2016 pm 05:05 PMThis article mainly introduces how to use JS to solve the problem that ie6 does not support max-width and max-height. Friends in need can come here for reference. I hope it will be helpful to everyone.
Today I encountered a problem about using js to solve the problem of ie6 not supporting max-width and max-height. I just started using jQuery to implement it, but I couldn’t get the value in css, such as:
1 2 3 4 5 6 7 8 |
|
I don’t know why, but I can’t get the maximum value in css, so I can only use native js to achieve it
The js code is as follows:
The html code of the1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
part is as follows:
1 2 3 4 5 |
|
css style is as follows:
1 2 3 4 5 |
|
above That’s all the content of this chapter. For more related tutorials, please visit JavaScript Video Tutorial!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Replace String Characters in JavaScript

Custom Google Search API Setup Tutorial

8 Stunning jQuery Page Layout Plugins

Improve Your jQuery Knowledge with the Source Viewer

10 Mobile Cheat Sheets for Mobile Development
