![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Hi Murray, Sorry to bother you again with this issue - but i'd really like to learn how to do this centered layer or table thing. What I want to achieve is the centered 'window' as on the Cartier site. http://www.cartier.com/us/index.html When you reduce the browser window - the rectangle adjusts to stay centered - both HORIZONTALLY and VERTICALLY. Is it done with layers? I hope so - because nested tables are a pain. Thanks, - Greg |
#12
| |||
| |||
|
|
frameset rows="100%,*" framespacing="0" frameborder="0" frame name="site" src="main.html" frameborder="0" scrolling="No" noresize marginwidth="0" marginheight="0" frame name="blank" src="blank.html" frameborder="0" scrolling="No" noresize marginwidth="0" marginheight="0" /frameset Ewww. |
#13
| |||
| |||
|
| /BODY |
|
Hi Murray, Sorry to bother you again with this issue - but i'd really like to learn how to do this centered layer or table thing. What I want to achieve is the centered 'window' as on the Cartier site. http://www.cartier.com/us/index.html When you reduce the browser window - the rectangle adjusts to stay centered - both HORIZONTALLY and VERTICALLY. Is it done with layers? I hope so - because nested tables are a pain. Thanks, - Greg |
#14
| |||
| |||
|
#15
| |||
| |||
|
|
Could you perhaps provide an alternaive? |
|
Could you perhaps provide an alternaive? Thanks, - Greg |
#16
| |||
| |||
|
That's not gonna do much ![]() Thierry "Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote in message news:cddqj3$nb3$1 (AT) forums (DOT) macromedia.com... frameset rows="100%,*" framespacing="0" frameborder="0" frame name="site" src="main.html" frameborder="0" scrolling="No" noresize marginwidth="0" marginheight="0" frame name="blank" src="blank.html" frameborder="0" scrolling="No" noresize marginwidth="0" marginheight="0" /frameset Ewww. |
#17
| |||
| |||
|
|
Thierry: It's the code from the linked page posted originally. It's not what I proposed. The OP was saying he hoped that the page was centering layers. I posted the page's frameset code. |
#18
| |||
| |||
|
#19
| |||
| |||
|
|
I think I've solved it! All by my untechnical self! Create a layer. Use css to position it 50% from the left, 50% from the top. Nest a 2nd layer inside it. I want my 'window' to be 750 wide and 440 high. So I position this 2nd layer -375 from the 1st layer's left edge. And -220 from the 1st layer's top edge. I seems to work a treat. It's perfectly positioned in the middle of the page. And the 1st layer's relative positioning ensures that when I adjust the browser window - the 2nd layer stays horizontally and vertically centered. Thanks for all your help. Please let me know if you can see any potential flaws in my solution. - Greg |
![]() |
| Thread Tools | |
| Display Modes | |
| |