![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How can I make a layer stay exactly in the same place no matter what the window size is? I have a button and when you rollover I want to show a layer that holds dynamic data from my database but I can't get the layer to always stay in that exact spot. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
The site is 961 pixels wide, centered. If I set all layers to relative would that do it? |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I did what the tutorial said but I'm still not getting the desired results. The layer still moves around depending on the window size. body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align:center min-width: 961px width: 961px } div.wrapper { text-align: left; margin-left: auto; margin-right: auto; position:relative } |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
968 is the recommended value for 1024 resolution. So I was just guessing that 960 would fit centered. I got it working actually now, I had to change a combination of codes (plus the adding the ;'s). I need to re-read all my CSS-P stufff, eek - thanks for the help! |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
I had the same problem as mikeap. I managed to solve it by adding the code provided by Gary, but now my pop-up menus behave the same like the layers earlier (the position of the pop-up menus changes by the resizing of the browser's window). How can i fix this? |
![]() |
| Thread Tools | |
| Display Modes | |
| |