Solved

tables - centered but the right size

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Search/Results Pages 7 393
can i use dw to modify this site 1 302
submit button form code 2 420
Adobe Acrobat Pro: Is this a known bug? 9 59
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now