centre the page in browser

J

JacquieCC

Is ther an easy way of making the pages of the whole website (not yet
published) centre when viewed by someone in a browser?
regards,
JacquieCC
 
A

Anne Troy

Hi, Jacquie. I like to put my pages in tables, even if it's one big table
cell, and set the table's width to something like 60%. Then it gives right
and left blank area regardless of the viewer's screen resolution.
************
Anne Troy
www.OfficeArticles.com
 
M

Murray

Screen resolution has nothing to do with anything other than determining the
maximum practical width you can use for your browser.

The critical factor is the browser viewport width.

And if you are going to use a table, set its property to center align.

If you are using tables and layers together, be aware that the tables will
move but the layers will not.
 
J

JacquieCC

Hi there,
I have used tables to construct the pages - I am not sure what the term
'layers' means - and please don't spit your coffe out when yuou read that
(especially as I've already constructed about 150 pages),
regards,
Jacquie
 
M

Murray

Luckily, I just finished my last coffee for the day.

If you don't know what layers are then you probably haven't used them! 8)

Just set your table's width to a fixed pixel value and its alignment to
center, or, set its width to a percentage value and its alignment to center.
Either will work....
 
A

Anne Troy

I like to set my table width to a specific percentage. As I said before, it
remains that percentage of the viewer's screen, regardless of the viewer's
resolution.
************
Anne Troy
www.OfficeArticles.com
 
J

JacquieCC

Dear Anne and Murray,thanks so much for your answers - am also very pleased
you drank your coffee before reading my last question - you have to forgive
me but living at almost 2000m obviously does things to your grey cells!
Anyway should I set a % value will this stop my pages going all skew whiff
in othere browsers - from what I've ready my pages can look absolutley
perfect in Internet Explorer (hopefully) but when someone goes into the
website using a diffferent browser it can really look like I was half cooked
when constructing the site!
Please tell me my 'baby' suffer excess cellulite splurging out all over the
place when seen in another browser if I do absolutley everything you say!
regards,
JacquieCC
 
M

Murray

remains that percentage of the viewer's screen, regardless of the viewer's
resolution.

Actually not. It remains that percentage of the browser viewport width, no
matter what the resolution.
 
R

Ronx

No it's not.
The user's screen resolution sets the maximum size of the browser viewport,
but has no effect on the minimum size.
My screen resolution is 2560x1024, but my browser is open at 800x600 - where
is the "directly related" ?
 
M

Murray

Actually not. The screen resolution ONLY determines the maximum practical
width. That width is directly related to the resolution. All other widths
on that screen have no relationship to the resolution. If you give me a
screen with large enough resolution, I can emulate every page width problem
just by changing the browser viewport width. That sorta eliminates
resolution as a variable in the equation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top