Why does CSS occasionally not show?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
aschlosberg
Forum Newbie
Posts: 24
Joined: Fri Jan 23, 2009 10:17 pm

Why does CSS occasionally not show?

Post by aschlosberg »

I have a client that is <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> off that one of their pages didn't render correctly when the CSS did not download/activate. We have all seen this countless times (I've even seen it on Facebook) and know that it is an irregularity and not the norm but they won't accept that.

How do I explain to them what is going on? Is it just that the connection dropped out between downloading HTML and downloading CSS?
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Why does CSS occasionally not show?

Post by jayshields »

Could be a load of things. Probably browser related rather than connection related. I've had rendering issues with CSS forever, not just the browser forgetting to use the CSS, but rendering the same element in a different place randomly and then working fine on refresh.
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Re: Why does CSS occasionally not show?

Post by JellyFish »

Strange I don't think I've ever experienced something like this. At least, not in a long time.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Why does CSS occasionally not show?

Post by califdon »

I've experienced it many times, and it always turned out to be my misunderstanding of how to code CSS. I thought it wasn't, a lot of times, but in the end, it was always my fault.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Why does CSS occasionally not show?

Post by Chris Corbyn »

Well, if Apache is having issues and it fails to serve the CSS then this would happen. I've seen it happen on numerous sites (yes, including facebook) when they've been running at a crawling speed.

Is the server up to snuff?
aschlosberg
Forum Newbie
Posts: 24
Joined: Fri Jan 23, 2009 10:17 pm

Re: Why does CSS occasionally not show?

Post by aschlosberg »

I told them to just refresh the page and they would see that it wouldn't happen again. I think their internet connection had some issues at the time.
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: Why does CSS occasionally not show?

Post by Apollo »

califdon wrote:I've experienced it many times, and it always turned out to be my misunderstanding of how to code CSS. I thought it wasn't, a lot of times, but in the end, it was always my fault.
Even in cases where the css does show up after a refresh?
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Why does CSS occasionally not show?

Post by califdon »

Apollo wrote:
califdon wrote:I've experienced it many times, and it always turned out to be my misunderstanding of how to code CSS. I thought it wasn't, a lot of times, but in the end, it was always my fault.
Even in cases where the css does show up after a refresh?
In my own case, I haven't experienced that. Maybe I am just a worse coder than some of you guys (undoubtedly true!). And I don't do really complex sites, nor really high volume sites. So my experience may be of limited value.

P.S. I've always admired your avatar! Tell me, are those really tatoos? :P
Post Reply