|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. |
|
#2
|
|||
|
|||
|
Can you post the code please; images are not very useful.
|
|
#3
|
||||
|
||||
|
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 : body { background: #e4f4ea; color: black; font-family: Helvetica, Arial, sans-serif; font-size: 10pt; font-weight: normal; } in it and the mainpage (which is at the top of every page) has : include_once "style.php"; style(); style.php has : <LINK REL=\"stylesheet\" HREF=\"/style/style.css\" type=\"text/css\"> there ya go. |
|
#4
|
|||
|
|||
|
Can you post all generated code please; CSS, HTML, etc, for the page. Or post a link.
|
|
#5
|
||||
|
||||
|
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. |
|
#6
|
||||
|
||||
|
Is the CSS in a separate file?
|
|
#7
|
||||
|
||||
|
Quote:
Quote:
cheers, gary
__________________
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. |
|
#8
|
|||
|
|||
|
well, judging by the 2 different URL's in the 2 different pictures, it's not working on your local testing server....
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS not formatting after page change. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|