![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hey Folks: I'm probably dreaming here, but perhaps there's a way... I just gave a presentation. It's in XHTML and uses CSS for making things look nice. Right now there's a small navigation system on top and the main text area. The presentation is about to be put on the web, so I'd like to add a footer on each page with the presentation name and a link back to the main site. The quest here is: 1) On pages where the main text doesn't fill the whole screen, put the footer at the bottom of the browser window. 2) But, on pages where the main text is long enough to scroll down below the bottom of the window, to place the footer below the bottom of the text. Doing something like this: div.bottom { position: absolute; bottom: 0; } works fine for short pages, but on longer pages, the footer winds up covering the main text at the bottom of the current screen. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
"Analysis&Solutions" <info (AT) analysisandsolutions (DOT) com> wrote in message news:bijot8$ps2$1 (AT) reader2 (DOT) panix.com... I just gave a presentation. It's in XHTML and uses CSS for making things [...] 1) On pages where the main text doesn't fill the whole screen, put the footer at the bottom of the browser window. 2) But, on pages where the main text is long enough to scroll down below the bottom of the window, to place the footer below the bottom of the text. http://scott.sauyet.name/CSS/Demo/FooterDemo1.html |
#5
| |||
| |||
|
|
In <bio530$4e0$1 (AT) mordred (DOT) cc.jyu.fi> Mikko Rantalainen <mira (AT) st (DOT) jyu.fi writes: Like the page says, it doesn't work with Opera 6. FYI: a friend and I did browser compliance tests using my real world usage: http://nyphp.org/content/presentations/pvsxml/ Windows Mozilla (a current build) works IE 6 works Opera 7 not really and renders very slowly, at least on my machine Mac OSX Mozilla (~1.4) works IE 5.2 nope Safari 1.0 nope Opera 6 Any other data points? OK on NN7 win98 and win2000 |
#6
| |||
| |||
|
|
Analysis&Solutions wrote: FYI: a friend and I did browser compliance tests using my real world usage: http://nyphp.org/content/presentations/pvsxml/ Mac OSX IE 5.2 nope Safari 1.0 nope Neither of these support the min-height property, but do support the child rules that WinIE ignores. So they will just act on html>body, html>body div.contents {height: auto;} I don't think you will get the desired effect in these browsers (or Konqueror) without a table layout. |
|
BTW, at first I didn't even see the header or footer. The color makes it practically invisible to begin with, plus the font size is illegibly small for me. :hover color doesn't make it any more readable, either. |
![]() |
| Thread Tools | |
| Display Modes | |
| |