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
> c
ct: Re: Re[2]: [PHP] Re: PHP & CSS
On Wed, 8 Oct 2003 09:44:53 -0700, Raquel Rice 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
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 fi
On Wed, 8 Oct 2003 09:44:53 -0700, Raquel Rice 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
subsite.php?user=fred
That way just use php a
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:
Write a script that opens your CSS fi
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
>> >user
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 templa
"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]> wro
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 abilit
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 f
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.
> >>
> >>i may h
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 she
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 conten
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
> s
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 o
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 samp
16 matches
Mail list logo