Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Using tables instead of frames
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using tables instead of frames

 Post Reply Post Reply
Author
danp129 View Drop Down
Newbie
Newbie


Joined: 04 February 2003
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote danp129 Quote  Post ReplyReply Direct Link To This Post Topic: Using tables instead of frames
    Posted: 27 March 2003 at 11:36am

Anyone know a good website that explains how to use tables instead of frames for web layout?  Also, is it possible to change an include file that is used in a table based on a session variable or request.querystring?

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4671
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2003 at 1:20pm

1. I don't know of any tutorial that descrbes what you are looking for but there should be some on how to use tables, check some html sites like w3schools.com

2. You cannot do dynamic includes like that. Sure you can put them in if statements but no matter what, all code would be included even the ones not being used. Include's are not ASP, they are SSI and so get executed before any script block.

Back to Top
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2003 at 9:19pm

Originally posted by michael michael wrote:

Include's are not ASP, they are SSI and so get executed before any script block.

Try and tell Maddog that!

There have been many, many posts made throughout the world...
This was one of them.
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3009
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2003 at 12:35am
Originally posted by Bunce Bunce wrote:

Originally posted by michael michael wrote:

Include's are not ASP, they are SSI and so get executed before any script block.

Try and tell Maddog that!

What is that supposed to mean?

Back to Top
Toast View Drop Down
Newbie
Newbie


Joined: 11 February 2003
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Toast Quote  Post ReplyReply Direct Link To This Post Posted: 29 March 2003 at 7:26am

Tables are fairly easy there is an ok tutorial at www.spoono.com , but i will try to help

-----------------------

in the body section of your html code, you would put a tag <table>, this would make a table. To define the width and or hight of the table you would just make <table width="100%" height="100%"> so in there you would have a table that spans across the whole width, and heigth of the screen.

Under the Table tags, if you want multiple columnes, and rows, you always start with a row. So under the Table Tag, you would put
<tr> (row) the <tr> tag cannot be defined any further. It just creats a row as wide as the table. Under the tr tag, you would want to create a cell that fills up this row the tag for a cell is <td>. you can have one or multiple cells in a row. So your code should look like this

<table width="100%" height="100%">

   <tr>

        <td width="33%" height="30">This is the left cell</td>

        <td width="33%" height="30">This is the middle cell</td>

        <td width="34%" height="30"> This is the right cell</td>

 

This code would have a table with 3 almost equal cells across it filling up the whole screen. The Colspan, and Rowspan define how many rows or columes a cell can span across. For Example

<table width="100%" height="100%">

   <tr>

        <td width="33%" height="30">This is the left cell</td>

        <td width="33%" height="30">This is the middle cell</td>

        <td width="34%" height="30"> This is the right cell</td>

   </tr>

   <tr>

        <td colspan="3" bgcolor="ff0000" width="100%" height="50"><b>BIG CELL</b></td>

</tr>

</table>

This would make a 2 row table, on the top row, there would be 3 cells, and on the bottom row, there would be one big cell.

I hope this little tut helped out, if not, im sure somone else can help.

:.Toast.:

Back to Top
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 29 March 2003 at 2:59pm
Originally posted by MadDog MadDog wrote:

Originally posted by Bunce Bunce wrote:

Originally posted by michael michael wrote:

Include's are not ASP, they are SSI and so get executed before any script block.

Try and tell Maddog that!

What is that supposed to mean?

Sorry, I wasn't very descriptive.

You have a tutorial on your site that recommends using conditional includes, which are pointless in ASP for the reason that Michael has listed.

I tried to explain it on your site but you didn't seem to like my post.

Cheers,
Andrew

There have been many, many posts made throughout the world...
This was one of them.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2024 Web Wiz Ltd. All rights reserved.