Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 09:26 PM
TrickyNick
Guest
 
Posts: n/a
Default 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/

  #2  
Old July 20th, 2005, 09:26 PM
brucie
Guest
 
Posts: n/a
Default Re: Multiple Stylesheets

In post <L7meb.285$k17.136@bignews5.bellsouth.net>
TrickyNick said...
[color=blue]
> 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.[/color]

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
  #3  
Old July 20th, 2005, 09:26 PM
Beauregard T. Shagnasty
Guest
 
Posts: n/a
Default Re: Multiple Stylesheets

TrickyNick pounced upon this pigeonhole and pronounced:[color=blue]
>
> If you want, check out my site in my sig.[/color]

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

--
-bts
-This space intentionally left blank.
  #4  
Old July 20th, 2005, 09:26 PM
Stan Brown
Guest
 
Posts: n/a
Default Re: Multiple Stylesheets

In article <l6q9myorbl1h$.dlg@alt-html.org> in
comp.infosystems.www.authoring.stylesheets, brucie
<brucie04@usenet.alt-html.org> wrote:[color=blue]
>you can use <link rel="alternate stylesheet"...> but its not supported
>by IE and other browsers implementation is simply stupid.[/color]

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/
  #5  
Old July 20th, 2005, 09:26 PM
brucie
Guest
 
Posts: n/a
Default Re: Multiple Stylesheets

In post <MPG.19e3e145d08161a598b4a0@news.odyssey.net>
Stan Brown said...
[color=blue][color=green]
>>you can use <link rel="alternate stylesheet"...> but its not supported
>>by IE and other browsers implementation is simply stupid.[/color][/color]
[color=blue]
> Out of curiosity, what is "stupid" about the implementation in
> recent Mozilla, e.g. 1.4?[/color]

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
  #6  
Old July 20th, 2005, 09:26 PM
TrickyNick
Guest
 
Posts: n/a
Default Re: Multiple Stylesheets

Beauregard T. Shagnasty wrote:[color=blue]
> TrickyNick pounced upon this pigeonhole and pronounced:
>[color=green]
>>If you want, check out my site in my sig.[/color]
>
>
> Development: http://www.trickynick.com/text/ <-- test, not text <g>
>[/color]

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/

  #7  
Old July 20th, 2005, 09:26 PM
TrickyNick
Guest
 
Posts: n/a
Default Re: Multiple Stylesheets

brucie wrote:
[color=blue]
> In post <L7meb.285$k17.136@bignews5.bellsouth.net>
> TrickyNick said...
>
>[color=green]
>>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.[/color]
>
>
> 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
>
>[/color]
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/

  #8  
Old July 20th, 2005, 09:26 PM
brucie
Guest
 
Posts: n/a
Default Re: Multiple Stylesheets

In post <73qeb.4738$Nz6.3013@bignews4.bellsouth.net>
TrickyNick said...
[color=blue][color=green]
>> use links and server side scripting to allow the visitor to select
>> different CSS[/color][/color]
[color=blue]
> 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 )?[/color]

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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles