CSS file size limit?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Yesterday my site unexpectedly stopped loading. I tracked it down to
the CSS file for the site. When I commented it out, the site was okay.
When I put it back in, it was not. I tried connecting to the server
via Dreamweaver and it could not dowload the file. Very bizarre,
however I noticed that it was getting to 14.6K / 15.2K before pausing.
So I went in via the command line and deleted from the end of the file
until it was smaller than 14.6K. The site now works like a charm,
minus my missing style elements.

Next I tried creating a second style sheet (styles2.css), appending
the ~50 lines I had deleted, and linking to it. Again, the site
stopped responding. I started cutting out style elements and once I
got beneath a certain threshold, the site would start loading. It
didn't matter which elements I cut, just as long as I didn't have too

Any insight into what is going on here? Is there some kind of size
limit of CSS files?
Thank you,

Re: CSS file size limit?

Kevin Audleman wrote:
Quoted text here. Click to load it

Who knows?  Probably not in a PHP newsgroup.

You might try asking an an appropriate newsgroup such as alt.html.css or  

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: CSS file size limit?

Quoted text here. Click to load it

Great idea Jerry. I'm not sure what I was thinking posting here.


Re: CSS file size limit?

Kimmo Laine wrote:
Quoted text here. Click to load it

Unless next_page.php generates PHP, the script with this include will
only get HTML.

Quoted text here. Click to load it


    if (isset($_GET['foo'])) {
      echo '<?php echo $_GET[\'foo\']; ?>';
    } else {
      echo '<?php echo \'Not available\'; ?>';

File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Site Timeline