Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: not2easy
but when I tried to run it through XAMPP the result is not even remotely similar. my background images don't appear, nothing is centered as it should and basically all of my CSS formatting is just gone.
can anyone please explain to me what I need to do in order to run an HTML page with some CSS formatting through a PHP server? I've been told I only need to change the extension from .html to .php but that's not working. i'm new to PHP so I could really use some help
<?php Header ("Content-type: text/css"); ?>
at the top of your .css file/s will fix it.
Either that or your external files links are referencing your local hard drive, which is an easy mistake to make if you're using something like Dreamweaver.