- This topic is empty.
-
AuthorPosts
-
April 9, 2009 at 7:15 pm #24546Historical Forums UserParticipant
Hi there guys. I’ve been following CSS-Tricks for a while, and lurk the forums frequently, so I knew this was the best place to get some much needed help.
This problem seemed to have come out of nowhere. I have been at this all afternoon, tried everything I can think of only to be left clueless. Here is the test page:
http://www.adgrouponline.com/redesign/index_test.htm
The homepage for whatever reason is not displaying correctly, completely disregarding the external CSS file that it is linked to. Every other page seems to be working just fine – for example: http://www.adgrouponline.com/redesign/about.htm. However, there was a part of the day when viewing the site on Firefox, the site in it’s entirety was not displaying properly.
Just now I discovered in Safari only, when the URL excludes the www. and reads as http://adgrouponline.com/redesign/index_test.htm it works like gold. The page validates with no errors, I have cleared the cache in both browsers, and have even reset the router to see if there was an issue within. Nothing. I am completely stumped guys.
Here’s the code:
Code:
Ad Group Incorporated | Full Service Ad Agency | Temecula, Murrieta, California | Home
$(document).ready(function() {
$("li.print").show(function(){ $("#load-area").load("load-print.htm"); });
});
$(document).ready(function() {
$("li.print").click(function(){ $("#load-area").load("load-print.htm"); });
});
$(document).ready(function() {
$("li.web").click(function(){ $("#load-area").load("load-web.htm"); });
}); $(document).ready(function() {
$("li.video").click(function(){ $("#load-area").load("load-video.htm"); });
});
Current Ad Group News: 07/08: Ad Group Retained To Market Revolutionary New Product | 05/08: Valley Hi Nissan and Valley Hi Honda Retains Ad Group
Who We are
Ad Group helps companies identify and build customer traffic. This, in turn, leads to greater profitability for our clients. How do we do this? We develop effective and affordable marketing and advertising strategies that include the utilization of web, print, television and radio commercials, direct mail, logo design and more. Ad Group has over 35 years of service, more than 85 years of collective marketing knowledge, having serviced over 170 clients throughout 4 countries.
Services
- Branding
- Web Marketing/Design
- Television Commercials
- Radio Commercials
- Newspaper/Magazine Design
- Direct Mail Marketing
- Media Buying/Planning
- Promotions
- Printing
- Corporate Collateral
- Logo Design
- Public Relations
Any help would be really appreciated. Thank you!
April 9, 2009 at 7:24 pm #56057LuminatedMemberI’m looking at this now for you, but just FYI, the homepage is broken for me with or without the WWW.
First question I would have for you is…did you double/triple/quadruple check the file paths. On the surface, I don’t see any reason for this at the moment.
Beautiful redesign, btw.
Edit – Also, I would just re-save another page that is working and then manually import the home page content section by section…that way you can see what part (if any) of the code is causing this.
Edit 2 – Yeah, looking at it again, I can’t see why this would happen, except perhaps your javascript is somehow disabling the CSS file. I think if I were experiencing this, I would just re-build the page piece by piece to see which part is causing this to happen.
April 9, 2009 at 7:49 pm #56058Historical Forums UserParticipantLuminated,
Hopefully you didn’t put too much time into trying to help me out on this one, as right after I made the post I did a bit more research of my own. I really appreciate the help AND the compliment!
Turns out it was an encoding issue. Somehow while I was working in Coda, I accidentally converted the file to UTF-16 while at the same time declaring in the meta that the page was Unicode UTF-8, thus causing my problem.
I will definitely look into familiarize myself with text encoding so I am not so clueless next time around.
April 9, 2009 at 7:54 pm #56059LuminatedMemberNo worries, I really didn’t spend much time at all, but at least I did learn something new about text encoding myself! :)
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.