473,881 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Converting frame-based webpages to ones that don't use frames


Must I use CSS to layout the pages?

--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.17.1
^ ^ 16:57:01 up 2 days 6:55 0 users load average: 1.18 1.09 1.02
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
Jun 23 '06 #1
4 2120
Man-wai Chang <to***********@ gmail.com> wrote:
Must I use CSS to layout the pages?


Learn to recognize the drawbacks of a multi pane UI and that from a user
perspective there are very few legitimate reasons to create such an
interface. From a strict author perspective there is no good reason to
resort to multi pane layouts.

The usability of CSS simulated multi pane layouts is dreadful, and the
limited CSS2 support in IE6 and lower makes certain things impossible
for that browser.

For those rare instances where a multi pane UI is defendable, frames are
the best solution. Browsers typically offer reasonable keyboard
navigation, accessibility isn't to bad etc. However doing frames semi
properly almost always requires a great deal more work, both in creation
and maintenance.

Frames have very nasty drawbacks if you don't make the effort to do them
"semi properly".

--
Spartanicus
Jun 23 '06 #2
> Frames have very nasty drawbacks if you don't make the effort to do them
"semi properly".


My site only have 3 frames: the top title frame, the left navigation
sidebar, and the content. Could I convert the whole thing into framless
pages, keeping the navigation sidebar in all pages?

--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.17.1
^ ^ 19:53:01 up 2 days 9:51 0 users load average: 1.00 1.00 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
Jun 23 '06 #3
Man-wai Chang <to***********@ gmail.com> wrote:
Frames have very nasty drawbacks if you don't make the effort to do them
"semi properly".


My site only have 3 frames: the top title frame, the left navigation
sidebar, and the content. Could I convert the whole thing into framless
pages, keeping the navigation sidebar in all pages?


If you're talking about http://www.linux-sxs.org then there is no
justifiable reason to use frames for that site, and as the site suffers
from all the nasty drawbacks that most framed sites suffer from you'd do
well to get rid of the frames.

How you could replace it depends on what type(s) of misconception you
suffer from. Common ones are:

* A wish to code one menu in a separate file and have that included on
all pages. Answer: look into server side includes.
* A wish to have the menu not scroll off the screen when the rest of the
content scrolls. Best answer: don't invent non problems, let it scroll.
Additional benefit: by floating the menu you can use the screen space
more efficiently. Inferior answer: use CSS to fix the menu for proper
browsers, possibly with a JS hack for IE only to compensate for it's
lack of support for the required CSS value.

Some other things you really ought to look into are:

* Appropriate use of semantic and structured markup such as headers (you
have none), lists, tables only for tabular data etc.
* Separating content and style, there really is no excuse for
presentational code such as <font> elements.

--
Spartanicus
Jun 23 '06 #4
Thanks.. Time for some study on CSS...

--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.17.1
^ ^ 09:55:01 up 2 days 23:53 0 users load average: 1.02 1.04 1.01
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
Jun 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2124
by: Earl Eiland | last post by:
I'm trying to process the IP packet length field, as recorded by pcap (Ethereal) and recovered using pcapy. When I slice out those bytes, I get a value that shows in '\x00' format, rather than '0x00'. Neither int() nor eval() are working. How do I handle this? Earl Eiland
2
5019
by: LUIS FAJARDO | last post by:
How can I convert from a double variable to string using standard ANSI-C. Thanks PS: I'm currently using _fcvt but is not enough.
5
10284
by: Nelson | last post by:
In my web form, I am converting all lower case letters to upper case when the user types the characters in the edit boxes. I am achieving that by injecting client side script (onkeyup event) for each text box. However if the user types the characters so fast it may not work.. Also there are some other loopholes in my code. Is there any approach in ASP.Net to make sure whenever the user types lower case, the data will be converted to upper...
17
4189
by: Bruno | last post by:
I have a feature that is hosted on a different domain from the primary one in a frame, and need to retain values in a cookie. example: A web page at one.com contains a frame which has a page hosted at two.com If I view the frameset from one.com in Firefox, all works well with the content from two.com. But if trying to view this using IE (with standard security settings), the cookie set by two.com is not accessible.
3
2441
by: wardemon | last post by:
Hi All, I would like to ask how can one resize a frame in a website w/o postback? My scenario is the following I have a left frame, a top frame, and a "contents" frame. I placed an imagebutton in the top frame that once clicked, it will fire a javascript code the will resize the left frame (collapse), then if clicked again, it will "expand" or restore the left frame's size back to its
4
4864
by: sumitha | last post by:
Hi I am using wxpython to develop my GUI. I have 3 frame. On the first frame I have ok button and when I click that it will open 2nd frame. And when I click ok button on 2nd frame, it will open 3rd frame. But I want my 2nd frame to be closed when I open the 3rd frame. I tried self.Close() it closes 2nd and 3rd frame. I am attaching my code. Please help import wx import os, sys import string import re import cfgparse import cmd
4
4036
by: JNeko | last post by:
hello all, I have tried my hand at this for a couple hours but no luck. I am using JCreator. I used these two links for reference: http://www.tech-recipes.com/java_programming_tips1265.html http://forum.java.sun.com/thread.jspa?threadID=441336&start=15&tstart=0 Here is my situation: trying to turn a 3000 line main class into an applet, or create an applet that calls it. whatever works. in a nut shell, here is the structure:
1
2813
by: David Buckley | last post by:
Does anyone have any example code of converting any type of video to flash video at all using asp.net 2.0 c# web applications. God Bless
1
4403
by: setori88 | last post by:
Hi guys this script i downloaded from here, http://win32com.goermezer.de/index.php?option=com_content&task=view&id=193&Itemid=274 I copied this script and setup and instance of open office writer. created a .doc file and a copied it making a change to that file. here is the code
3
2840
by: ashishgdata | last post by:
i have a text file which has a byte stream as follows - 0B00000000 0B01010101 0B00100100 and so on . the ' 0B ' are the starting bits and then each '0' or '1' stands for one pixel and a sing color , say 0 for black and 1 for white . now 64 such " 0B00000000 " readings stands for one frame that is the frame is of 512 pixel .
0
9776
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11096
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
10716
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...
1
10812
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9552
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...
0
5976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4597
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
4194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3223
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.