ohdang888 Posted January 18, 2008 Share Posted January 18, 2008 i'm having a lot of problems with this.... the pic of my site is below, still in localhost, i want to add extra stuff below all of this. but it keep on adding it to the second column... and how would i use CSS in a .php doc??? [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/86587-solved-css-design-question/ Share on other sites More sharing options...
pocobueno1388 Posted January 18, 2008 Share Posted January 18, 2008 You probably just need to add a new div, it's hard to help without seeing any code though. You would add CSS to your php files by either putting it outside the PHP tags, or use the echo or print function. Quote Link to comment https://forums.phpfreaks.com/topic/86587-solved-css-design-question/#findComment-442416 Share on other sites More sharing options...
CMC Posted January 18, 2008 Share Posted January 18, 2008 You can just echo it <?php echo "<span style=\"color:red;font-weight:bold;\">This is red and bold styled text.</span>"; ?> or just stop PHP script and write it directly as CSS. <?php $var = "some variable"; //stop php ?> <!--style text--> <span style="color:red;font-weight:bold;">This is red and bold styled text.</span> <?php //continue php echo $var; ?> Quote Link to comment https://forums.phpfreaks.com/topic/86587-solved-css-design-question/#findComment-442418 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.