cnagra Posted April 18, 2006 Share Posted April 18, 2006 hii need this text to be red, tahoma, and size 16. what do i have to do to add to the code?thanksecho "Record Updated Successfully - Update Another ?"; Quote Link to comment Share on other sites More sharing options...
ypirc Posted April 18, 2006 Share Posted April 18, 2006 You don't format text design with PHP. You do that with HTML or CSS. Quote Link to comment Share on other sites More sharing options...
cnagra Posted April 19, 2006 Author Share Posted April 19, 2006 hii got the text to be a certain size, but cant get it to be Tahoma text...can anyone give me the code. the code i got so far is: echo "<FONT SIZE=4>Stock Updated Successfully - Update Another ?</FONT>";thanksits oki got it to work, thanks anyway Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted April 19, 2006 Share Posted April 19, 2006 Use the "style" attribute[code]<?phpecho '<span style="font-family:Tahoma;color:red;font-size:200%">Stock Updated Successfully - Update Another ?</span>';?>[/code]The "style" attribute is the in-line way of applying CSS attibutes to data on you pages. Learn CSS.Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.