Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layout Question 1

Status
Not open for further replies.

Quehay

Programmer
Feb 6, 2000
804
US
Please forgive the rank newbie level of this question:

I want to have the usual masthead, nav, & content layout

MMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMM
NNNCCCCCCCCCCCCCCCCCCC
NNNCCCCCCCCCCCCCCCCCCC
NNNCCCCCCCCCCCCCCCCCCC
NNNCCCCCCCCCCCCCCCCCCC
NNNCCCCCCCCCCCCCCCCCCC

Is it better to do this with tables or frames?

I know how to do the frame layout (conceptually anyway)

If table is best (for compatibility), then nested?

It's so frustrating trying to get an absolute layout without actual population <td> elements...

Thanks for your help!
 
Hi,

You're best option I think personally is to use frames, and use SSI to include your pages. Similar to frames in the sense that if you want to edit one thing on the banner then all pages with the banner included will be altered too. Simple editing process. Can you use SSI on your server?

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
OMG, did I just say FRAMES.

SORRY!!!!!

I meant, use &quot;TABLES&quot;. Not all browsers support frames. Tables are your best option for compatibility.

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
I think that's good if you can use SSI. If not, I'd recommend using iframes. They are IE (3 or 4?)+ and NS 6+. That way you can have the masthead and navigation bar always stay-they don't have to reload for every page. Then in your links you can specify the target as content or whatever name you give the frame. That's something I used on one of my pages and it works well.

Rick If I have helped you just click the first link below to let me know :)
 
Rick,

I think IFRAMES are alright. They are still FRAMES, and not all browsers will support them. What about NS-4.7? You will have to use ILAYER for NS. Then there's Opera. I would still think that TABLES are your best bet even if you can't use SSI. As long as you don't have more than 10 pages then making changes in the masthead or NAVBARS would still be fairly easy, but it would start to get very time consuming if you have any more pages than that, and you are constantly making changes.

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
Thanks guys! So, using tables, would I nest them? What's the best way (if there is one) to get an absolute page layout (% is OK) that gives the usual header, nav, content layout independent of the # of <td>'s and their content?
 
This is how I would do it:

<TABLE width=&quot;100%&quot;>
<TR>
<td width=&quot;100%&quot; height=&quot;100&quot;>MASTHEAD STUFF</td>
</TR>
<TR>
<td width=&quot;150&quot;>MENU</td>
<td>CONTENT</td>
</TR>
</TABLE>

Rick If I have helped you just click the first link below to let me know :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top