Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-11-2005, 02:50 PM   #1
Member (7 bit)
 
Join Date: Jun 2003
Location: Israel
Posts: 92
Send a message via ICQ to M.D.
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?
M.D. is offline   Reply With Quote
Old 04-11-2005, 03:05 PM   #2
It can never be too quiet
 
Stryker's Avatar
 
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%;">
If you want to get into positioning text in a fixed or absolute position, it gets a little more complex. Are you looking for the text to scroll with the page and always be at the very bottom no matter how long it is? If so, add the following to your table tag:
HTML Code:
<table width="100%" style="position: absolute; bottom: 0px; left: 0px;">
Now, I did this a little quickly so if I've messed something up, let me know.
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
Stryker is offline   Reply With Quote
Old 04-12-2005, 12:35 AM   #3
Member (7 bit)
 
Join Date: Jun 2003
Location: Israel
Posts: 92
Send a message via ICQ to M.D.
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...
M.D. is offline   Reply With Quote
Old 04-12-2005, 05:40 AM   #4
It can never be too quiet
 
Stryker's Avatar
 
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
Stryker is offline   Reply With Quote
Old 04-14-2005, 10:39 AM   #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
Urban Earth is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:21 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2