473,322 Members | 1,522 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 1279
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: DMJ | last post by:
When should I use span and when should I use div??
5
by: Mark Preston | last post by:
Admission first - I don't actually have a problem here but have noticed that a lot of people have been asking similar questions and getting very varied answers. What I've done is to sort of...
15
by: lawrence | last post by:
Sorry for the dumb question but I'm new to Javascript. I wrote this script hoping to animate some div blocks on a page. You can see the page here: http://www.keymedia.biz/demo.htm Can anyone...
8
by: Viken Karaguesian | last post by:
Hello all, I'll start with this question: Can I assign an ID *and* a CLASS to a DIV? I am under the impression that you can. I'm having a problem that I can't seem to figure out. Some...
4
by: zz | last post by:
Sorry for posting this here but unfortunatly I couldn't find any appropriate newsgroup for this and since I've been active here with .net question I figured you guys might be able to help. ...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
5
by: Stan R. | last post by:
Greetings. I have a couple of questions concerning CSS layouts, as apposed to the old <tablemethod for creating layouts . Even after spending the last few days searching all over Google Groups, I...
5
by: visu | last post by:
Hi this is a question asked in this group two years back.. No answer for this question till date. now i am in the same situation of the questioner.. to find a solution for this problem. Can any...
2
by: TheHobbit | last post by:
Hi there I am a real newbie to CSS so please excuse any daft questions! I am trying to create a page with a header that contains a small square logo in top left corner with 2 longer divs to the rigt...
3
by: Max58kl | last post by:
Hi I am currently trying to create a FAQ webpage. At the moment the code I have lets me click on the Questions which successfully shows and hides the <DIV> tags containing the Answers. But...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.