Is it appropriate to ask your client to add "Powered by your company"
to the sites you design and maintain?
And when you see "Powered by" does it mean designed by or maintained
by or both?
On Nov 15, 2006, at 6:36 AM, Al wrote:
Ed Lazor wrote:
I'm reading a book on CSS and how you can define different style
sheets for different visitors. I'm wondering how you guys do it.
The book recommends using Javascript functions for identifying the
user's browser and matching them with the corresponding style
sheets. Anyone using PHP for this instead - specifically with
defining style sheets for different target browsers and platforms?
-Ed
I've found, that as a practical matter, the only browser these days
that
causes problems is IE6 because of it's non-compliance with some W3C
standards.
MS promises these are fixed in IE7.
So I simply use $_SERVER['HTTP_USER_AGENT'] to determine if the
client is IE6
and either link in a special CSS file for it. Or if my styles are
defined in
the header, I replace the necessary selectors.
There is no need to complicate things with JAVA script.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php