Image stops the table from resizing

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
 
G

Guest

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top