Image stops the table from resizing

  • Thread starter Thread starter AAaron123
  • Start date Start date
A

AAaron123

I have a master containing a table (width=100%)

And it works well for different aspx pages.

Except for the page that puts an image into one of the page's cells.

That works ok too unless the right edge of the browser is moved left.
Then the page shrinks until the image no longer fits.
Then a scroll bar appears at the bottom of the browser.
All this sound desirable.

But what I would rather happen is that the image would shrink or a scroll
bar appear under the image and apply only to the image.

That is, I would like the table to continue to shrink because text in the
other cells then would get rearranged and would still be readable. Even if
the image get cut off.

Could I (should I) make the image width a function of the browser width?

Some other approach?


Thanks
 
I have a master containing a table (width=100%)

And it works well for different aspx pages.

Except for the page that puts an image into one of the page's cells.

That works ok too unless the right edge of the browser is moved left.
Then the page shrinks until the image no longer fits.
Then a scroll bar appears at the bottom  of the browser.
All this sound desirable.

But what I would rather happen is that the image would shrink or a scroll
bar appear under the image and apply only to the image.

That is, I would like the table to continue to shrink because text in the
other cells then would get rearranged and would still be readable. Even if
the image get cut off.

Could I (should I) make the image width a function of the browser width?

Some other approach?

Thanks

I would try to put that image in to <div> and set "overflow" to
"hidden"

e.g.

<div style="overflow:hidden"><img...
 
Back
Top