|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
|
Prolly easy xhtml question
Hi,
I have html page. I want part of it (few lines) to be at the bottom of the page no matter what, even if i get scrollers and even if i got half page filled only. I am validatin gin xhtml, so it wont let me make table with height 100% or something like that, dunno why. I am aware of floating text, but it seems that it will hide the text i will have in the page .... Any solution? |
|
|
|
|
|
#2 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
To make a table height 100%, add this to your table tag as shown below:
HTML Code:
<table style="height: 100%;">
HTML Code:
<table width="100%" style="position: absolute; bottom: 0px; left: 0px;">
![]() Hope this helps, Stryker
__________________
Athlon XP 2800+ • Asus A7N8X (nVidia Nforce2) • Radeon 9600 Pro 256MB • 2x512MB KVR DDR PC3200 Dual Channel • 120GB Seagate 7200RPM 8MB • 160GB WD 7200RPM 8MB • Liteon DVD±RW DL • AOpen DVD±RW DL • Vantec Ion2 350W PSUSend me your picture for the Member Photo Gallery |
|
|
|
|
|
#3 |
|
Member (7 bit)
|
the style you wrote put the desired text at the bottom, but:
when i scroll down it stays in its position and doesnt go dow as well. In addition it hides the text behind it, i want it to be in the document and not over it... I just want that the middle section have its scroller and the bottom part will stay always at bottom, but not hiding or going over the middle part as it scrolls... |
|
|
|
|
|
#4 |
|
It can never be too quiet
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
|
I think you're looking for "fixed" positioning, which unfortunately does not work properly with I.E. 5+, but there are workarounds. THIS SITE probably has the best solution to emulate "position: fixed" in Internet Explorer. It's also good because there is no Javascript involved so that lowers the complexity level a tad. I have played around with this a bit, but not enough to explain it to you in an articulate manner. Let us know if you have any trouble though.
Stryker
|
|
|
|
|
|
#5 |
|
Member (7 bit)
Join Date: Sep 2003
Location: Edmonton, Alberta, Canada
Posts: 105
|
It sounds like the effect you are looking for could be achieved with frames, although using frames has issues as well.
AJ |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|