Forum Moderators: not2easy

Message Too Old, No Replies

CSS works locally, not online

         

wesg

2:22 am on Oct 17, 2008 (gmt 0)

10+ Year Member



I've got a bit of a weird problem. My website used CSS for the header, and it looked fine in most major browsers (I designed it in Safari Mac) and I was happy with it, until I heard that a few browsers were out of whack. So I went back to work, and used my local installation to test. I found a Javascript to determine the user's browser, and add the correct class of CSS and everything worked great. Every browser I can think of displays it exactly where I wanted it to.

But now, I updated the whole collection back to the online server, and everything is out of whack! Mostly it's the padding around my links, and on my local copy everything displays perfectly still. What gives? All I did was copy the stylesheet, an updated header file and the Javascript.

tangor

2:24 am on Oct 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hate to ask the obvious, did you upload the javascript, too?

wesg

2:49 am on Oct 17, 2008 (gmt 0)

10+ Year Member



Yep, it loads along with the other support files... at least according to Safari's activity menu.

wesg

3:02 am on Oct 17, 2008 (gmt 0)

10+ Year Member



HA! I fixed it. It turns out that through a little miscommunication, the page I uploaded had an extra page inside the list element, which meant all the other text would spill over.

Note to others: When in doubt, double check the pages you've just uploaded.