On Sat, September 23, 2006 10:06 am, tedd wrote:
I am sure that with a little browser sniffing via php and taking
Browser-sniffing is the unreliable part.
compliant (hack-less) code, one could get the code to adapt to the
browser. In other words, this would present an option for all css
[2]: [PHP] Re: PHP CSS
On Wed, 8 Oct 2003 09:44:53 -0700, Raquel Rice raquel-
[EMAIL PROTECTED] wrote:
On Thu, 9 Oct 2003 02:00:20 +1000
Tom Rogers [EMAIL PROTECTED] wrote:
You don't need to call your style sheets .css they can be just as
easily called.php and even have a querystring
On Tue, 7 Oct 2003 17:06:13 -0500
erythros [EMAIL PROTECTED] wrote:
you probably just want what everyone wants... a seperation of
design from content.
as for applying the variables to the style sheet it depends on
what youre trying to do. what are the variables for? to request a
specific
Couple of days of ago we had a nice thread on the use of XSLT. This is a
situation where XSLT would be an ideal solution.
Raquel Rice wrote:
On Tue, 7 Oct 2003 17:06:13 -0500
erythros [EMAIL PROTECTED] wrote:
you probably just want what everyone wants... a seperation of
design from content.
On Tue, 7 Oct 2003 23:22:02 -0700
Raquel Rice [EMAIL PROTECTED] wrote:
On Tue, 7 Oct 2003 17:06:13 -0500
erythros [EMAIL PROTECTED] wrote:
you probably just want what everyone wants... a seperation of
design from content.
as for applying the variables to the style sheet it depends on
On Wed, 08 Oct 2003 20:34:51 +0600
Raditha Dissanayake [EMAIL PROTECTED] wrote:
Raquel Rice wrote:
On Tue, 7 Oct 2003 17:06:13 -0500
erythros [EMAIL PROTECTED] wrote:
you probably just want what everyone wants... a seperation of
design from content.
snip
i may have it wrong but what
Hi,
Thursday, October 9, 2003, 1:37:57 AM, you wrote:
RR On Tue, 7 Oct 2003 23:22:02 -0700
RR Raquel Rice [EMAIL PROTECTED] wrote:
On Tue, 7 Oct 2003 17:06:13 -0500
erythros [EMAIL PROTECTED] wrote:
you probably just want what everyone wants... a seperation of
design from content.
On Thu, 9 Oct 2003 02:00:20 +1000
Tom Rogers [EMAIL PROTECTED] wrote:
Hi,
Thursday, October 9, 2003, 1:37:57 AM, you wrote:
Well, yes ... in a way. The plan is to have a main site, where
users can have a subsite off the main site. I want to give the
users the ability to customize,
Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Thursday, October 9, 2003, 1:37:57 AM, you wrote:
RR On Tue, 7 Oct 2003 23:22:02 -0700
RR Raquel Rice [EMAIL PROTECTED] wrote:
On Tue, 7 Oct 2003 17:06:13 -0500
erythros [EMAIL PROTECTED] wrote:
you probably
Hi,
I don't think so, the original question was how to get PHP variables into a
style sheet, though your way would work for a separate style sheet for each
user.
BTW I added .ass (active style sheet :)as a file extension for PHP processing to
apache for this sort of function but I now use
On Wed, 8 Oct 2003 08:49:17 -0700, you wrote:
On Wed, 08 Oct 2003 20:34:51 +0600
Raditha Dissanayake [EMAIL PROTECTED] wrote:
Raquel Rice wrote:
Well, yes ... in a way. The plan is to have a main site, where
users can have a subsite off the main site. I want to give the
users the ability
it sounds like she using the ini as a user css. so wouldn't it be simpler to
just rename the ini to css, rather than use php to get values from the ini
and apply them to the current css?
then all she has to do is follow davids adivce for the users css files:
snip
Write a script that opens your
On Wed, 8 Oct 2003 09:44:53 -0700, Raquel Rice raquel-
[EMAIL PROTECTED] wrote:
On Thu, 9 Oct 2003 02:00:20 +1000
Tom Rogers [EMAIL PROTECTED] wrote:
You don't need to call your style sheets .css they can be just as
easily called.php and even have a querystring attached like
Hi David,
I think he's suggesting parsing and rewriting the CSS files - treating them
as INI files.
Nopes definitely not.
Personally, I think XSLT os overkill for this, but then I
think it's a pig's ear fullstop.
Yes everyone is entitled to his opinion. :-)
Write a script that opens your CSS
you probably just want what everyone wants... a seperation of design from
content.
as for applying the variables to the style sheet it depends on what youre
trying to do. what are the variables for? to request a specific css file? or
are they to supplement the ccs file (ie: use value x for width
people will still be able to see your style sheet, by folling the link to
your css file.
how are you apling the variables in the first place? now that you are link
to a style sheet what has changed (apperance wise) with the output of the
page. is the formating not being applied? can you send a
16 matches
Mail list logo