Wow this is such a newb question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Fusion
Forum Newbie
Posts: 13
Joined: Wed May 12, 2004 9:48 am

Wow this is such a newb question

Post by Fusion »

ok dont laugh, but I cant get my table to go down the whole page! Heirght="100%" does not work! I was wondering if there ias a php way, or if someone could help me if there isnt...

omg im such a newb lol
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Table heights are a funny thing. The W3C who set out guidelines for HTML do not want table heights to be a dynamic property since they did not want tables to be used for layouts. Just for data representation.

Of course, this is a pain for us web developers ;-) Height="100%" doesn't work but height="500" would do.

You can use javascript to get the screen size an take it from there but i'd steer clear, use pixels ;-)
Fusion
Forum Newbie
Posts: 13
Joined: Wed May 12, 2004 9:48 am

Post by Fusion »

Yea that would work, except my website has articles, every article is different length, therefore each page is an unspecified length.
ianlandsman
Forum Newbie
Posts: 24
Joined: Thu Dec 30, 2004 9:50 pm
Location: New York

Post by ianlandsman »

I'm not sure how much flexibility you have, but you could consider modifying your design somewhat to use a cascading background image. If done right this can give the perception that a design flows to the bottom of the page.
Fusion
Forum Newbie
Posts: 13
Joined: Wed May 12, 2004 9:48 am

Post by Fusion »

no, the bg is just 2 px X 2px
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'd suggest making the tile a bit bigger, as at that size, it'll take a while for some browsers to render such a small tile over such a large area.
AGISB
Forum Contributor
Posts: 422
Joined: Fri Jul 09, 2004 1:23 am

Post by AGISB »

This is a pain in the ass as some browsers show it correctly and some don't.

Opera does freak me in the moment because it doesn't even display the width=100% correctly. Cracks my design of a page that works with every resolution > 800x600 .

It seems to me that you simply have to rely on scrolling when height is involved.
Fusion
Forum Newbie
Posts: 13
Joined: Wed May 12, 2004 9:48 am

Post by Fusion »

omg just make my bg that image and it will cover what the table does not.ROFFL told you i was a newm lol.
Post Reply