We help IT Professionals succeed at work.
Get Started

Shrink Image Porportionately

Starr Duskk
Starr Duskk asked
Last Modified: 2014-08-17
I have a table with a panel with an image as the background of the panel. When I grab the edge of the screen to make the resolution or screen width smaller, I'd like to be able to do one of 2 possible things.

First the best thing I'd like to do is when the tab gets smaller, I'd like the image to get proportionately smaller and the table height and width to be smaller proportionately.

If that is not possible, I'd like to be able to define how the width is cut off. Notice the image has the main image on the right, but when it gets smaller, it cuts off the right. I'd like it to cut off from the left instead of the right, so that the main image still shows in the remaining width.

Are either of those possible?

Watch Question
Expert of the Year 2014
Top Expert 2014
This problem has been solved!
Unlock 2 Answers and 19 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE