Topic on Project:Support desk

[RESOLVED] change image size with screen resolution and/or browser

2
31.185.135.233 (talkcontribs)

Can images be made to resize like tables? For example, a table with "width=70%" is always 70% of the screen size but an image set at "300px" will take up different space across the screen depending on browser and screen resolution/size.

Is there any way images can be set to automatically resize as with tables?
Thanks.

Ciencia Al Poder (talkcontribs)

No, and HTML doesn't provide a syntax for that.

You'd probably need JavaScript to accomplish this. Try looking for an answer on specialized HTML/JavaScript forums.

Reply to "[RESOLVED] change image size with screen resolution and/or browser"