![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
However, I've just thought of something else. Let me see if it works... |
#12
| |||
| |||
|
|
Steve Pugh <steve (AT) pugh (DOT) net> wrote: http://steve.pugh.net/test/test66-em.html It works. Though I'm certain that in theory it should break when the nav is longer than both the content and the window, but it doesn't seem to in my test browsers (Opera 5 and 7.23, IE 5.01 and 6, Netscape 6, Mozilla 1.5). Even degrades fairly gracefully in Netscape 4. |
#13
| |||
| |||
|
|
On Mon, 19 Jan 2004, Lauri Raittila wrote: In article Steve Pugh wrote: [transition of color in middle of page] I can't think of a way to do it with ems [...], but following works with percentage sized columns: http://steve.pugh.net/test/test66.html Hm. I managed to think two ways, but I haven't tested them much, just Opera 7.5p1: http://www.student.oulu.fi/~laurirai...ion/index.html http://www.student.oulu.fi/~laurirai...on/index2.html Maybe I will get some testing done sometime, but now I need to go buy some food. Thanks all for your suggestions. Steve's method, and Lauri's 1st method seem to work fine on Opera 7.21 (haven't tested others yet). They present one problem, though: they both require the menu div to come before the content div. Switching off CSS forces you to go through the entire menu before you reach the content. I would really like to have the menu after the content in the HTML code. Perhaps I'm too demanding? |
|
Lauri's second attempt, with an absolutely positioned menu, doesn't pose this problem. Unfortunately, it doesn't work as intended if you have to scroll below the lower edge of the viewport... just like my original attempt. |
#14
| |||
| |||
|
|
Thanks for the link to the layout idea. It doesn't work for me because #navigation has position: absolute. On balance, I'd rather keep the nav in a sensible place in the html than have the green extend down the page as I'd like. It's a real pity that I can't use display: table-cell with position: absolute; that would at least solve the problem in Safari, Moz, and Opera. |
![]() |
| Thread Tools | |
| Display Modes | |
| |