473,394 Members | 1,956 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,394 software developers and data experts.

Frames affecting my links

2
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.html on the remainder of the page.
2. The splitscreen.html 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
Apr 17 '10 #1
2 1325
Dormilich
8,658 Expert Mod 8TB
the obvious fix is to not use frames. CSS provides enough means to put any HTML element where you want it. (e.g. you can position a <div> with position: fixed, so that it stays in the same place in the window)

the immediate fix is to use the target attribute. (I think)
Apr 18 '10 #2
mxroar
2
Thanks for the help.
Apr 18 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

26
by: jj | last post by:
Care to enlight? Thanks!
3
by: Geoff Cox | last post by:
Hello, I have a web site with 3 frames, top, left and right. I am wondersing if it is possible to have a button in the top frame page which when clicked opens one page in the left frame and a...
40
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
34
by: s c o t t | last post by:
I know Jakob Neilsen and a bunch of other usability advocates and critics usually frown on usage frames. However, most people probably seem to have at least version 5 of IE or newer and I am...
1
by: Tyrone Slothrop | last post by:
I have a web page with two frames, navigation and content. The nav uses classes like so <td align="center" id="main" style="cursor:pointer;" onClick="parent.main.location.href='main.html'"...
3
by: Jan Ebbe Jensen | last post by:
Hi I have tried the following code. It works in Mozilla. In IE I'm not able to enable DesignMode? What have I done wrong? It says that obj is undefined? Can anyone help me please.
5
by: AES/newspost | last post by:
I've just re-scanned most of the 60+ posts in the "Frames are Evil" thread, and my question, as the admittedly and permanently amateur creator and maintainer of a simple site, is: Using only...
18
by: Jonathan Carmichael | last post by:
I am building a website for the first time. In attempting to validate my frameset html file I came across the following URL http://www.w3.org/TR/1999/REC-html401-19991224/ The 3 errors I am...
5
by: AES | last post by:
Would appreciate being pointed to a template or a sample web site that will show me how to do the following frame-like organization, without using frames. My objective is a web site done in CSS...
4
by: sirumalla.srinivas | last post by:
Hi, I have link to the various documents which is stored on the server. When ever user click on any link, the respective document should be opened. Here what i need is to have all the links on...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.