[PHP] PHP creating table for HTML layout

2002-07-23 Thread Briggsy

I am hoping someone can help me with a desperate problem I am having

I know nothing about PHP and hoping that it might be able to solve a problem
I have with HTML tables.

I want my web background to cover the entire screen regardless of screen
size. The background has a header, a left side nav and a footer. I want the
footer to be on the bottom of the screen or bottom of the text, which ever
is greater. If you go to www.v3.aru.org.nz you will get an idea of what I'm
talking about. If you are using IE 5.x or greater it should show correctly.

I used the HTML table tag height=100%, however this is not a valid tag and
therefore Netscape ignores it. Also if  I use it it wont validate as a true
complaint code, which I want it to.

So can I use PHP to create a table or place the background images to create
a header, side nav and footer with the middle white section adjusting to
screen size.

I don't want to have to greater multiple sites for different resolutions and
would rather have one template that all pages call by an include statement
(That's the ASP command, think I saw the same command in PHP)

Any help or solution would be appreciated as I have been searching the net
and working on this for weeks and I'm getting nowhere.

Thanks

Shane.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP creating table for HTML layout

2002-07-23 Thread Martin Clifford

PHP is server-side, so it can't do anything that would help with the layout of HTML on 
the client-side.  You might want to look into Cascading Style Sheets (CSS) to format 
the page so that it validates the way you want it to :o)

HTH!

Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/


 Briggsy [EMAIL PROTECTED] 07/23/02 04:10PM 
I am hoping someone can help me with a desperate problem I am having

I know nothing about PHP and hoping that it might be able to solve a problem
I have with HTML tables.

I want my web background to cover the entire screen regardless of screen
size. The background has a header, a left side nav and a footer. I want the
footer to be on the bottom of the screen or bottom of the text, which ever
is greater. If you go to www.v3.aru.org.nz you will get an idea of what I'm
talking about. If you are using IE 5.x or greater it should show correctly.

I used the HTML table tag height=100%, however this is not a valid tag and
therefore Netscape ignores it. Also if  I use it it wont validate as a true
complaint code, which I want it to.

So can I use PHP to create a table or place the background images to create
a header, side nav and footer with the middle white section adjusting to
screen size.

I don't want to have to greater multiple sites for different resolutions and
would rather have one template that all pages call by an include statement
(That's the ASP command, think I saw the same command in PHP)

Any help or solution would be appreciated as I have been searching the net
and working on this for weeks and I'm getting nowhere.

Thanks

Shane.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] PHP creating table for HTML layout

2002-07-23 Thread Vail, Warren

I have had some success with something similar to what you want to do, using
frames.
The bottom footer always remains at the bottom of the browser page with the
upper body becoming scrollable when it fills up and no longer fits.  Perhaps
you can use some variation of this.


HTML
HEAD
TITLEMy Form/TITLE
/HEAD
!-- frames --
!-- standard frameset --
frameset rows=*,40 frameborder=0 framespacing=0
border=0 noresize
   frame name=CBody src=Topbodyform.html
marginwidth=0
marginheight=0 scrolling=auto frameborder=no
noresize
   frame name=CFoot src=Smallbodyfoot.html
marginwidth=0
marginheight=0 scrolling=no frameborder=no
noresize
/frameset  

hope this helps,

Warren Vail
Tools, Metrics  Quality Processes

-Original Message-
From: Briggsy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 1:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP creating table for HTML layout


I am hoping someone can help me with a desperate problem I am having

I know nothing about PHP and hoping that it might be able to solve a problem
I have with HTML tables.

I want my web background to cover the entire screen regardless of screen
size. The background has a header, a left side nav and a footer. I want the
footer to be on the bottom of the screen or bottom of the text, which ever
is greater. If you go to www.v3.aru.org.nz you will get an idea of what I'm
talking about. If you are using IE 5.x or greater it should show correctly.

I used the HTML table tag height=100%, however this is not a valid tag and
therefore Netscape ignores it. Also if  I use it it wont validate as a true
complaint code, which I want it to.

So can I use PHP to create a table or place the background images to create
a header, side nav and footer with the middle white section adjusting to
screen size.

I don't want to have to greater multiple sites for different resolutions and
would rather have one template that all pages call by an include statement
(That's the ASP command, think I saw the same command in PHP)

Any help or solution would be appreciated as I have been searching the net
and working on this for weeks and I'm getting nowhere.

Thanks

Shane.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP creating table for HTML layout

2002-07-23 Thread Justin French

PHP can't help here -- you should do a search on the web for liquid
website designs, or check out / borrow some code from other sites you've
seen work.

Although not valid, I've seen height=100% work on 1000's of sites.
Combined with a CSS statement, you should be able to cover all browsers.


Justin



on 24/07/02 6:10 AM, Briggsy ([EMAIL PROTECTED]) wrote:

 I am hoping someone can help me with a desperate problem I am having
 
 I know nothing about PHP and hoping that it might be able to solve a problem
 I have with HTML tables.
 
 I want my web background to cover the entire screen regardless of screen
 size. The background has a header, a left side nav and a footer. I want the
 footer to be on the bottom of the screen or bottom of the text, which ever
 is greater. If you go to www.v3.aru.org.nz you will get an idea of what I'm
 talking about. If you are using IE 5.x or greater it should show correctly.
 
 I used the HTML table tag height=100%, however this is not a valid tag and
 therefore Netscape ignores it. Also if  I use it it wont validate as a true
 complaint code, which I want it to.
 
 So can I use PHP to create a table or place the background images to create
 a header, side nav and footer with the middle white section adjusting to
 screen size.
 
 I don't want to have to greater multiple sites for different resolutions and
 would rather have one template that all pages call by an include statement
 (That's the ASP command, think I saw the same command in PHP)
 
 Any help or solution would be appreciated as I have been searching the net
 and working on this for weeks and I'm getting nowhere.
 
 Thanks
 
 Shane.
 
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP creating table for HTML layout

2002-07-23 Thread Briggsy

Thanks to all those who replied here and directly. I have realised PHP isn't
going to do what I want and have gone back to researching using CSS and
float tags.

Thanks for all the suggestions.

Shane

Martin Clifford [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
PHP is server-side, so it can't do anything that would help with the layout
of HTML on the client-side.  You might want to look into Cascading Style
Sheets (CSS) to format the page so that it validates the way you want it to
:o)

HTH!

Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/


 Briggsy [EMAIL PROTECTED] 07/23/02 04:10PM 
I am hoping someone can help me with a desperate problem I am having

I know nothing about PHP and hoping that it might be able to solve a problem
I have with HTML tables.

I want my web background to cover the entire screen regardless of screen
size. The background has a header, a left side nav and a footer. I want the
footer to be on the bottom of the screen or bottom of the text, which ever
is greater. If you go to www.v3.aru.org.nz you will get an idea of what I'm
talking about. If you are using IE 5.x or greater it should show correctly.

I used the HTML table tag height=100%, however this is not a valid tag and
therefore Netscape ignores it. Also if  I use it it wont validate as a true
complaint code, which I want it to.

So can I use PHP to create a table or place the background images to create
a header, side nav and footer with the middle white section adjusting to
screen size.

I don't want to have to greater multiple sites for different resolutions and
would rather have one template that all pages call by an include statement
(That's the ASP command, think I saw the same command in PHP)

Any help or solution would be appreciated as I have been searching the net
and working on this for weeks and I'm getting nowhere.

Thanks

Shane.





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php