Hi I use layers to design my web pages but would like to
centre them, so they always
appear in the centre of the page by default rather than
aligned to the left hand side as positioned.
(if you vierw my site you will see how its aligned to the
left but would like to centre it )
http://www.chrisleslie.co.uk)
I know if you design with tables and you centre the page
design it always appears centre but
ist his possible with layers?????please, any help much
appreciated. im using dreamweaver 8……
chris
|||
> Hi I use layers to design my web pages
This is usually a very poor choice – here’s why….
http://www.great-web-sights.com/g_layer-overlap.asp
> ist his possible with layers?????
Certainly.
Change this -
</head>
to this -
<style type=”text/css”>
<!–
body { text-align:center; }
#wrapper { text-align:left; width:760px; margin:0
auto;position:relative; }
/* 760px will display on an 800px screen maximized browser
window without */
/* horizontal scrollbars. */
–>
</style>
</head>
change this -
<body …>
to this -
<body …>
<div id=”wrapper”>
and this -
</body>
to this -
<!– /wrapper –>
</div>
</body>
and see if that helps.
–
Murray — ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don’t LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com – DW FAQs,
Tutorials & Resources
==================
“chrisleslie” <webforumsuser@macromedia.com> wrote in
message
news:fj0pl2$oh3$1@forums.macromedia.com…
> Hi I use layers to design my web pages but would like to
centre them, so
> they
> always
> appear in the centre of the page by default rather than
aligned to the
> left
> hand side as positioned.
> (if you vierw my site you will see how its aligned to
the left but would
> like
> to centre it )
>
http://www.chrisleslie.co.uk)
>
>
> I know if you design with tables and you centre the page
design it always
> appears centre but
> ist his possible with layers?????please, any help much
appreciated. im
> using
> dreamweaver 8……
> chris
>
>
>
Related posts:
- centred page design using layers
- centre a web page
- Cannot create layers in design view Dreamweaver 8
- HTML page with anchored Layers
- Moving Layers
Related posts brought to you by Yet Another Related Posts Plugin.