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

P

petes

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.
 
S

Stefan B Rusynko

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.
 
M

Murray

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....
 
S

Stefan B Rusynko

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.
| >
| >
|
|
 
Top