CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 10th, 2004, 06:09 PM
Ricta's Avatar
Ricta Ricta is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 449 Ricta Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 Day 19 h 38 m 53 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old March 10th, 2004, 06:33 PM
Winters Winters is offline
Bad Coder
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jul 2003
Posts: 1,835 Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 11 h 2 m 4 sec
Reputation Power: 187
Can you post the code please; images are not very useful.

Reply With Quote
  #3  
Old March 10th, 2004, 06:47 PM
Ricta's Avatar
Ricta Ricta is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 449 Ricta Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 Day 19 h 38 m 53 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old March 11th, 2004, 09:48 AM
Winters Winters is offline
Bad Coder
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jul 2003
Posts: 1,835 Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 11 h 2 m 4 sec
Reputation Power: 187
Can you post all generated code please; CSS, HTML, etc, for the page. Or post a link.

Reply With Quote
  #5  
Old March 11th, 2004, 03:35 PM
Ricta's Avatar
Ricta Ricta is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 449 Ricta Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 Day 19 h 38 m 53 sec
Reputation Power: 0
Thumbs down

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.

Reply With Quote
  #6  
Old March 11th, 2004, 03:38 PM
#ShAm4n's Avatar
#ShAm4n #ShAm4n is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2004
Location: 0ffice[c0mput3r] || (Uni())
Posts: 543 #ShAm4n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 50 m 8 sec
Reputation Power: 5
Is the CSS in a separate file?

Reply With Quote
  #7  
Old March 11th, 2004, 05:06 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,585 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 16 h 18 m 25 sec
Reputation Power: 662
Quote:
Originally Posted by Ricta
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.
I believe PHP-Newb was right in asking for the output of the server. If, as you think, the "box" is at fault,
Quote:
It is a server, web server, php or soemthing else... not the code.
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.

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.

Reply With Quote
  #8  
Old March 11th, 2004, 07:19 PM
KCWebMonkey KCWebMonkey is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 7 KCWebMonkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well, judging by the 2 different URL's in the 2 different pictures, it's not working on your local testing server....

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS not formatting after page change.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT