Solved

Page with Image

Posted on 2004-03-27
1
170 Views
Last Modified: 2010-04-09
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
Comment
Question by:pinkstonm
1 Comment
 
LVL 6

Accepted Solution

by:
Reapz earned 50 total points
ID: 10696832
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question