Msg#: 3835181 posted 11:24 pm on Jan 26, 2009 (gmt 0)
hi all, I have built a page in HTML and have attached a CSS to it and have been able to preview it in different browsers and it appears to be working perfectly.
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
Msg#: 3835181 posted 11:39 am on Jan 27, 2009 (gmt 0)
Perhaps the web server doesn't send the right content-type header along with the stylesheet. Some browsers ignore the stylesheet if it doesn't have the right content-type. You can easily check the header with the Web Developer Toolbar for Firefox.