Jump to content

How To Style Php Output?


pab1953

Recommended Posts

I posted a message earlier about working an AJAX RSS reader found on W3: http://www.w3schools.com/php/php_ajax_rss_reader.aspI asked how I could style the output and was told "To style the output, you need to add CSS hooks (classes and/or id's) to the html output found in the php file and a style sheet."I know CSS and HTML but little Javascript and PHP. Where in the PHP file do I attach "CSS hooks" and just what _are_ CSS hooks?Thanks.

Link to comment
Share on other sites

Style php output the same as you would for html, by using class and id's.All the php code does is output the html for you, so treat the php output as you would an html file and use CSS to style it.The "hooks" are the classes and ID's used for styling.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...