Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
mordain
Regular
Regular


Joined: Jul 08, 2006
Posts: 77

PostPosted: Sat Sep 30, 2006 6:37 am Reply with quote

Hello all,

I have decided to write up some code to make my very own PHP-Nuke block. There are two reasons that I am here posting this. Reason 1: I'm unable to find a string of code I need. Basically, I just want to put text in the block. It will look like:

Recruitement: Open!

or

Recruitment: Closed

The problem I am having is that I'm unable to find the code I need that will allow me to set up colored text. All I can think of to start with is

Code:
$content =


The second reason I am posting this is to say thanks to everone here who has helped me! I never would have had the guts to try to write this thing if you guys hadnt helped me so much throughout the months I've been asking for help here. So...thank a ton!!! RavensScripts
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Sat Sep 30, 2006 7:12 am Reply with quote

You would want to look up and find examples of the spantag with either using a classattribute to point to a class you have defined in a CSS file, OR, using a styleattribute with the color:red orcolor:blue directives. If you need finer color control, you can also use hex color equivalents.

Hopefully this was enough to at least point you in the right direction since posting some of these HTML/CSS elements here gets stripped out (as you can see from your original code block).

Look for examples of the SPAN tag in the themes or other nuke code.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©