Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it,
follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given
their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!
CSS not loading in Chrome?
Chrome is giving me an unformatted page when going to all the other pages besides the forums. Site was fine yesterday. Happening on two different networks.
0 •
Posts
I opened an incognito window in Chrome and went to the PA home page. I hit Ctrl+Shift+R several times to refresh the page ignoring the cache. Sometimes the page loaded correctly, but just as often it would show up as unstyled.
I looked at the JS console and there were several errors. However, those errors often appeared whether or not the page loaded correctly, so I couldn't pinpoint a particular breaking error. Most of the errors appeared to do with ads, so make sure those aren't blocked.
Screenshot, spoilered for huge:
For the record, the page looks for me exactly like what agilemania put in the spoiler tags. If I load it in Firefox, the site (along with the CSS file) loads correctly as well as in IE9. Disabling all of my add-ons does not fix the issue in Chrome, either.
This is what I see when I open the CSS file:
M=5»`ó¼iŽÇ‡àå°wM°
â0ŠÚôþþ~ÝÃïW5ú~½ín-Tgþ«½í»a
î†Ã¿ºíÇûæpXoÇñëo.Mp02?4Çf¨ò©Ï·Áãm=Ü´ÇAxÙ×»]{¼¿~ùjÓí‚ǯÎ6õöãÍÐÝw/‚ó0
wqtùÕÙuwœV×õm{xxüØ>5S»/Àµõá"øµvõü{¬ãjl†öšvÛßšA”öŸÁ'ÛîÐ
nS\'× É—¯öCð¸kÇþPÀÇîØTÚÛ›‹àºm»±™‚ÇM7ìš}[¿8´ÇAýâS;¶pÇ)ظÞÔM„Úì»OÍÕÛ©ýÔÌmšë2·
ظãÔ'8éûv7í_U"4ÙõÝÔA4×›éx~5øûX
jØ‘¡¾9€}]§æó´j;øE°ªªª¹ŸBd®Ýý‹`ßîÀw𣻠̣!ÓKs7ŒÁ¾kZø„Î;¤`§¬îu7ܾîú¾ä76¹Ey:í‚WõHߘúœo6f:Ø7íÍÌ,ÉÐBn»ßV›îójÜ×;8½ö·,ÿýgÐ/„ȯî›ÍÇv²7th—š¦¬B¾»C»ÛÚTy’ÁÕ€øßä)À³µ^Hë»±Ù|˜ÚC¯ûãÍ7Á*/³ÀZ¡ŸÇn54=`ú#´RDZiEæ3…þ3-Aš lòjìë-jÁf÷CqƒÖ꡹†h02kh– B8wð¯ÁGÓÃa&¸ù£U߃ÔvA@•c»k8\™ÓÓçÕf»¥Ãïšm7Ô¸#ÚÁ MÑp_jއ´Zóº$1XùÑ:[Bˆ<^G|´ç}
~ØžÔ7/üßã2!ÜÖí‘B–@2ˆâ¼ ´‚Ûñ"H!3ãÇyë=Nd |a $—ú«÷@I^8Ì®>7Ðû¡9n÷Íè3Pš¥.‰KwõÆ‹òÈiéÀI¾$䯷Eùs3ŽõMã~žß’ÜÙ€tÈQ<9mòbÖ3›º^`b›&«Â\8!:ü)_Ã_¿%¢Â«î°ûú‚¿–×p‰Ž:½”ц`-Ñ óðǬèQñÕrÂ/ó2Ôh3ÝØØù®@h~«*‰$¾K˜l” <–üÓÆ)W‰öAqí9ö:@¸ZT"€Ôl½cl€ 8ê7FúÙãÊ=›Äq–ñ‹¶¹ù€Û¢û
/ 4ù/×ê3·`aøïh¶d€uß~n>ß6Pá6䌃ȉMšÛqÞªŒ\i¤ß>ÂW‰‘CwÓ}@rõ"W‹Så‰Ãént‘ÁÈ¢Åa(’Yœ·b8"ü¹$º‰s¤×Ó<OîzÅ‚ËåÜã|SÿrÇI¡E\
è¡Ô•ê ˲Gä@º¿IVût±ˆµ å~hcy É+§‰+/'ñIh^¯©Ž03s¢Ip
Á|g±Ÿ‰1¥Ó9E‹›°pNh^êŸ':4‡â¨“©\É]Rª^–A««î¶Ýļnè"Ï0VW(O%ÂTì=\ùÚ|™ÇKà£0eðßMÝÐø¢…y²4@9ÃÝ
w·¾ð«"Z_0ðo^¾ÿA÷B?Ê×§(1|J˜ø›Í6¶±ia¡ÝPÝ<BA»e<¶=FÚ]áAÐ0BÐ.¼€]d >Æ@;³<w¨7@Ä»›Ðí…¾é€PP
Õ$Ì_øƒó•x0ñPþg3-ÜϦïü;Pß!"p;£¾CðDâtL½çÀÓù .^ßïî6Êîz}s×Íj ’Ϭ‹„QÒ×—²~c»êdÛƒ¤L; juO>ÛõeÁ¤ÀYTˆA€¦i)ˆùÜüèg»Öõ8éV#´JO?ƒí”Å'‹â{<ŠB•ÉFúa;Iä'R9ú ñ!h6Ÿ@[ï$N¶w7ž‹0–mgUŠæ²JèGB«Xl›Ðfí¿ülšçÔèm£j&Ó#ŸF.SÖðJ¦›zðQ7£"$,^ƒè뻹…´ê¥Cç·>{Ðã5ؼ»ÁO“ƒU\&z%_9ÿ†õqâî·X:ÊHm ‰±CC=†…ç±^ßµ« \·+ЩQ}BÛókýTÉ‘t`wdŠY:èZtØ÷½€ÿÆi;²¨ëã
’3 Æ!UÜÙxûsG½õiÁò¤È5Ò]Âݹ殨D%T
BqÅIQ—M׉põ»á¶>ˆ³e46‡f;5»óñÐMadŠ3dÌÓ6@±Q*Íý%Œ
jÕµJ-9Ê,•È$ÁÂÚºHzlcÓ9/øöš½°J¼dBÑÆ¨B½¤ÃÜjr
®†¡¦§àj…š€kQTF¨ë\`Wûö°ß>à§æ§è"’~U.ðºÆéM=L~„.°n€„5AOBæˆý/Í=…ïçAŠ˜uY¿ÊÔy€¿ž4ƒ<q€¹£|
-¹…B}æ‡D^‘$÷Hì
... etc etc.
so suspiciously so that I compressed index3.css by hand and forced chrome to try to interpret it and got ‹%BOindex3.cssÍ=isÜ6–Ÿ•_Ájw&)u‡÷aÕVŒ“M²^Û“™o.v7¥æ¸Õä”eEåÿ¾¸‰“ZÊÌ$eY‡wã»oWNÿ}ûÝWß}\½{\ ...
(the green crap is identical, the red is some sort of header because I compressed it by hand)
I have no idea why chrome is having gzip-encoding related issues for you guys though (it works in chrome for me!)
Here's what I get from the Inspector's Header section for that file:
Request Method:GET
Status Code:304 Not Modified
Request Headers:
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Host:hw1.pa-cdn.com
If-Modified-Since:Mon, 20 Feb 2012 09:19:33 GMT
If-None-Match:"1329729573"
Referer:http://penny-arcade.com/
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11
Response Headers:
Accept-Ranges:bytes
Content-Type:text/css
Date:Tue, 28 Feb 2012 14:03:57 GMT
ETag:"1329729573"
X-HW:1330437837.ch001c3
Let me know if you need anything else! I'll check back in from time to time, I've got a fair bit of my own work to do today.
It's fixed here too after I cleared the cache. Thanks a ton, I'm sort of curious as to what the problem was, but I'm also just as happy to have the pretty CSS working again.