Re: php selecting multiple stylesheets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-02-08 at 10:00 -0500, tedd wrote:

> At 11:20 PM -0500 2/7/10, David Mehler wrote:
> >Hello,
> >I'm trying to set up a web site. This site has multiple stylesheets,
> >one default stylesheet that should be used if the other is not chosen.
> >The second is a high contrast stylesheet and can be selected by user's
> >who need it. I'm also thinking of adding two more for smaller and
> >larger font selections. My issue is I want the high contrast sheet to
> >be used on all subsequent pages and on subsequent visits to the site
> >by user's who have selected it. I thought of using php with this and
> >cookies. I'm using php5 and would appreciate any suggestions, googling
> >has shown some examples, but none are working.
> >Thanks.
> >Dave.
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> Try this:
> 
> http://sperling.com/examples/styleswitch1/
> 
> As far as zooming text size, most browsers are capable of this. Just 
> make your site zoom-cooperative, such as:
> 
> http://sperling.com/examples/zoom/
> 
> As far as making things high contrast, why not choose colors that are 
> right the first time? Try this:
> 
> http://webbytedd.com/c/access-color/
> 
> As far as making all of this persistent, look to using Cookies.
> 
> Cheers,
> 
> tedd
> -- 
> -------
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 


There is a good reason for having different stylesheets that use
differing colour systems. For example, some people with learning
difficulties benefit from yellow text on blue backgrounds, as apparently
those colours together are better at capturing a users attention for
longer durations. This is often coupled with other layout changes such
as narrower width text blocks to aid readability.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux