469,282 Members | 1,749 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Multiple Stylesheets

Hi,

I am wondering how I can design multiple stylesheets for my webpage and let the
user choose the one that they would like to use.

Any help would be appreciated.

If you want, check out my site in my sig.

--
TrickyNick
Nick_At-Sign_TrickyNick_Period_com
http://www.trickynick.com/
Development: http://www.trickynick.com/text/

Jul 20 '05 #1
7 2431
In post <L7***************@bignews5.bellsouth.net>
TrickyNick said...
I am wondering how I can design multiple stylesheets for my webpage and let the
user choose the one that they would like to use.


you can use <link rel="alternate stylesheet"...> but its not supported
by IE and other browsers implementation is simply stupid.

use links and server side scripting to allow the visitor to select
different CSS
--
01/October/2003 07:31:58 am
Jul 20 '05 #2
TrickyNick pounced upon this pigeonhole and pronounced:

If you want, check out my site in my sig.


Development: http://www.trickynick.com/text/ <-- test, not text <g>

--
-bts
-This space intentionally left blank.
Jul 20 '05 #3
In article <l6***************@alt-html.org> in
comp.infosystems.www.authoring.stylesheets, brucie
<br******@usenet.alt-html.org> wrote:
you can use <link rel="alternate stylesheet"...> but its not supported
by IE and other browsers implementation is simply stupid.


Out of curiosity, what is "stupid" about the implementation in
recent Mozilla, e.g. 1.4?

Seemed to work just fine for me when I tried it.

I no longer have a sample page publicly accessible because I had
also heard that MSIE couldn't cope.

--
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 #4
In post <MP************************@news.odyssey.net>
Stan Brown said...
you can use <link rel="alternate stylesheet"...> but its not supported
by IE and other browsers implementation is simply stupid.
Out of curiosity, what is "stupid" about the implementation in
recent Mozilla, e.g. 1.4?


no automatic indication that alternate CSS is available and alternate
css not remaining selected between pages if its still available on the
next page leaving you to manually change the style every time you
visit a different page. stupid.

--
01/October/2003 10:02:21 am
Jul 20 '05 #5
Beauregard T. Shagnasty wrote:
TrickyNick pounced upon this pigeonhole and pronounced:
If you want, check out my site in my sig.

Development: http://www.trickynick.com/text/ <-- test, not text <g>


OMG, I never noticed that typo. Thanks for catching it, Beau.

--
TrickyNick
Nick_At-Sign_TrickyNick_Period_com
http://www.trickynick.com/
Development: http://www.trickynick.com/test/

Jul 20 '05 #6
brucie wrote:
In post <L7***************@bignews5.bellsouth.net>
TrickyNick said...

I am wondering how I can design multiple stylesheets for my webpage and let the
user choose the one that they would like to use.

you can use <link rel="alternate stylesheet"...> but its not supported
by IE and other browsers implementation is simply stupid.

use links and server side scripting to allow the visitor to select
different CSS

OK, I get what you are saying. How do I know which selection the user chose?
Do I set a "QueryString" variable to list the style sheet they have chosen
(i.e. URL/file.asp?var=sheet )?

--
TrickyNick
Nick_At-Sign_TrickyNick_Period_com
http://www.trickynick.com/
Development: http://www.trickynick.com/test/

Jul 20 '05 #7
In post <73*****************@bignews4.bellsouth.net>
TrickyNick said...
use links and server side scripting to allow the visitor to select
different CSS
OK, I get what you are saying. How do I know which selection the user chose?
Do I set a "QueryString" variable to list the style sheet they have chosen
(i.e. URL/file.asp?var=sheet )?


thats one way. you could also use path_info for search engine friendly
links. i don't have a simple demo of either method at the moment but
this link shows how using path_info to change the css (and large ball
to display).

http://usenet.alt-html.org/brucies/balls

--
01/October/2003 11:42:59 am
Jul 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Jacqui or (maybe) Pete | last post: by
4 posts views Thread by Carolyn Marenger | last post: by
5 posts views Thread by Don G | last post: by
3 posts views Thread by spolsky | last post: by
8 posts views Thread by mscertified | last post: by
reply views Thread by Kevin | last post: by
reply views Thread by Kevin | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.