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