I want to fix a layer, it moves when the screen res changes (front

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am having a problem making a layer stay in the correct place if the screen
res is
1024 x 786 it is correct but in 800 x 600 the layer is now incorrect.
How do you lock it to a spot on the lower cells.
 
If you are using absolute positioning it is locked to the browser window px location specified
- which will vary depending on users screen resolution and browser/platform and browser settings
If using relative postioning it is locked relative to the element you use it in

--




| I am having a problem making a layer stay in the correct place if the screen
| res is
| 1024 x 786 it is correct but in 800 x 600 the layer is now incorrect.
| How do you lock it to a spot on the lower cells.
 
That's just wrong, Stefan. The layer's position does NOT change - for
example it will always be 150 pixels from the left margin when you put it at
150px left. It's the content underneath the layer that is changing because
it is centering or flexing with the viewport width.

I'd need to see the code to tell you which....
 
That's correct
- the 150 px is ~always the same (believe older NN does % rendering of the window objects) but the other elements on the page won't
be the same

--




| That's just wrong, Stefan. The layer's position does NOT change - for
| example it will always be 150 pixels from the left margin when you put it at
| 150px left. It's the content underneath the layer that is changing because
| it is centering or flexing with the viewport width.
|
| I'd need to see the code to tell you which....
|
| --
| Murray
|
| | > If you are using absolute positioning it is locked to the browser window
| > px location specified
| > - which will vary depending on users screen resolution and
| > browser/platform and browser settings
| > If using relative postioning it is locked relative to the element you use
| > it in
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > | > | I am having a problem making a layer stay in the correct place if the
| > screen
| > | res is
| > | 1024 x 786 it is correct but in 800 x 600 the layer is now incorrect.
| > | How do you lock it to a spot on the lower cells.
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top