2 replies [Last post]
jukeboxjunkey
Offline
newbie
Last seen: 18 years 28 weeks ago
Joined: 2004-02-05
Posts: 1
Points: 0

I'm curious if there are ways to choose between two style sheets using javascript? I want to read the monitor resolution then choose a stylesheet font size.

obsidian
Offline
Enthusiast
South Carolina
Last seen: 15 years 43 weeks ago
South Carolina
Joined: 2004-08-15
Posts: 136
Points: 0

Choice of Stylesheet??

I'm not positive about doing it with Javascript only, but I know you can feed the info your Javascript reads into a simple PHP script that will allow you to specify the style you want.

You can't win, you can't lose, you can't break even. You can't even get out of the game!

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 23 hours 12 min ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

Choice of Stylesheet??

Hi jukeboxjunkey,
Here an article that should help.
http://www.alistapart.com/articles/n4switch/