Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do you make a web page work at different screen resolutions so there is no horizontal scrolling?

0
Posted

How do you make a web page work at different screen resolutions so there is no horizontal scrolling?

0

You use nested tables. Your main table (or container table) should have a width defined as 100%. The container table should have, at least, 3 rows. This container table is where you would put a row that has anything that need to be stretched or shrunk (like header where your title and logo are (top row), and your footer where a copyright notice would go (bottom row)). Now you nest another table in your container table (middle row). This nested table will have a width defined in pixels rather than percent. It is important that the width of this nested table is a little smaller than the space allowed for an 800×600 screen resolution (try 770). It is also important to remember that the nested table can have multiple columns and rows.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123