Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Thameera's avatar

In CSS Max-width for 100% is working in localhost but not in the server in internet explorer

max-width for images is working perfectly when i run my code in localhost but when i run it on server url it does'nt work can you give some ideas how can i overcome from this

0 likes
2 replies
jlrdw's avatar

Have you tried playing around with

  • display: block;
  • overflow:hidden or overflow:auto

And you don't even mention what version of IE.

So many variables to consider, try a few things.

1 like
Thameera's avatar

yeah i tried overflow hidden and auto but it works fine for other browsers but not in internet Explorer(version is IE 11) even in localhost it works fine in internet explorer but not in server. i use this also but that is also not bring any changes in view.

Please or to participate in this conversation.