This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > centralising layers





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 centralising layers
Steveathome

2006-02-07, 10:23 pm

Is it possible to make layers rest in a central position of a page irrespective
of the size of explorer page as you can with tables i.e. alignment left,
centre, right, top, middle, bottom etc?

Is it also possible to make a layer fit the page to i.e. 80%, 90% 100% again
as you can with tables?

I would really apprecaite any input on these subjects, or suggestions for
alternative solutions

Many thanks.

Lionstone

2006-02-07, 10:23 pm


"Steveathome" <webforumsuser@macromedia.com> wrote in message
news:dr3nc1$imj$1@forums.macromedia.com...
> Is it possible to make layers rest in a central position of a page
> irrespective
> of the size of explorer page as you can with tables i.e. alignment left,
> centre, right, top, middle, bottom etc?


No, because layers are absolutely positioned div tags. There's no reason
you can't center a div tag, though. You just have to drop the absolute
positioning that makes it a "layer."

>
> Is it also possible to make a layer fit the page to i.e. 80%, 90% 100%
> again
> as you can with tables?


Yep. Enter that as your size.

>
> I would really apprecaite any input on these subjects, or suggestions for
> alternative solutions
>
> Many thanks.
>



Steveathome

2006-02-07, 10:23 pm

Many thanks for your quick response
Murray *TMM*

2006-02-07, 10:28 pm

> No, because layers are absolutely positioned div tags. There's no reason
> you can't center a div tag, though. You just have to drop the absolute
> positioning that makes it a "layer."


You can "center" layers by putting them into a centering wrapper div that is
relatively positioned.


--
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
==================


"Lionstone" <HIDElionstone@HIDEhushmail.com> wrote in message
news:dr3nsl$jb0$1@forums.macromedia.com...
>
> "Steveathome" <webforumsuser@macromedia.com> wrote in message
> news:dr3nc1$imj$1@forums.macromedia.com...
>
> No, because layers are absolutely positioned div tags. There's no reason
> you can't center a div tag, though. You just have to drop the absolute
> positioning that makes it a "layer."
>
>
> Yep. Enter that as your size.
>
>
>



Sponsored Links


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