Centering Content / Automatically Sizing to Browser

E

elihu

Web page has been created in layers. Main layer with multiple sub-layers. I
would like for the content to be centered regardless of whether page is
maximized or minimized and sized to the user's preference.

All margin specs for page / body / primary layer have been set to 0 px.
Primary layer appears left and top of browser. I guess you would say I would
like to float the content in the center regardless of browser sizing?
 
N

neutrino

elihu said:
Web page has been created in layers. Main layer with multiple sub-layers. I
would like for the content to be centered regardless of whether page is
maximized or minimized and sized to the user's preference.

All margin specs for page / body / primary layer have been set to 0 px.
Primary layer appears left and top of browser. I guess you would say I would
like to float the content in the center regardless of browser sizing?

"Flash" it, but depending on the size/contents of your site it might be
impracticle,
for example is this www.prvtgallery.com the kind of thing your
talking about? no need ot enter the site - just see the opening page,
and drag the browser in and out bigger/smaller - the content resizes
accordingly - is this what your after?
 
E

elihu

That's exactly what I'm looking for. I'm just not sure how to "flash" it;
I'm pretty new at this. The link is strikingtherock.com.
 
S

Stefan B Rusynko

The don't use absolute positioning for your outer div
- especially one that shoves your page to the left 6oo px as in
<div style="position: absolute; left: 600px; top: 485px; width: 340px; height: 20px; z-index: 4; " id="layer10">

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| That's exactly what I'm looking for. I'm just not sure how to "flash" it;
| I'm pretty new at this. The link is strikingtherock.com.
|
| "neutrino" wrote:
|
| >
| > elihu wrote:
| > > Web page has been created in layers. Main layer with multiple sub-layers. I
| > > would like for the content to be centered regardless of whether page is
| > > maximized or minimized and sized to the user's preference.
| > >
| > > All margin specs for page / body / primary layer have been set to 0 px.
| > > Primary layer appears left and top of browser. I guess you would say I would
| > > like to float the content in the center regardless of browser sizing?
| >
| > "Flash" it, but depending on the size/contents of your site it might be
| > impracticle,
| > for example is this www.prvtgallery.com the kind of thing your
| > talking about? no need ot enter the site - just see the opening page,
| > and drag the browser in and out bigger/smaller - the content resizes
| > accordingly - is this what your after?
| >
| >
 
N

neutrino

sorry~ :) my casual way of saying - - for this method it's the use of
Macromedia Flash (or has Adobe bought it yet!) , or a less expensive
option would be "Swish" - available to downlaod and have a play with
for a month or so.
Very nice, and once you get the hang of it, not too tricky to use, but
yeah~ just gotta watch the end file size is not huge ~ cos with Flash
websites - unlike ordinary one's which load text by text image by image
untill the web page is fully loaded - a flash site loads completely
~then~ it displays on the screen ` well u do have some control over it
- eg you can display a "loading" feature at the start just to show the
viewer that the page IS coming in... or offer an alternative "normal"
html page if the Flash version is a little slow for anyone (dial-up!)
but yeah.. grab a download of Swish and have a look - it may well fit
the purpose.
 
E

elihu

Thanks. You're right. I've learned alot since I posed the question
yesterday. I figured out that using a layout table seems to be working best,
position=none, table align=center. This works great and just as needed. I'm
working on a test page and trying out all the options. The posted page is
temporary. Thanks again, your help is much appreciated.
 
E

elihu

Thanks for your help, will save flash for once I can get past the basics.
See response to Stefan Rusynko. Thanks much.
 
B

Bob

Thanks for your help, will save flash for once I can get past the basics.
See response to Stefan Rusynko. Thanks much.

Don't use flash for a page layout. That's a very poor design idea.
 

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