Centering a layer?

How can I center a layer in a browser window using CSS?
I have figured out that I can center the left edge of the
layer by putting a value of 50% in the "L" section of the
Properties menu.
But I want to center the center of the layer!
Is it legal (or possible) to give use code that reads
center:50%;
Help me see the light!
thanks
c

Any absolutely positioned element takes its screen location
from the
location of its nearest positioned ancestor. So, if you can
concoct a way
to make the nearest positioned ancestor be centered, then
you'll also center
all layers that are descendents of that ancestor.
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.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
==================
"GhengisJones" <[email protected]> wrote in
message
news:fa2icg$org$[email protected]..
> How can I center a layer in a browser window using CSS?
>
> I have figured out that I can center the left edge of
the layer by putting
> a
> value of 50% in the "L" section of the Properties menu.
>
> But I want to center the center of the layer!
>
> Is it legal (or possible) to give use code that reads
>
> center:50%;
>
> ????
>
> Help me see the light!
>
> thanks
>
> c
>
>

Similar Messages

  • Server Load-balancing Across Two Data centers on Layer 3

    Hi,
    I have a customer who would like to load balance two Microsoft Exchange 2010 CAS Servers which are residing across two data centers.
    Which is the best solution for this? Cisco ACE or Cisco ACE GSS or both?

    I would go with source natting the clients ip addresses, so that return traffic from the servers is routed correctly.
    It saves you the trouble with maintaining PBR as well.
    Source NAT can be done on the ACE, by applying the configuration to either the load balancing policy, or adding the configuration to the class-map entries in the multi-match policy.
    Cheers,
    Søren
    Sent from Cisco Technical Support iPad App

  • Centering a group of images on a page

    Hi,
    Hope this e-mail finds you well.
    I have several identical images on the top of a page that I would like to center on the page. They are already distributed equally and aligned at their bottoms but I would like to now center them as a group on the page. However, I can't figure out how to do that. Your assistance would be greatly appreciated.
    Thanks very much.

    I'm not completely clear on what you are doing, but try this:
    select all of the images
    Layer>Convert to Smart Object
    CMD-A
    Layer> Arrange layers to selection> Horizontal Centers
    and.. if you want them centered vertically
    Layer> Arrange layers to selection> Vertical Centers

  • Program Default Layer Writing Question

    People...
    An internet friend of mine in another forum helped me solve a
    parent (container) layer centering problem. I had created a large
    "Layer 1"...nested Layers 2, 3 & 4 within Layer 1...&
    wanted Layer 1 to slide to the center of any browser window, with
    2,3 & 4 not changing absolute position relative to Layer 1. The
    solution was:
    <div id="Layer1" style="position:relative; width:285px;
    height:311px; margin: 0 auto;">
    <div id="Layer2" style="position:absolute; width:47px;
    height:115px; z-index:1; left: 226px; top: 120px;"><img
    src="layer2.jpg" width="58" height="133"></div>
    <div id="Layer3" style="position:absolute; width:131px;
    height:115px; z-index:2; left: 3px; top: 3px;"><img
    src="layer3.jpg" width="158" height="189"></div>
    <div id="Layer4" style="position:absolute; width:176px;
    height:71px; z-index:3; left: 94px; top: 130px;">;"><img
    src="layer4.jpg" width="158" height="189"></div>
    </div>
    where the container (Layer 1) was assigned relative
    positioning & centered by auto margins...& the nested
    layers (2,3 & 4) remained absolute; & inline
    ...but...
    ...he also tells me that inline styles are not a good idea.
    Everybody tells me that inline styles are not a good idea.
    But no one tells me why.
    So...3 questions:
    1) Why are inline styles not a good idea...& is that
    relative (pardon the pun) to the way I am now centering my layer
    layout?
    2) Is there a way to configure Dreamweaver to write layer
    code (i.e., user draws in the layer...Dreamweaver writes the code)
    other than inline?
    3) On all of my existing page layouts that consist of
    multiple layers (each one housing an image or text)...that I now
    want centered...how do I nest those layers in a large container
    layer? (the above centering solution was from a test page I created
    from scratch...& the subsequent layers were nested as I went. I
    now need to go back to existing pages & center the layout.)
    Thanks very much,
    mark4man
    Dreamweaver MX (6.0)

    mark4man wrote:
    >
    People...
    >
    > An internet friend of mine in another forum helped me
    solve a parent
    > (container) layer centering problem. I had created a
    large "Layer 1"...nested
    > Layers 2, 3 & 4 within Layer 1...& wanted Layer
    1 to slide to the center of any
    > browser window, with 2,3 & 4 not changing absolute
    position relative to Layer
    > 1. The solution was:
    >
    > <div id="Layer1" style="position:relative;
    width:285px; height:311px; margin:
    > 0 auto;">
    > <div id="Layer2" style="position:absolute;
    width:47px; height:115px;
    > z-index:1; left: 226px; top: 120px;"><img
    src="layer2.jpg" width="58"
    > height="133"></div>
    > <div id="Layer3" style="position:absolute;
    width:131px; height:115px;
    > z-index:2; left: 3px; top: 3px;"><img
    src="layer3.jpg" width="158"
    > height="189"></div>
    > <div id="Layer4" style="position:absolute;
    width:176px; height:71px;
    > z-index:3; left: 94px; top: 130px;">;"><img
    src="layer4.jpg" width="158"
    > height="189"></div>
    > </div>
    >
    > where the container (Layer 1) was assigned relative
    positioning & centered by
    > auto margins...& the nested layers (2,3 & 4)
    remained absolute; & inline
    >
    > ...but...
    >
    > ...he also tells me that inline styles are not a good
    idea.
    >
    > Everybody tells me that inline styles are not a good
    idea.
    >
    > But no one tells me why.
    >
    > So...3 questions:
    >
    > 1) Why are inline styles not a good idea...& is that
    relative (pardon the pun)
    > to the way I am now centering my layer layout?
    Because the main advantage of using css is precisley to
    remove the styles from the html markup, and
    place it instead in an external style sheet. This allows you
    to:
    1.centralise the code that defines your layout in one place,
    and thus have only one file to deal
    with to update/change all your pages layouts.
    2.Think of layout in a more precticall way by dividing layout
    styles into coherent styles
    definitions that you can then combine in various ways to
    style various heml elements.
    3.Keep your html markup clean and simple
    >
    > 2) Is there a way to configure Dreamweaver to write
    layer code (i.e., user
    > draws in the layer...Dreamweaver writes the code) other
    than inline?
    maybe in DM8, but I don't think so, definitely not in MX6.
    Side note: using Layers for layout is not a good practice
    anyways, for many reasons, see below
    >
    > 3) On all of my existing page layouts that consist of
    multiple layers (each
    > one housing an image or text)
    what will happen if the user increases the text size in their
    browser preferences? Try it: the text
    will overflow the layers, and your page will look horrible,
    with text overlapping images or other
    text. Because you are using Layers. This would not happen if
    you were using relative divs or tables
    with no fixed height.
    >...that I now want centered...how do I nest those
    > layers in a large container layer? (the above centering
    solution was from a
    > test page I created from scratch...& the subsequent
    layers were nested as I
    > went. I now need to go back to existing pages &
    center the layout.)
    >
    In short, consider NOT using Layers at all.
    Use tables (easier) or realtively positioned divs (harder but
    often more practical in the long run).
    > Thanks very much,
    >
    >
    mark4man
    > Dreamweaver MX (6.0)
    >
    >
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • Centering with layers problem

    I have a problem centering a layer that has an image with
    relative positioning. I've replicated this phenomena with some
    basic code to make it easy to convey:
    I would like to position a layer with an image that is
    horizontally center to the page regardless of the screen
    resolution. I created a div tag called "layer1" with the
    appropriate descriptors below. This "appears" to center the image,
    but when I take my pencil and measure the left and right of the red
    box, it is clear that there are different measurements. When I
    center text just above the centered image, it is immediately
    apparent that the jpeg is not totally in the center. I've tried
    looking at it in 800x600 and higher resolutions, all with the same
    results.
    This is a big deal since the more complicated code where I am
    trying to center the layer with the image offsets images to where
    the entire page looks jumbled.
    I've attached the html code so you can see what I am doing.
    The image is just a red box that I made with GIMP.
    Can anyone see my error?

    > regardless of the screen resolution
    Just so you'll know, this is NOT a resolution issue. It's a
    browser
    viewport width issue. The same page will look the same on
    *any* resolution
    screen as long as the browser viewport is the same width in
    pixels on all
    screens.
    Put a border around your "pseudo-layer" (it's not a layer)
    and you'll see
    that it is in fact completely centered on all browser widths
    on any
    resolution screen.
    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
    ==================
    "SysTechGuy" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have a problem centering a layer that has an image with
    relative
    >positioning.
    > I've replicated this phenomena with some basic code to
    make it easy to
    > convey:
    >
    > I would like to position a layer with an image that is
    horizontally center
    > to
    > the page regardless of the screen resolution. I created
    a div tag called
    > "layer1" with the appropriate descriptors below. This
    "appears" to center
    > the
    > image, but when I take my pencil and measure the left
    and right of the red
    > box,
    > it is clear that there are different measurements. When
    I center text
    > just
    > above the centered image, it is immediately apparent
    that the jpeg is not
    > totally in the center. I've tried looking at it in
    800x600 and higher
    > resolutions, all with the same results.
    > This is a big deal since the more complicated code where
    I am trying to
    > center
    > the layer with the image offsets images to where the
    entire page looks
    > jumbled.
    >
    > I've attached the html code so you can see what I am
    doing. The image is
    > just
    > a red box that I made with GIMP.
    >
    > Can anyone see my error?
    >
    >
    > #layer1{
    > position:relative;
    > width:200px;
    > height:115px;
    > z-index:1;
    > top:50px;
    > margin:0 auto;
    > }
    >
    > <title>Untitled Document</title>
    > <script language="JavaScript"
    type="text/JavaScript">
    > <!--
    > function MM_reloadPage(init) { //reloads the window if
    Nav4 resized
    > if (init==true) with (navigator) {if
    >
    ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    > document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
    > onresize=MM_reloadPage; }}
    > else if (innerWidth!=document.MM_pgW ||
    innerHeight!=document.MM_pgH)
    > location.reload();
    > }
    > MM_reloadPage(true);
    > //-->
    > </script>
    > <link href="layer_test.css" rel="stylesheet"
    type="text/css">
    > </head>
    >
    > <body>
    > <div align="center">
    > <p>This is a test for layering </p>
    > <p>  </p>
    > </div>
    >
    > <div id="layer1"><img
    src="Practice_Pics/red.jpg"></div>
    > </body>
    > </html>
    >

  • Deploying Cisco Overlay Transport Virtualization (OTV) in Data Center Networks

    Welcome to the Cisco Support Community Ask the Expert conversation. This is an opportunity to learn and ask questions about how to plan, design, and implement Cisco Overlay Transport Virtualization (OTV) in your Data Center Network with Cisco experts Anees Mohamed Abdulla and Pranav Doshi.
    Anees Mohamed Abdulla is a network consulting engineer for Cisco Advanced Services, where he has been delivering plan, design, and implementation services for enterprise-class data center networks with leading technologies such as vPC, FabricPath, and OTV. He has 10 years of experience in the enterprise data center networking area and has carried various roles within Cisco such as LAN switching content engineer and LAN switching TAC engineer. He holds a bachelor's degree in electronics and communications and has a CCIE certification 18764 in routing and switching. 
    Pranav Doshi is a network consulting engineer for Cisco Advanced Services, where he has been delivering plan, design, and implementation services for enterprise-class data center networks with leading technologies such as vPC, FabricPath, and OTV. Pranav has experience in the enterprise data center networking area and has carried various roles within Cisco such as LAN switching TAC engineer and now network consulting engineer. He holds a bachelor's degree in electronics and communications and a master's degree in electrical engineering from the University of Southern California.
    Remember to use the rating system to let Anees and Pranav know if you have received an adequate response.  
    Because of the volume expected during this event, Anees and Pranav might not be able to answer each question. Remember that you can continue the conversation on the Data Center, sub-community forum shortly after the event. This event lasts through August 23, 2013. Visit this forum often to view responses to your questions and the questions of other Cisco Support Community members.

    Hi Dennis,
        All those Layer 2 extension technologies require STP to be extended between Data Centers if you need to have multiple paths between Data Centers. OTV does not extend STP rather it has its own mechanism (AED election) to avoid loop when multiple paths are enabled. It means any STP control plane issue, we don't carry to the other Data Center.
        OTV natively suppresses Unknown Unicast Flooding across the OTV overlay. Unknown unicast flooding is a painful problem in layer 2 network and difficult to troubleshoot to identify the root cause if you don't have proper network monitoring tool.
       It has ARP optimization which eliminates flooding ARP packets across Data Center by responding locally with cached ARP messages. One of the common issues I have seen in Data Center is some server or device in the network sends continuous ARP packets which hits Control plane in the Aggregation layer which in turn causes network connectivity issue.
    The above three points proves the Layer 2 domain isolation between data centers. If you have redundant Data Centers with Layer 2 extended without OTV, the above explained layer 2 issue which happens in one Data Center carries the same failure to the second data center which creates the question of what is the point of having two different Data Centers if we can not isolate the failure domain.
      OTV natively supports HSRP localization with few command lines. This is a very important requirement in building Active/Active Data Center.
    Even though your question is related to L2TP, OTV deserves the comparison with VPLS and those comparison will also be applicable for L2TP. The below link explains in detail...
    http://www.cisco.com/en/US/prod/collateral/switches/ps9441/ps9402/white_paper_c11-574984.html
    Thanks,
    Anees.

  • Layers wont stay put

    okay, so i spent about 4 hours making this quick layout for a
    friend, and i set it up as 3 mouseover buttons that show layers
    over the bg with content, so its pretty much like discoordinated
    dropdown content boxes. but after i placed all these layers wher ei
    wanted them and everything it looked sweet. then i resized my
    window for some reason or other... and all the layers were
    completely out of whack! i mean it was mega lame, now im
    heartbroken because of being defeated by such a small flaw, and i
    need some help. I did some searches, and i heard something about
    making the CSS styles "positioning:relevant" instead of Absolute. i
    tried this, but it messes up the buttons, and makes them
    undraggable , so i cant reposition them where i want them. plz
    help

    The entire site in one page makes for a very heavy page - 4
    pages worth. It
    makes for a page that is non-functional if javascript is not
    enabled, or if
    someone is using an assistive reading device. It makes for a
    page that
    cannot be bookmarked. And did I say the page willl be heavy?
    The code I gave you works because of the nature of absolute
    positioned
    elements. Their position on the screen is calculated based on
    the position
    of their nearest positioned ancestor container. When there is
    no nearest
    positoined ancestor (the case when you have a page that is
    entirely
    constructed with layers), then the calculation defaults to
    the position of
    the body tag, which would be the upper left-hand corner of
    the browser's
    viewport. My code gives the page a positioned ancestor, but
    it's one that
    is positioned relatively, not absolutely (that's ahat the
    div#wrapper is),
    and this means that the relatively positioned div can be
    centered by giving
    it a width, and auto margins left and right. Since the layer
    is inside the
    wrapper, and since it uses the wrapper for its position
    reference, and since
    the wrapper is centering, the layer is also going to be
    centering.
    Can you follow that?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (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
    ==================
    "Fyx`" <[email protected]> wrote in message
    news:[email protected]...
    > thanks alot murray that helped, but why is the "entire
    site in one page"
    > idea a
    > bad one? the site is only going to have about 4
    different pages to it in
    > total
    > so i figured id try to keep it inclusive. also... if im
    not asking too
    > much,
    > could u explain why adding those tags works? sorry if im
    being pestering
    > im
    > just eager to learn your ways ^^
    >

  • Simple (Uncomplicated) Layer Centering

    Hello...
    [sorry to do an adjacent post, but...]
    I have a site that I am in the process of developing; &
    the design concept i
    s a fairly simple one. I already know how to nest layers in a
    parent layer
    & center that parent layer...but I always wind up w/ a
    margin on the left &
    top of the parent (centered) layer (which...doesn't look
    right if there's an
    y type of backgrounding in the layer.)
    My concept is to have the parent layer sized to 779 X 386
    pxl's...so as to o
    pen fully in an 800 X 600 browser screen w/ no scroll
    bars...& then move to
    the center for all larger screen sizes (1024 X 768, etc.) No
    more...no less
    ..simple design...info & content stays centered in all
    cases, with no margi
    ns at the smaller res.
    Is there a way to do this in simple form...without all that
    P7 bloated layer
    centering fix hullabaloo?
    Thanks,
    mark4man

    > First, I made my doctype a strict one:
    As long as it's a valid and complete doctype it wouldn't
    matter if it were
    strict or loose.
    The rest of your 'solution' is just mumbo-jumbo, even
    containing errors.
    You cannot have two elements with the same ID (Layer1), for
    example.
    position:absolute; left:Xvalue px; top:Xvalue px;
    This is syntactically incorrect. "Xvalue px" is neither a
    legal value nor
    is your space between it an the unit a legal construction.
    > There's no z-index value for the parent div...but it all
    works.
    Doesn't matter - it will default to 1.
    > Also: Thanks Murray of ACE very much...didn't get around
    to trying your
    > code
    > this evening...may be better than mine, I don't know (in
    terms of better
    > cross-browser support & even overall functionality.)
    Try it. It's valid, and it works.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (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
    ==================
    "mark4man" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    SOLVED...!!!
    >
    > I actually had a page constructed to work in the way I
    described, but the
    > parent layer was a bit skinny. When I found it, I
    reconstructed it as
    > follows:
    >
    > First, I made my doctype a strict one:
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    > "
    http://www.w3.org/TR/html4/strict.dtd">
    >
    > Then...in the Head...below my keyword metadata...there
    is this:
    >
    > <style type="text/css">
    > body, html{
    > margin:0;
    > padding:0;
    > }
    >
    > [I believe this was the missing link for what I wanted
    to do...because
    > with
    > every page where I tried to center the parent layer,
    whereby I had the
    > stupid
    > margin on the left & top...it was missing.]
    >
    > Then the parent or container layer, with the nested
    layers, is as follows:
    >
    > <div id="Layer1" style="position:relative;
    width:779px; height:1120px;
    > margin:
    > 0 auto;">
    > <div id="Layer1" style="position:absolute;
    left:Xvalue px; top:Xvalue
    > px;
    > width:Xvalue px; height:Xvalue px; z-index:1"><img
    src="SomePhoto.jpg"
    > ></div>
    > <div id="Layer2" style="position:absolute;
    left:Xvalue px; top:Xvalue
    > px;
    > width:Xvalue px; height:Xvalue px; z-index:2"><img
    > src="SomeOtherPhoto.jpg"></div>
    > </div>
    >
    > There's no z-index value for the parent div...but it all
    works.
    >
    > Just wanted to put this out there for anyone else who
    may need it.
    >
    > Also: Thanks Murray of ACE very much...didn't get around
    to trying your
    > code
    > this evening...may be better than mine, I don't know (in
    terms of better
    > cross-browser support & even overall functionality.)
    >
    > To answer your question...I design like a old-fashioned
    graphics guy, like
    > I'm
    > doing paste-up...with overlapping content. Can't do that
    w/ tables.
    > [We've
    > had this discussion before, you & I.]
    >
    > Thanks again,
    >
    >
    mark4man
    >
    >

  • Centering layer

    How to center a layer for browser window, horizontally and vertically?

    Vertical centering is not usually recommended. This demo would be OK for a business card or splash page only.
    http://alt-web.com/TEMPLATES/vertical-center.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Every time I press the align-center button the layer moves a little more? never centers?

    This doesn't happen all the time, but it happens enough for me to ask. I don't even know what AE is aligning to sometimes. In this one comp, each time I click, the increments in which the layer moves become smaller and smaller, until they don't really move anymore, but are also clearly NOT centered anymore.
    anyone know? probably just missing something in terms of how AE processes alignment in the first place.
    thanks.

    The align feature will align two or more layers but it will not align relative to a comp. Complete info is in the help file.

  • Centering Image Horizontally within Div Layer

    I've placed an image inside a div layer. The div layer is 200 pixels wide by 200 pixels high. My image is 480 pixels x 720 pixels. So the layer is smaller than the image. How do I center the image horizontally within my div layer? I've applied a css rule on the layer as followed:
    #pictureframe {
    position:absolute;
    width:200px;
    height:200px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    Because the image is larger than the div layer the image doesn't want to center horizontally. It seem to justify itself on the left side of the div layer even though I've applied a text-align: center on it. Any suggestions.

    Make your division at least as wide as your image.  Height of divisions should always be determined by content inside it.  If you impose a height limit on your division, increased content or text size will fail, causing content to be hidden.  If required to display a background-image, use the min-height property.
    APDivs as a primary layout method seldom works well. Here is why:
    http://apptools.com/examples/pagelayout101.php
    Also, APDivs cannot be centered as they are removed from the normal page flow. You might try wrapping an APDiv inside a relatively positioned parent container, but without seeing your page (entire code), it's impossible to say for sure if this will work for you.
    See Centering Pages, Images and other elements with CSS
    http://cookbooks.adobe.com/post_Centering_web_pages_and_other_elements_with_CSS-16640.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Centering a pattern in layer effects CS5

    CS5.
    is there a way to centre a pattern sample in photoshop in layer effects?
    If I scale the pattern it doesnt seem to allow me to centre it, it just grows it left to write and as a top to bottom expansion
    Same issue with making a selection and filling it with a pattern.
    The only way to get a single copy of the pattern is to use EDIT/FILL, then crop it via selection.
    But I want to get a single sample of the pattern block via a layer effect fill.
    any ideas thankyou,

    With the dialog open just click and drag the Pattern on the canvas.

  • Layer centering

    hello, I built most of my site with layers, I have 1 or two
    tables but the rest of the flash and pictures are in layers. How
    can I center them? I centered them with the align - center, BUT
    when I open the html file on another computer its not centered. How
    can I resolve this problem?
    thanks

    You may also benefit from this page -
    http://www.great-web-sights.com/g_layerlaws.asp
    Murray --- ICQ 71997575
    Adobe Community Expert
    (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
    ==================
    ": Nadia : ** Adobe Community Expert **"
    <[email protected]> wrote in message
    news:[email protected]...
    > This is a copy and paste from a reply I made yesterday
    to a very similar
    > question (a search of the forums would have given you
    the same results
    > :)
    >
    > You shouldn't be using 'layers' to create your page
    layout unless you know
    > exactly how 'layers' work.
    >
    > Before you go further with your page, you may want to
    take a look at this
    > article:
    http://apptools.com/examples/pagelayout101.php
    >
    > Anyway for your problem, you need to wrap your current
    content layers into
    > a
    > relatively positioned div that is centered, so that your
    other page
    > contents
    > sit relative to this wrapper.
    >
    > You'll need to get your hands dirty by going into the
    code :) Make sure
    > you
    > keep a backup of your original file and if this doesn't
    solve your
    > problem,
    > you will need to give us a link to the page you created.
    >
    >
    > Change this -
    >
    > </head>
    >
    > to this -
    >
    > <style type="text/css">
    > <!--
    > body {
    > text-align:center;
    > background-color: white; /*or whatever page bg color you
    want */
    > }
    >
    > #wrapper {
    > position:relative;
    > text-align:left;
    > width:760px;
    > margin:0 auto;
    > }
    > -->
    > </style>
    > </head>
    >
    > and then change-
    >
    > <body ...>
    >
    > to this -
    >
    > <body ...>
    > <div id="wrapper">
    >
    > and this -
    >
    > </body>
    >
    > to this -
    >
    > <!-- /wrapper -->
    > </div>
    > </body>
    >
    >
    > --
    > Nadia
    > Adobe® Community Expert : Dreamweaver
    > -------------------------------------------------
    > Tutorials |SEO |Templates
    >
    http://www.DreamweaverResources.com
    > -------------------------------------------------
    >
    http://www.perrelink.com.au
    > -------------------------------------------------
    >
    >
    >
    >
    > "beliy333" <[email protected]> wrote in
    message
    > news:[email protected]...
    >> hello, I built most of my site with layers, I have 1
    or two tables but
    >> the rest
    >> of the flash and pictures are in layers. How can I
    center them? I
    >> centered them
    >> with the align - center, BUT when I open the html
    file on another
    >> computer its
    >> not centered. How can I resolve this problem?
    >>
    >> thanks
    >>
    >
    >

  • I don't have a dual-layer drive, can I install Tiger or Leopard?

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    Mac OS X 10.4 Tiger, and Mac OS X 10.5 Leopard come on what appear to be larger than 4.7 GB discs. This does not mean you need a dual layer drive to install them. Some Macs capable of installing Tiger or Leopard came with a built-in CD-RW, or CD-ROM drive. For those a compatible Firewire DVD drive for booting Mac OS X can work instead of replacing the internal drive. Tiger also came in a limited edition Media Exchange Program CD installer package, which you may be able to find in the open market. The limitation for each is dependant on other hardware:
    1. If your Mac shipped new with no Firewire, you may be able to install Tiger a special third party addon software known as XPostFacto.
    2. If your Mac shipped new with less than 867 Mhz built-in processor (including dual processor 800 MHz or less), you may be able to install Leopard with a special third party addon software known as Leopard Assist.
    3. If your Mac shipped with a processor upgrade card installed, and #2 is true, a firmware update may be available from the processor upgrade card vendor that allows Leopard's installation.
    4. Tiger needs at least 256 MB of RAM.
    Leopard needs at least 512 MB of RAM.
    If you have a lot of dashboard widgets, you may need to increase RAM to improve performance on either operating system. The RAM needs to follow Apple's specs to ensure smooth operation. Only get RAM with a lifetime warranty.
    5. Officially you need for Tiger:
    "At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools" from: http://support.apple.com/kb/HT1514
    And officially for Leopard you need:
    "9 GB of available disk space or more" from http://support.apple.com/kb/HT3759
    However, I would add to that if your hard drive doesn't have at least 15% of the drive free in addition to that, you may experience significant slowing down in the operating system function. This number has been arbitrarily discovered by many users.
    6. When installing Tiger or Leopard, if your machine shipped with Panther (10.3) or earlier, be sure to get the retail Tiger or retail Leopard.
    The Tiger installer is a san serif gray and white X with a spotlight on the center of the X on a black background.
    The Leopard installer is a san serif black and gray X on a pink galaxy centered on a black background.
    This is the 1st version of this tip. It was submitted on Dec 23, 2009 by a brody.
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    Mac OS X 10.4 Tiger, and Mac OS X 10.5 Leopard come on what appear to be larger than 4.7 GB discs. This does not mean you need a dual layer drive to install them. Some Macs capable of installing Tiger or Leopard came with a built-in CD-RW, or CD-ROM drive. For those a compatible Firewire DVD drive for booting Mac OS X can work instead of replacing the internal drive. Tiger also came in a limited edition Media Exchange Program CD installer package, which you may be able to find in the open market. The limitation for each is dependant on other hardware:
    1. If your Mac shipped new with no Firewire, you may be able to install Tiger a special third party addon software known as XPostFacto.
    2. If your Mac shipped new with less than 867 Mhz built-in processor (including dual processor 800 MHz or less), you may be able to install Leopard with a special third party addon software known as Leopard Assist.
    3. If your Mac shipped with a processor upgrade card installed, and #2 is true, a firmware update may be available from the processor upgrade card vendor that allows Leopard's installation.
    4. Tiger needs at least 256 MB of RAM.
    Leopard needs at least 512 MB of RAM.
    If you have a lot of dashboard widgets, you may need to increase RAM to improve performance on either operating system. The RAM needs to follow Apple's specs to ensure smooth operation. Only get RAM with a lifetime warranty.
    5. Officially you need for Tiger:
    "At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools" from: http://support.apple.com/kb/HT1514
    And officially for Leopard you need:
    "9 GB of available disk space or more" from http://support.apple.com/kb/HT3759
    However, I would add to that if your hard drive doesn't have at least 15% of the drive free in addition to that, you may experience significant slowing down in the operating system function. This number has been arbitrarily discovered by many users.
    6. When installing Tiger or Leopard, if your machine shipped with Panther (10.3) or earlier, be sure to get the retail Tiger or retail Leopard.
    The Tiger installer is a san serif gray and white X with a spotlight on the center of the X on a black background.
    The Leopard installer is a san serif black and gray X on a pink galaxy centered on a black background.
    This is the 1st version of this tip. It was submitted on Dec 23, 2009 by a brody.
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

  • Issue with Dragging a 3D Layer

    There seem to at least three ways to get an external 3D model into a document:
    1. Open the model file itself.
    2. New Layer from 3D File.
    3. Drag a 3D layer from another document.
    The third way has a problem associated with it that doesn't seem to be documented:  Unlike the first two, when you do this one, the results depend on where you release the mouse cursor.  The worst part is that unless you happened to drop it at the center of the document, you can get some very non-intuitive behavior:
    When you zoom the camera in the Camera Tool (N), the center of the image does not stay fixed as it does with a real camera.  This leads to real problems in positioning the camera to get the view you want.
    The orthogonal camera views (Left, Top, etc.) normally adjust to show the image centered in the view.  They do not in this case.  The Top view, for example, shows the red and green axes as crossing somewhere besides the center and perhaps even not inside the view.  The model is not centered.
    For a given camera elevation and azimuth, you should be able to calculate where to place the camera and how to rotate it so that it points at, say, the origin.  If you do this correctly, it will work in the first two cases, but not the third.
    It can be a gotcha.  The documentation Combine 3D objects (Photoshop Extended) has explict directions for the steps you should take but does not mention this effect.  The effect is especially apparent and non-intuitive when the camera is near or in the model, and as it would turn out, that was the situation in my first real project with Photoshop 3D.  It took me a long time (weeks) to figure out what was happening, and I still have some remaining lack of understanding.
    In case you don't want to read further, let me say that you can avoid this problem by using Shift-drag or Layer | Duplicate Layer.  Both of these center the 3D object in the layer, and the camera works as you would expect a 3D camera to work.  (The documentation should say this rather than what it does say.)
    It doesn't seem to be a bug, and the implementation is probably logical, but it needs to be documented.  I am not sure of the best way to help this happen.  Perhaps someone can suggest the most effective way to go about it.
    This is what I have learned the hard way.
    It works just the same as dropping an image on a layer.  You can use the Move Tool (V) to move the image around and can use Free Transform (Ctrl-T or Command-T) to move, resize, or distort it.  In addition, Free Transform will show you the numeric values of where the image is located, how it is sized, etc.  This is true of other Photoshop objects in a layer as well, not just images.
    It is, in fact, apparently using the same mechanism as it does for all objects.  The problem is that this is a 2D concept and doesn't play well with the 3D object.  For a 3D object by itself, what you see is determined by the camera and model positions.
    These, in fact, stay with the 3D object in the layer as you move it around.  However, the camera is aimed relative to the 3D object whereas what you see is a combination of this and the location of the 3D object in the 2D layer of the document.  For example if your 3D object is moved to the lower right of the document, then all of the Top, Left, Front, etc. views will show it in the lower right.  This is probably not what you would expect, at first anyway.
    The numeric values of the location of  an object in a layer are given in pixels.  The locations of things in the model inside the 3D object are in terms of its dimensions (inches, meters, etc.) even though the units are not necessarily known).
    I do not yet know what algorithm Photoshop uses to determine the end result of what you see.  They don't even document their 3D coordinate system, much less this.  I have been able to determine fairly well what the coordinate system must be, but I haven't figured out how it gets mixed in with the location in the 2D layer.
    I also have not yet figured out how to get the numeric values for where the object is located in the layer.  The free transform values always indicate it is the same size as the layer and centered.  It will always render to fill the document window, in any event.  If someone knows how to get the numeric values, I would appreciate the information.  It is necessary if you want to do accurate placement as for an engineering or architectural model.
    An upside is that this can be a powerful feature if you learn to control it.  I am reasonably sure you can get views of your model that are not possible using the 3D camera and object tools alone.  I think this because I spent a lot of time trying to position an object in a tutorial so it looked like the example given.  I was not able to do this with the camera controls alone and was only successful after moving the layer, once I learned the above.
    Thanks in advance for any further insight into this issue.

    I ran into this to...it has to do with the way the player
    handles the 3D transform. The workaround I used was to take a
    snapshot of the object you are rotating using BitmapData, make your
    actual object invisible, rotate the temp bitmap, and then at the
    end of the rotation remove the temp object and make your actual
    object visible again.

Maybe you are looking for

  • External microphone for hp 600-1160uk

    Hi, I am hoping someone can help me. I want to add a logitech microphone and use that instead of the internal microphone. I have purchased a standard desktop microphone with a jack but when I plug it into the "audio line in" on the left side of the c

  • Strange behaviour from new 2012R2 in old domain

    Hi all, At work (education level), I'm starting to take charge of windows admin, so beiing a noob admin I'm finding strange behaviours that I hope you can help me solve them all :-) We've one (big) domain with about 5000 computers (workers and studen

  • AP terms of payment

    What is the significant of having Master Data Terms of Payment in both company code view and Purchasing view.

  • Ascii to PDF using word or PDF template and then converting the pdf to a PDF form

    Hi all, We are planning to restructure the whole PDF generation process in our application.. We use ASCII files to provide the data feed..Is it possible to create PDF files out of them with a pre defined Template and then to make that PDF editable wi

  • How to Disable Row Detail in Sales Module

    Dear Experts, how to disable row detail option in sales module. how it is posible. we are using SAP Business One 2007. PL42 Thanx