472,133 Members | 1,148 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

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 2005
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Earl Eiland | last post: by
2 posts views Thread by LUIS FAJARDO | last post: by
5 posts views Thread by Nelson | last post: by
17 posts views Thread by Bruno | last post: by
3 posts views Thread by wardemon | last post: by
4 posts views Thread by sumitha | last post: by
1 post views Thread by David Buckley | last post: by
reply views Thread by leo001 | last post: by

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.