This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > November 2006 > Newbie CSS/Menu Question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Newbie CSS/Menu Question
mbecker1@gmail.com

2006-11-19, 7:58 pm

I am about to build a new website. I will have a vertical menu on the
left which will be consistent throughout the site. The primary content
will be to the right.

In the past I would have used frames. Now that CSS is supposed to be
used instead of frames, is there a techniques I can use so I only have
to maintain the menu on one page and not on every page on the site.
Without frames, the only option I am aware of is turning each page into
an asp page and using an include file. There must be better options.
Any suggestions?

Karl Groves

2006-11-19, 7:58 pm

mbecker1@XXXXXXXXXX wrote in news:1163448645.152594.167490
@h48g2000cwc.googlegroups.com:

> I am about to build a new website. I will have a vertical menu on the
> left which will be consistent throughout the site. The primary content
> will be to the right.
>
> In the past I would have used frames. Now that CSS is supposed to be
> used instead of frames, is there a techniques I can use so I only have
> to maintain the menu on one page and not on every page on the site.
> Without frames, the only option I am aware of is turning each page into
> an asp page and using an include file. There must be better options.
> Any suggestions?
>


What's a better option than using an include file for something that
persists site-wide? It doesn't get any better than that, IMO. I do that on
every site I make.

--
Karl Groves
www.karlcore.com
Mark Goodge

2006-11-19, 7:58 pm

On Mon, 13 Nov 2006 14:39:25 -0600, Karl Groves put finger to keyboard
and typed:

>mbecker1@XXXXXXXXXX wrote in news:1163448645.152594.167490
>@h48g2000cwc.googlegroups.com:
>
>
>What's a better option than using an include file for something that
>persists site-wide? It doesn't get any better than that, IMO. I do that on
>every site I make.


The other option is to use some kind of content-generation tool to
create static pages with the navigation duplicated in each one. For a
very high traffic site with little or no dynamic content, that places
much less load on the server.

But I agree that, for almost any other site, using an include of some
sort (I'd prefer PHP over ASP, but to each his own) is by far the best
solution. It's simple, it's quick, it can produce standards-compliant
HTML/CSS, it has total cross-browser support and it's much more search
engine friendly than using frames.

Mark
--
Visit: http://www.GoogleFun.info - fun and games with Google!
"All I want is to find an easier way to get out of our little heads"
mbecker1@gmail.com

2006-11-19, 7:58 pm


Thanks Karl & Mark. I had assumed that using asp would add unnecessary
overhead but apparently that's the way to go. Thanks for your help.

Matt Probert

2006-11-19, 7:58 pm

On 13 Nov 2006 12:10:45 -0800, mbecker1@XXXXXXXXXX wrote:

>I am about to build a new website. I will have a vertical menu on the
>left which will be consistent throughout the site. The primary content
>will be to the right.
>
>In the past I would have used frames. Now that CSS is supposed to be
>used instead of frames, is there a techniques I can use so I only have
>to maintain the menu on one page and not on every page on the site.
>Without frames, the only option I am aware of is turning each page into
>an asp page and using an include file. There must be better options.
>Any suggestions?
>


Just one. Learn what CSS is.

Matt


--
Woe to him that willfully innovates, while ignorant of the constant.
http://www.probertencyclopaedia.com
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews