• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

Page with Image

I have a page which is a table 100%

Top row is 2 cells one 20% the other 80%

how do I make an image fit when resizing of the page is done?
0
pinkstonm
Asked:
pinkstonm
1 Solution
 
AndyCommented:
Place the image inside the cell you want and then set the width and height of the image to 100%. The width of the image will then be adjusted to fit the cell and the height will be adjusted accordingly. As you resize your browser window the size of the image will be adjusted too.

However, the quality of the image after resizing will be low so you might not be happy with the results. Also remember that even if the display size of the image is half of what the actual dimension are the user still has to wait the same amount of time for it to load and you still use the same amount of bandwidth.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now