I'm new to HTML, but have started taking a class in it and I love it. I decided to offer my newfound skills to my father to make a webpage for his company, but I'm having some trouble with the layout.
Here's what I want (and can get on the homepage):
-a banner accross the top
-a menu down the left side with links to sections of the site
-to have the remaning space hold the content
-all 3 sections to have different background colors
Now here's what I did:
1. My index.html file pulls up a banner.html file on the top and another, lets call it splitscreen.htm l on the remainder of the page.
2. The splitscreen.htm l file pulls up a menu.html on the left and a content.html on the right.
It all works fine for the homepage, but a problem arises when I click a link in the menu. Instead of replacing the content.html with a new file, it replaces the menu.html with a new file, leaving me with a banner across the top, the home page content, and a very skinny page on the left.
Is there a way to have the link replace the content.html with another file?
Is there a different hierarchy between the pages to make this work?
Is there some much easier way to do what I'm trying and I just seem crazy to all of you?
In any case I would greatly appreciate some help, so thanks in advance.
-Max
Here's what I want (and can get on the homepage):
-a banner accross the top
-a menu down the left side with links to sections of the site
-to have the remaning space hold the content
-all 3 sections to have different background colors
Now here's what I did:
1. My index.html file pulls up a banner.html file on the top and another, lets call it splitscreen.htm l on the remainder of the page.
2. The splitscreen.htm l file pulls up a menu.html on the left and a content.html on the right.
It all works fine for the homepage, but a problem arises when I click a link in the menu. Instead of replacing the content.html with a new file, it replaces the menu.html with a new file, leaving me with a banner across the top, the home page content, and a very skinny page on the left.
Is there a way to have the link replace the content.html with another file?
Is there a different hierarchy between the pages to make this work?
Is there some much easier way to do what I'm trying and I just seem crazy to all of you?
In any case I would greatly appreciate some help, so thanks in advance.
-Max
Comment