By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,199 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

Alternative stylesheets and frames

P: n/a
Hi!

I would like to use alternative stylesheets in combination with frames. Is
that doable? My problem ist that when I - as the user - switch the
stylesheet of the framset page, then the selection is not fed through to the
multiple frame pages and thus, they do not switch the style.
Any ideas how to overcome that problem?

Cheers,
Eric

--
-----------------------------------------------------------------
Eric Bodden
ICQ UIN: 12656220
Website: http://www.bodden.de
GPG: BB465582
Jul 20 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Oh - and FYI here is a link to my CSS based layout:
http://root.bodden.de/typo3/site/

Eric

--
-----------------------------------------------------------------
Eric Bodden
ICQ UIN: 12656220
Website: http://www.bodden.de
GPG: BB465582
Jul 20 '05 #2

P: n/a
"Eric Bodden" <ne**************@bodden.de> wrote in
comp.infosystems.www.authoring.stylesheets:
Hi!

I would like to use alternative stylesheets in combination with frames. Is
that doable? My problem ist that when I - as the user - switch the
stylesheet of the framset page, then the selection is not fed through to the
multiple frame pages and thus, they do not switch the style.
Any ideas how to overcome that problem?


"Doctor, it hurts when I do this?"
"Well, then, don't do it."

Seriously -- you have run up against yet another of the myriad
problems with frames. Why not take this as a sign that it's time to
lose them?

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #3

P: n/a
Stan Brown wrote:
Seriously -- you have run up against yet another of the myriad
problems with frames. Why not take this as a sign that it's time to
lose them?

Cause frames are a very good way to have at least a bit structure in your
content. Why always reload stuff that does not need to be reloaded. Why
always scroll widgets away that need to be accessed every time? HTML is
already bad enough with frames so I don't also wanna lose those.

Eric

--
-----------------------------------------------------------------
Eric Bodden
ICQ UIN: 12656220
Website: http://www.bodden.de
GPG: BB465582
Jul 20 '05 #4

P: n/a
On Sun, 4 Apr 2004 16:55:22 +0200, Eric Bodden
<ne**************@bodden.de> wrote:
Stan Brown wrote:
Seriously -- you have run up against yet another of the myriad
problems with frames. Why not take this as a sign that it's time to
lose them?

Cause frames are a very good way to have at least a bit structure in your
content. Why always reload stuff that does not need to be reloaded. Why
always scroll widgets away that need to be accessed every time? HTML is
already bad enough with frames so I don't also wanna lose those.

Eric

Well, frames meant to help in those areas, but the implementation
compromises so much more as a result.

When I changed a site from frames to a purely CSS design, it loaded faster
than before, not slower. Since the overall page weight was reduced, even
re-downloading the navigation (which is now customized to the specific
page) didn't take any appreciable time.

I don't know what kind of site you have, but it's hard to imagine a widget
that is so vital that you have to have it there in the viewport all the
time via frames. Certainly not at the cost that it incurs on the usability
of the site.

To directly answer your question - I don't believe what you seek is
possible.
Jul 20 '05 #5

P: n/a
Eric Bodden wrote:
Hi!

I would like to use alternative stylesheets in combination with frames. Is
that doable? My problem ist that when I - as the user - switch the
stylesheet of the framset page, then the selection is not fed through to the
multiple frame pages and thus, they do not switch the style.
Any ideas how to overcome that problem?

Cheers,
Eric


Don't feel bad. Alternate style sheets don't work well even without
frames IMO. Using NS 7.1 I can select an alternate style sheet and see
the page displayed in that style, but as soon as I link to another page
in the site, the default style returns and I have to select the
alternate again.

I think what browsers should do is:

If an alternate style sheet has been selected by the user and a link on
the current page is selected
Then
If the target page specifies an alternate style with the same name as
the one selected on the source page
And the URL for that alternate style matches the URL of the style
sheet being used on the source page
Then that alternate style should be applied to the target page.

Until this is done, alternate style sheets are of little practical use.

Chris Beall


Jul 20 '05 #6

P: n/a
OK, good point - thanks.

Eric... who is going to decide for an choice between framed and non-framed
versions both not employing alternative styles ;-)
--
-----------------------------------------------------------------
Eric Bodden
ICQ UIN: 12656220
Website: http://www.bodden.de
GPG: BB465582
Jul 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.