peterhelp
Member
Posted 5 years ago #
Hey guys, my website is currently being developed by a programmer and I have a problem that neither I nor him can solve. My website has liquid width, however I would like the images inserted in articles to automatically adjust to the size of the screen regardless of its size. I don't want the images to get larger than their inserted size but I do want it to get smaller as the window size is reduced. My programmer has done this in Firefox, however he said that it is impossible to do in IE, so he left me with the option of not inserting images larger than 420px. I REALLY need someone's help ASAP.
Thank you!!!!
This is not really a WordPress issue. While some folks here may have a run at it, you may have a LOT better luck at a web design forum.
peterhelp
Member
Posted 5 years ago #
alright thanks man, could you suggest a good web design forum?
This is one of the biggest problems of liquid layouts. So maybe try this:
Give all your images a width from 100%, no height.
Build a class for the images with a min-width and max-width equal to your layout.
Good luck!
tactics
Member
Posted 5 years ago #
The ONLY solution to this that works across all browsers and platforms is to convert your images to .swf files in Flash, and then set them to 100% width and height. Flash scales on all browsers. Images don't.