Solved

tables - centered but the right size

Posted on 2004-04-10
2
196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
Webpage Not Working in IE 27 364
div id bookmark tag not working in Firefox 15 577
removing xml elements and children 5 551
Create recordset using Dreamweaver PHP and MS SQL 2008 4 590
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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