|
|
 |
Re: FN-FORUM: An easy one for you all (but not for me apparently!)
date posted 19th August 2003 14:46
eureka!! - I understand now. Thanks Pam
----- Original Message -----
From: "Matt Burns" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Tuesday, August 19, 2003 3:01 PM
Subject: Re: FN-FORUM: An easy one for you all (but not for me apparently!)
>
> PAMELA WHITTAKER wrote:
>
> > When and how would you used PHP to create css. I am afraid it is not a
> > eureka moment for me. There was a discussion about two weeks ago on a
> > similar line if I remember rightly which I couldn't follow.
>
> You could use PHP to generate CSS if the user agent you were using
> didn't understand a particular client-side script (e.g. JavaScript) yet
> you wanted to delived a certain CSS style based on the user agent's
> identifying string.
>
> So, say you had content for a web browser and a handheld thingumy, you
> could check the user-agent server variable, see if it was a browser or a
> handheld, then echo the relevant CSS for the right platform.
>
> You could also use PHP/CSS if you want to introduce some randomness
> (e.g. a changing background colour) and don't want to use Javascript.
>
> Matt
> NP: Assemblage 23 - Awake
>
>
> ==========
> redmail.com - webmail with a difference!
> 10Mb for just GBP 9.99 a year. Launch special 1Gb for GBP 99.99 a year
> IMAP, POP3, Spam Filtering and Anti Virus as standard.
> Visit http://www.redmail.com/?fl-signup to join.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|