Page 1 of 1
Colour of Text
Posted: Fri Dec 29, 2006 3:50 pm
by prismb
Hello Guys
I want your littal time
Its a quick answer for you
I am writing content on my OsCom. frontpage with this code
<?php echo TEXT_MAIN; ?>
I want to change color of font , I want to make it white so how can i do that.
Plz guide me
I know Its a 5 Sec. job for you guys, plz give me your 5 Sec.
Thanks in Advance

Posted: Fri Dec 29, 2006 4:20 pm
by RobertGonzalez
Code: Select all
<p style="color: #ffffff;"><?php echo TEXT_MAIN; ?></p>
Posted: Fri Dec 29, 2006 5:20 pm
by prismb
Thanks Everah
It really help me
I am new in PHP and Wants to learn it
can you plz tell me what is the best way to start with PHP
is there any Ebook that is good for beginers
I work as programmer in Visual Basic
but i also I have good command on C Language.
Waiting for your reply.
Posted: Fri Dec 29, 2006 6:34 pm
by feyd
If you have a good grasp of C, PHP is a breeze to pick up. The main hurdle will likely be remember all the basic (and nearly always available) functions PHP has.
.. please don't use "plz."
Posted: Fri Dec 29, 2006 7:38 pm
by Z3RO21
http://www.php.net and this fine site here is all you need

Posted: Fri Dec 29, 2006 9:10 pm
by daedalus__
You should learn xhtml and css.
Posted: Sat Dec 30, 2006 4:56 am
by hrubos
so, work hard with PHP, you will love it
Enjoy it .
Posted: Sat Dec 30, 2006 8:28 am
by Jaxolotl
Everah wrote:Code: Select all
<p style="color: #ffffff;"><?php echo TEXT_MAIN; ?></p>
remember that
<p> is a block element and may use upper and under spaces if not defined otherwise with css, maybe in this case would be better to use
<span> that is an inline element. and may prevent nested <p> tags
Code: Select all
<span style="color: #ffffff;"><?php echo TEXT_MAIN; ?></span>