Webpage display size - Post ID 8604

User 470162 Photo


Registered User
7 posts

Is there anyway to get web pages to adjust in size to suit different screens/pc's without using tables?
User 355448 Photo


Ambassador
3,144 posts

At one time, I had one of my websites set so that text was border to border. That becomes difficult to read, but it can be done. If you want to create columns, you can use percentages to adjust the widths.

If you are wanting to use a single background image that will spread out to cover the full width of a wide-screen monitor, there have been messages describing how to do that here on this site.

It all depends on the look you are trying to achieve on your site.
User 3004957 Photo


Registered User
851 posts

Hello,

The preferred method is to actually use cascading stylesheets for layout and design purposes now, rather than tables. That's not to say you should never use tables on your sites, but they should only be used when the information you're presenting demands it (like an actual table comparing various items).

A great resource for learning CSS techniques is A List Apart - http://www.alistapart.com/topics/design

Although many of the design articles are a few years old, the code they present in the examples is still solid and the underlying though process is relevant today.

If you're in the need of a refresher course, take a look at any of the comprehensive tutorial sites such as W3Schools, Tizag, or HTML Goodies.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.