EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username


easy text formating
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
ToyonGraphics
Member
 

Joined: Tue Nov 14th, 2006
Location:  
Posts: 2
 Posted: Tue Nov 14th, 2006 12:35 pm
 Quote  Reply 
Hello to everyone!

how can I manage to give the user only the following options for text formating:

headline green (e.g 16pt, Arial, bold)
headline yellow (e.g 16pt, Arial, bold)
headline red (e.g 16pt, Arial, bold)


text green (e.g 10pt, Arial, bold)
text yellow (e.g 10pt, Arial, bold)
text red (e.g 10pt, Arial, bold)


So the user writes his text and then formats it only in one of the above descripted ways.

Thanks a lot for helping and the best regards from germany.

Roland

 


 

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 578
 Posted: Tue Nov 14th, 2006 09:41 pm
 Quote  Reply 
That's probably easiest done with classes. For example, if you add a class to the page like so


<style type="text/css">
.text_green {font-size: 10pt; font-family:Arial; font-weight: bold}
</style>


 

then check Style - Classes for that user in User Setups. The  tool will then give them the classes on that page to apply to the content.


Classes contained in a <STYLE> tag on the page will be cataloged. Classes on a linked external style sheet will also be cataloged if the <LINK tag's href contains a full "http" url (style sheets linked without "http" in the url will not be cataloged).

ToyonGraphics
Member
 

Joined: Tue Nov 14th, 2006
Location:  
Posts: 2
 Posted: Tue Nov 14th, 2006 09:57 pm
 Quote  Reply 
Hi Keith,

that's it! Thank you very mutch! Now I know how to do it!

Thanks again and best regards

Roland


 Current time is 05:02 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez