Re: site layout
- From: AnrDaemon <anrdaemon@xxxxxxxxxxx>
- Date: Thu, 3 Apr 2008 02:31:59 +0400
Greetings, Jerry Stuckle.
In reply to Your message dated Friday, March 14, 2008, 05:24:43,
is it possible to control css with php
Sure. CSS can be generated with PHP, just like HTML can.
The main question being - why?
In example, You have 3 browsers (Regular desktop, Mobile client (GPRS-WAP and
the like), specialized in-application browser) what should render the same
page without loosing of readability. Yes, You can send different CSS for every
single one, but maintaining 3 different files isn't easy, if they are so
close and You need to make changes in them all if something goes to change.
Much simpler to have PHP script that acting to serve CSS template and adapt it
to every browser. Even then, with server-side caching it's very fast process,
and with proper headers it will be cached on the client side too.
--
Sincerely Yours, AnrDaemon <anrdaemon@xxxxxxxxxxx>
.
- Follow-Ups:
- Re: site layout
- From: Jerry Stuckle
- Re: site layout
- Prev by Date: Re: Why do imagettfbbox coordinates change when angle changes?
- Next by Date: Re: using meta http-equiv in php
- Previous by thread: Re: Why do imagettfbbox coordinates change when angle changes?
- Next by thread: Re: site layout
- Index(es):