Welcome to WebmasterWorld Guest from 54.221.136.62

Forum Moderators: not2easy

Message Too Old, No Replies

CSS works locally, not online

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

Junior Member

5+ Year Member

joined:Jan 30, 2008
posts:104
votes: 0


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.

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

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:7917
votes: 554


Hate to ask the obvious, did you upload the javascript, too?
2:49 am on Oct 17, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 30, 2008
posts:104
votes: 0


Yep, it loads along with the other support files... at least according to Safari's activity menu.
3:02 am on Oct 17, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 30, 2008
posts:104
votes: 0


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.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members