Article View: adobe.golive.windows
Article #206Re: Misbehaving layer - inconsistent alignment
From: Nate_Baldwin
Date: Fri, 20 Mar 2009 03:32
Date: Fri, 20 Mar 2009 03:32
10 lines
1545 bytes
1545 bytes
I don't think it's the difference in browsers causing the problem, but the difference in browser window size. If you change the width of the browser window, note that the rest of the site centers in the available space while the layer keeps its position from the top left. Combining grids with layers usually leads to headache, but you can make the layer center with the rest of the content if you put it inside a container div that's the same size as the grid, and let its position be relative to that. Here's a tutorial that should clarify: <http://mindpalette.com/tutorials/center_layers/index.php> You'll also need to check that the layer's z-index (and the container's z-index) are higher than the rest of the content - noticed that in Explorer 7 it ends up behind the grid content. Or (better) add the image directly to the grid and skip the layer.
Technical Details
Message-ID:
<59b85b05.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingReferences:
<59b85b05.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 101ba1,9ad6ab344a7706f6 X-Google-Attributes: gid101ba1,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Nate_Baldwin@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.golive.windows Subject: Re: Misbehaving layer - inconsistent alignment Message-ID: <59b85b05.0@webcrossing.la2eafNXanI> Date: Thu, 19 Mar 2009 20:32:21 -0700 References: <59b85b05.-1@webcrossing.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit