Re: site layout



Greetings, Jerry Stuckle.
In reply to Your message dated Thursday, April 3, 2008, 08:44:00,

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.

Yes, create a page "Hello, World!" and be happy with it!
Sorry but I need real pages, not dummy examples.

Then you don't need hacks like you are promoting.

Your words just showing a complete lacks of knowledge in specified situation.
Figure out Yourself, why...


--
Sincerely Yours, AnrDaemon <anrdaemon@xxxxxxxxxxx>

.