Solved

tables - centered but the right size

Posted on 2004-04-10
2
195 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide/ show a recordset row item 6 460
HELP.. background images in eblasting 25 383
Replace Dreamweaver with what? 8 169
With Dreamweaver, creating a dropdown menu system 5 104
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
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 …

808 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