Jump to content

[SOLVED] Simple CSS/Php Stuff.......


networkthis

Recommended Posts

Sometimes you forget the simple stuff....

 

I am trying to simply embed css style into my php...but I can't remember the proper quotations to embed the styles directly...

 

example I want to take something as simple as this.... <p style="background:#FFFFFF;">Example Text</p>

 

<?php '<p style=/"background:#FFFFFF;/">Example Text</p>' ?> Doesn't work....

 

Your help is greatly appreciated

 

Link to comment
https://forums.phpfreaks.com/topic/105099-solved-simple-cssphp-stuff/
Share on other sites

Thanks everyone, I really feel dumb now, because I tried that both ways, I was really discouraged when I tried those and neither showed the bgcolor at first........Of course it helps if I didn't have white on WHITE!!!!!  I seriously thought I was loosing my mind....bg was supposed to be gray!!!!!!!!  Thanks for making me realize I'm not totally going insane.

 

Thanks again!!!!!!!!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.