PDA

View Full Version : css styles in php?


spoofm0nkey
09-26-2005, 07:14 AM
could someone quickly tell me how to use css styles in php?

EDIT: or if you could just tell me how to put css style inside an iframe code.

_Aerospace_Eng_
09-26-2005, 07:51 AM
Once php pages are parsed its just html so you can put CSS on the page just like normal html. If you want to put it in an iframe you will need to put the CSS on the page being iframed in.

spoofm0nkey
09-26-2005, 08:04 AM
yeah, but the page being iframed is in php, wich is the page i'm talking about. the style i want to add (to ALL text here) is .news { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #FFFFFF; ; font-style: normal; line-height: normal; font-variant: normal }
if you go to www.sneakyweaselstudios.com, look down and to the left of the page. there is something that says "# Idiot[s] on SwS"

i had it included in php and that worked perfectly, i'm only iframing it now so i can give the php page a refresh code to make it automaticaly refresh.. if you know where i'm going.