Re: site layout
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Wed, 02 Apr 2008 23:44:00 -0500
AnrDaemon wrote:
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.
And even simpler is to have valid CSS which works in all browsers. Then you don't need hacks like you are promoting.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: site layout
- From: Sir Robin
- Re: site layout
- From: AnrDaemon
- Re: site layout
- References:
- Re: site layout
- From: AnrDaemon
- Re: site layout
- Prev by Date: Re: using meta http-equiv in php
- Next by Date: Re: web crawling program
- Previous by thread: Re: site layout
- Next by thread: Re: site layout
- Index(es):
Relevant Pages
|