473,808 Members | 2,835 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Frames affecting my links

2 New Member
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
Apr 17 '10 #1
2 1335
Dormilich
8,658 Recognized Expert Moderator Expert
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 New Member
Thanks for the help.
Apr 18 '10 #3

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

Similar topics

3
1735
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 different page in the right frame? At the moment I have this working using Javascript but oen user is getting runtime error message when clicking the button ...
40
2954
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
4144
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 toying with the idea of just using a small topframe in my site design. Do any of you have strong opinions either for or against frames? I personally don't mind sites with them if the borders are hidden and they are well-designed... Thanks,
1
1108
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'" onMouseOver="this.className='nav0'" onMouseOut="this.className='nav1'" class="nav0">Main Page</td>
3
2453
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
4209
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 elementary HTML and CSS code, how do I create a simple "framelike" main page without being evil? where definition of "how" is --Example of a skeleton HTML template
18
2150
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 getting are all regarding the following: <frameset rows="100,*" frameborder="0" border="0" framespacing="0"> The errors are:
5
2313
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 + HTML with a primary or entry page that shows three panels (panes, subsections, frames, pages, whatever): A, B, C. A = Header of the page, i.e., fixed content, across the top
4
2827
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 the left side of the page and when the user clicks the document should be opened on the right side of the application. When googled, some of them told to split the page into two frames, load the document links in left frame and open the document...
0
10631
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10374
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9196
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.