RE: [PHP] Web page excerpt editor

[email protected] ("Chris Haensel")
Newsgroups php.general
Message-ID <[email protected]>
-----Original Message-----
From: tedd [mailto:[email protected]] 
Sent: Tuesday, May 06, 2008 3:02 PM
To: [email protected]
Subject: Re: [PHP] Web page excerpt editor

At 8:49 AM -0400 5/6/08, Jason Pruim wrote:
>On May 6, 2008, at 8:41 AM, tedd wrote:
>>My only quandary was -- do I allow them to input html or not.
>
>I misunderstood what you were going for... But this does give me 
>another idea... Why not give them very simple things like 
>[bold][/bold] and then you can control it all from css and they 
>don't need to understand much about HTML?
>
>In fact, if you are using variables in your css, you could set it so 
>that they could set what color they want [bold] to be.
>
>IE: .bold {font-weight: bold; color: $boldColor;}
>
>Or how ever you would have to define it so that it displayed 
>correctly.. :) Anyway, just the ideas of a dutch novice take them as 
>such :)

You're making an honest effort to answer the question I posed, so 
it's not that novice.

I've been using variable in css for years, see here:

http://sperling.com/examples/pcss/

But it's a different problem when trying to guide a layman from what 
he imagines in his head to what can be done on the web (hey, that 
rhymes).  :-)

Cheers,

tedd

-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Tedd,

That is great information for a noob like me! Your page has just been
printed and bookmarked :o) I have been thinking (not google-ing) about how
to do that (CSS with variables) for some time now, without ever trying.

Thanks mate !!

Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.