2 replies [Last post]
jukeboxjunkey
Offline
newbie
Last seen: 16 years 42 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: 14 years 6 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: 4 days 1 hour ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Choice of Stylesheet??

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