March 10th, 2004, 07:09 PM
CSS not formatting after page change.
I have 2 pages that use style.css which has all the classes in it.
I used to simply drop one page into my web server root dir, open the page and everything worked fine. Now, when I chage pages in the wwroot, it wont format using the css. The first half of the page does format, but the second part does not.
I *think* it is something to do with the webserver or PHP.
Once I have fixed it (via a reboot) it works fine untill I drop the other page in there and then it breaks again.
Below are 2 pics, 2.jpg of what it is supposed to look like and 1.jpg of what it looks like when I get this prob.
March 10th, 2004, 07:33 PM
Can you post the code please; images are not very useful.
March 10th, 2004, 07:47 PM
The code is not the issue... we all know how css works.
It is not "formatting" using the css. It is a server, web server, php or soemthing else... not the code.
css file has things like :
font-family: Helvetica, Arial, sans-serif;
in it and the mainpage (which is at the top of every page) has :
style.php has :
<LINK REL=\"stylesheet\" HREF=\"/style/style.css\" type=\"text/css\">
there ya go.
March 11th, 2004, 10:48 AM
Can you post all generated code please; CSS, HTML, etc, for the page. Or post a link.
March 11th, 2004, 04:35 PM
forget it dude... I told you it aint the code... its a box glitch and I was hoping it was something that some else had encountered.
Sometimes... rebooting the machine fixes it.
March 11th, 2004, 04:38 PM
Is the CSS in a separate file?
March 11th, 2004, 06:06 PM
I believe PHP-Newb was right in asking for the output of the server. If, as you think, the "box" is at fault,
seeing its output may be helpful. It may not be, too. But if you're so sure about what's causing the problem, fix it. You don't need our help.
Originally Posted by Ricta
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.
My html and css workshop
, demos and tutorials.
Ask a better question
, get a better answer.
March 11th, 2004, 08:19 PM
well, judging by the 2 different URL's in the 2 different pictures, it's not working on your local testing server....