Borked CSS?

Caporegime
Joined
26 Aug 2003
Posts
37,508
Location
Leafy Cheshire
Hi guys,

I'm currently doing a small bit of dev on a site that was up until now working (but not styled how the owner wants it) properly.

I needed to change the navbar, which in itself posed no problems, a pure CSS horizontal dropdown navbar has been swiftly placed into the site, and it works fine, IF its on a non-IIS based webserver!

If I run the site locally using file:// then it works flawlessly in IE6, IE7, FF2, FF3 and safari. If I run the site on our test domain (publicly visible), which runs on apache, the navbar displays fine.

If however I place the site on the production domain host server (IIS6), or on my local IIS server (XP PRO IIS6), then the page styles work, and half the navbar styles work, but anything styling the background image of the 2nd and 3rd levels of the menu just refuses to work :confused:

Now, the old navbars (v1 and v2 - both very different), both worked in IIS, but this new v3 won't.

Is there anything simple I can check, either with my filesystem, IIS, or the CSS itself?

Cheers.
 
Im not too smart but does it need any extensions like frontpage? :p but being pro it may already have it?
 
are parent paths enabled? If they aren't image locations such as '../images/image.jpg' will appear broken. You have to enable this setting in the IIS properties for the website.
 
Its alright, it's sorted.

God knows how, but local IIS was very very screwed. I started to fix all the permissions, but realised it was easier to remove and reinstall IIS, then put the site back from a backup. This has now put the permissions back how they should be :)

As for the remote site, all the problems were due to the encapsulation used to transferring over FTP. I resolved this by using windows explorer rather than "smart" FTP (not that smart though, huh?).

Crisis averted :p
 
Back
Top Bottom