Archive for May 30th, 2009
IE6 PNG Glitch Summary
by z3n on May.30, 2009, under Notes
Despite all those javascript, css, htc, etc. fixes for correctly displaying a png on IE6 (alpha image hack) there’s a couple of issues that never go away:
- You can’t have a custom position on the PNG background (check this post about alternate background positions if you’re not familiar with it);
- You can’t have it tiling, it always will be streched to the size of the element (scale) or will be shown on it’s regular size;
- If it’s on a background of a DIV links, forms and text will not work right;
- On slower machines it will lag the site;
Apache server-status speed unaccuracy
by z3n on May.30, 2009, under Notes
I’ve noticed that apache’s server-status’ speed value is wrong, apache does not take in consideration if the file was all sent or if the download has finished to calculate this, not even the speed itself only the size of the request.
I’m uploading a file from my machine to another using apache running on my machine, however, my connection is slow and eventually the download stops, i can upload at around 64k/s, and yet, apache thinks i’m sending at 12.3mb/s, not sure if this is because the file is being resumed or because apache isen’t really monitoring this kind of activity.
I also noticed that apache does count the cached files on those sums, so, even if the user has the file already and don’t actually downloads off the server (just send a header to confirm if it matches with the local) apache will count this as a full download. As stated on a server i redirected to another.
Little Firefox Glitch
by z3n on May.30, 2009, under Coding, Tips & Hints
Problem:
Having a fixed background may be a problem on firefox if you just declare it like this:
body { background:url(file.ext) fixed; }
Solution:
body { background:url(file.ext) fixed #color; }