Angelojoseph17 Posted January 5, 2010 Share Posted January 5, 2010 Hi guys, I'm new to php. Basically I want to know how i can style the sheets. I have some html pages which have css applied to them but i wanna know if i can take a similar route with my php pages. Please help. Also is there any examples. Much appreciated. Angelo Link to comment https://forums.phpfreaks.com/topic/187191-adding-style-to-php/ Share on other sites More sharing options...
Alex Posted January 5, 2010 Share Posted January 5, 2010 Of course you can. The browser doesn't care if it's hard-coded HTML or dynamic HTML spit-out by PHP, it's all the same. Link to comment https://forums.phpfreaks.com/topic/187191-adding-style-to-php/#findComment-988486 Share on other sites More sharing options...
RaythMistwalker Posted January 5, 2010 Share Posted January 5, 2010 <head> <title>Member Index</title> <link href="url/to/skin.css" rel="stylesheet" type="text/css" /> </head> Just use that in the php file after you close php tags "?>" Or alternatively you can technically just load it same way as your html is done Link to comment https://forums.phpfreaks.com/topic/187191-adding-style-to-php/#findComment-988487 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.