dumbguru Posted October 1, 2008 Share Posted October 1, 2008 Hello, I'm not really good at php but I'm trying The problem is that I have this code: function doNavBar2() { ?> <p> <div style="background:#000000;padding:5px;"> <a href="index.php">Home</a> | <a href="faq.php">FAQ</a> | <a href="login.php">Members Login</a> | </div> </p> <?php } Now I need to some how control the color of the text, how can I control the color of "Home""faq""members login" Thanks for your time, regards, Link to comment https://forums.phpfreaks.com/topic/126563-solved-small-problem-please-help-me/ Share on other sites More sharing options...
waynew Posted October 1, 2008 Share Posted October 1, 2008 Use CSS? Or function doNavBar2() { ?> <p> <div style="background:#000000;padding:5px;"> <a href="index.php" style="color:#333333;">Home</a> | <a href="faq.php" style="color:#333333;">FAQ</a> | <a href="login.php" style="color:#333333;">Members Login</a> | </div> </p> <?php } Link to comment https://forums.phpfreaks.com/topic/126563-solved-small-problem-please-help-me/#findComment-654552 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.