Need help! how do i get an image to stay in a column when the webpage is resized

#1

Captur3e

how do I get the image to scale down or up at the same time as the column it in

thanks

#2

Don’t use absolute sizing. Use a percentage for the width and auto for height.

By the way, why are you using position: absolute? That is not a good idea. And the left margin should not be a fixed size if you want it to work when you resize the window.

Was the double ;; in your height declaration just a typo when you posted here?

#3

thanks

ya ill try that and ill see will it work

ya the ;; is a typo

I was using absolute because that’s the only way I could get the picture to display

#4

It shouldn’t be the only way. Could you please post your html and css for a ‘working page’ thst shows the problem?

#5

ya the % worked thanks mate :slight_smile:

closed #6

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.