[Edit]
Answer
The web browser cannot tell whether the page information arriving at the browser comes from a PHP source or an HTML source. So if the HTML version works and the PHP version CSS is broken you have translated the page incorrectly.
Examine the page source from the browser window for both versions and compare them closely. The PHP version must reference the CSS file correctly in the header. Check that in particular.
First answer by Craigle. Last edit by Craigle. Contributor trust: 129 [recommend contributor]. Question popularity: 11 [recommend question]




