Keep Table within width of browser.

M

Mike Klick

I have set a table to be 100% in width. When I do that sometimes it does not
go past right margin and gives a scroll button, sometimes it does.

How can I control it to keep its width the width of the browser?

Mike
 
R

Rick Budde

The content within the cells of your table controls
whether or not the scroll bars appear. If you have a
short page, no vertical scroll bars will appear. If you
have along page, vertical scroll bars will apear. Same
thing with horizontal scroll bars.

Check your content, probably graphics, to see if they are
causing scroll bars to appear. If that isn't it, we would
need to look at your published site to help you
further ... provide a URL.
 
K

Kevin Spencer

How can I control it to keep its width the width of the browser?

Keep its contents within the width of the browser. Content which exceeds the
width of the window will cause the table to stretch. And remember that
different browsers have different widths, different machines have different
screen resolutions, and so on.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 

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

Top