Solved

tables - centered but the right size

Posted on 2004-04-10
2
194 Views
Last Modified: 2010-05-18
I've finally gotten so confused trying to do what's best to format a basic page using tables and/or CSS that I need to ask for help.    I want to consider those who are still set at 800x600. Yet so many are at 1024 x 768.   So..   do I set some overall table at 100% and stick a table inside that with specific column sizes (or some fixed, the rest not?).  Do I use CSS or layers within that table.  Or is that approach altogether wrong?

Like I said.  I'm now completely confused.  I just want a solution that's good for the majority of those above.  I have personally abandoned consideration for browsers that are years old.  I'm not going to worry about netscape 4 for my particular audience this time.  Can anyone offer some advice here?  Or, if there are competeing opinions, I'd like to know the pros and cons!  
0
Comment
Question by:linque
2 Comments
 
LVL 8

Accepted Solution

by:
alexhogan earned 250 total points
ID: 10800804
The easiest way to insure that you have a centered and 'sized' page is to do somewhat what you elluded to in your question.

You create a table that is 100% with no borders or padding and set the horizontal alignment to center.
Now you create another table, and set the size of that one to the size you want. (800px)

This will give you a centered web page that is 800 pixels wide.  Just add content.
0
 
LVL 2

Assisted Solution

by:axrial
axrial earned 250 total points
ID: 10803404
Hi,

You may want to chek this site out for a specific tutorial. Heres the link.
http://www.projectseven.com/tutorials/css_t/index.htm

the great thing about this type of table is that with it, you dont have to worry about page size and screen resolutions. It fits acording to the screen size. Chek the example here

http://www.projectseven.com/tutorials/css_t/example.htm

axrial
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question