469,271 Members | 1,785 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

CSS and Div's questions

My page layout is as follows:

Header
Menu|Content
Footer

I am wandering if and how difficult it would be to have the buttons in the
menu div change what is visible in the content div. I know this is pretty
high level, but any help would be appreciated.

Thanks,
Zach
Apr 13 '06 #1
1 1219
Zach Schaffner wrote:
My page layout is as follows:

Header
Menu|Content
Footer

I am wandering if and how difficult it would be to have the buttons in the
menu div change what is visible in the content div. I know this is pretty
high level, but any help would be appreciated.

Thanks,
Zach


Not a CSS issue. CSS is about how things look, HTML handles content.
You could solve your problem in several ways:
Using several versions of your page where only the content bit differs
from the others. So each page looks like:
header
menu | content (this bit changes, the rest is static)
footer

Using frames / iframes. Not my recommendation, but it is an easy way to
open new pages in existing ones. I don't think frames are around for
much longer. Framed pages are often a nightmare for search engines as
well and don't degrade well to non-frames browsers (not that there are
many left in the world)

Using serverside scripts (PHP, Perl, Python, ASP> depending on what's
supported on your host) to change content dynamically and regenerate
each complete page on the fly. I am an avid PHP user myself.

As far as the menu buttons are concerned, it is very well possible to
create a nice looking button list using CSS and unordered lists in HTML.
Plenty examples online: google is your friend.

There may be many more ways I don't think of right now, so don't shoot
me if this ain't complete!

For HTML, CSS, PHP etc there are loads of good books available, many
also in ebook (pdf, chm) format. And even more pages dedicated to
explaining you how to use it all. Ask people which book is best and you
get as many answers as there are titles. So no 'tips' here on that front.
Good Luck Zach!
Sh.
Apr 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

20 posts views Thread by DMJ | last post: by
5 posts views Thread by Mark Preston | last post: by
117 posts views Thread by phil-news-nospam | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.