Re: site layout



AnrDaemon wrote:
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...



Not at all. A lot of other webmasters I know also create very complicated pages all the time which work in all browsers. But it doesn't surprise me that you are incapable of doing it without your hacks.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: Free software for Macs to design webpages?
    ... template web generators and CSS support programs at ... And there are a lot of template out ... When you do learn HTML and CSS you can always tweak things. ... There just seem too many browser and other quirks to take into ...
    (comp.sys.mac.system)
  • Re: How can I prevent spaces between tags being rendered?
    ... This really is a pure CSS question as it relates to why I ... remove whitespace between a list of tags. ... What determines the arrangement of the HTML received by the ... browser is not the browser and not CSS. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: OT: Comparison of Unix systems and window managers
    ... I'm using tables for layout on my site, but CSS for all the ... formatting is a noble ideal, but using CSS to emulate a table seemed ... and doing "100% of HTML generated by code". ... you get often varies from browser to browser, ...
    (rec.crafts.metalworking)
  • Re: App to maintain website - recommendations?
    ... If you already have a bit of a grasp of HTML and perhaps CSS, ... you can tap the whole world of competent templates. ... browser to the right of my newsreader... ...
    (comp.sys.mac.apps)
  • Re: Please criticize my website.
    ... If the HTML,, is whacked it will cause problems down the line. ... Be straightforward and with your CSS. ... Then if the pages breaks in your favorite browser *consider* adjustments to fix it for your said browser. ... Yes you can throw all kinds of crap at IE and it will do a pretty good job of putting up something presentable, but consider this: you spend all this time designing to IE's weird little quirks only to find that later MS does something absolutely unbelievable! ...
    (alt.html)