This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > Centering page in browser window





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Centering page in browser window
potteryguy

2006-02-24, 10:15 am

This is most likely a very easy thing to do, but I don't know how! Do you nest
a table in another table and convert table heigth and width to %? Needless to
say, I am working in Dreamweaver. Thank you.

Outside5.com

2006-02-24, 10:15 pm

Also, add the following into the #wrapper style (unless you want the contents of the main area centre aligned):



text-align: left;
Outside5.com

2006-02-24, 10:15 pm

One last thing :)

Setting the width of the wrapper element to 800px will give you a horizontal
scroll bar if the user is on a screen resolution of 800x600.

Generally I would set the maximum size of a fixed width layout to be 760px
which fits in nicely.

HTH
Paul

Outside5.com

2006-02-24, 10:15 pm

And to streamline it,

replace:
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;

with:
margin:0x auto;
Murray *TMM*

2006-02-24, 10:15 pm

How about -

margin:0 auto;

?? 8)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Outside5.com" <webforumsuser@macromedia.com> wrote in message
news:dtn9bm$f4q$1@forums.macromedia.com...
> And to streamline it,
>
> replace:
> margin-top: 0px;
> margin-right: auto;
> margin-bottom: 0px;
> margin-left: auto;
>
> with:
> margin:0x auto;



Outside5.com

2006-02-24, 10:15 pm

Well spotted Murray,

That was of course a deliberate mistake to make sure you were paying attention ;)
Murray *TMM*

2006-02-24, 10:15 pm

8)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Outside5.com" <webforumsuser@macromedia.com> wrote in message
news:dtnb0h$hgp$1@forums.macromedia.com...
> Well spotted Murray,
>
> That was of course a deliberate mistake to make sure you were paying
> attention ;)



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews