michaelfox + ie 31
Notes on using PNGs - GitHub
march 2011 by michaelfox
# Notes on using PNGs
[Here are some useful image optimization techniques](http://www.slideshare.net/stoyan/image-optimization-for-the-web-at-phpworks-presentation). There are some things to keep in mind while using PNG image format.
PNG comes in three flavours; 8-bit, 24-bit and 32-bit. A 32-bit PNG is a 24-bit PNG with a transparent Alpha channel. [8-bit pngs with transparency are recognized mostly by IE6](http://blogs.sitepoint.com/2007/09/18/png8-the-clear-winner/), while transparent 32-bit PNG are not. So, you can do one of three things with transparent/semi-transparent 32-bit PNG images for IE6:
1. Convert to 8-bit PNGs
2. Use the included DD_BelatedPNG script to render them correctly.
3. If the transparent region is going to be in front of a solid color, you can use [TweakPNG](http://entropymine.com/jason/tweakpng/) to make sure that the 32-bit PNG renders a particular color instead of the typical grey-blue color for transparent regions. You can set the color by editing the "bKGD" attribute.
###Convert to 8-bit PNGs
Mostly 8-bit PNGs are smaller than the 32-bit variety. There is no discernable difference in how smooth the transparent regions are in all browsers except in IE6 where the edges appear jagged.
[pngquant](http://www.libpng.org/pub/png/apps/pngquant.html) is a command line utility that can convert 32-bit PNGs to 8-bit ones. [Here are some ways to optimize PNGs in Photoshop/Fireworks](http://www.smashingmagazine.com/2009/07/15/clever-png-optimization-techniques/) and [more](http://www.smashingmagazine.com/2009/07/25/png-optimization-guide-more-clever-techniques/).
### Using DD_BelatedPNG
DD_BelatedPNG script uses VML to render the transparency and is useful if you have few PNGs on which the script needs to work on. If you have a page with scores of PNG images, using DD_BelatedPNG might end up slowing down your page. You could either target a small set of PNGs for it, or convert them into 8-bit PNGs.
ie
images
png
[Here are some useful image optimization techniques](http://www.slideshare.net/stoyan/image-optimization-for-the-web-at-phpworks-presentation). There are some things to keep in mind while using PNG image format.
PNG comes in three flavours; 8-bit, 24-bit and 32-bit. A 32-bit PNG is a 24-bit PNG with a transparent Alpha channel. [8-bit pngs with transparency are recognized mostly by IE6](http://blogs.sitepoint.com/2007/09/18/png8-the-clear-winner/), while transparent 32-bit PNG are not. So, you can do one of three things with transparent/semi-transparent 32-bit PNG images for IE6:
1. Convert to 8-bit PNGs
2. Use the included DD_BelatedPNG script to render them correctly.
3. If the transparent region is going to be in front of a solid color, you can use [TweakPNG](http://entropymine.com/jason/tweakpng/) to make sure that the 32-bit PNG renders a particular color instead of the typical grey-blue color for transparent regions. You can set the color by editing the "bKGD" attribute.
###Convert to 8-bit PNGs
Mostly 8-bit PNGs are smaller than the 32-bit variety. There is no discernable difference in how smooth the transparent regions are in all browsers except in IE6 where the edges appear jagged.
[pngquant](http://www.libpng.org/pub/png/apps/pngquant.html) is a command line utility that can convert 32-bit PNGs to 8-bit ones. [Here are some ways to optimize PNGs in Photoshop/Fireworks](http://www.smashingmagazine.com/2009/07/15/clever-png-optimization-techniques/) and [more](http://www.smashingmagazine.com/2009/07/25/png-optimization-guide-more-clever-techniques/).
### Using DD_BelatedPNG
DD_BelatedPNG script uses VML to render the transparency and is useful if you have few PNGs on which the script needs to work on. If you have a page with scores of PNG images, using DD_BelatedPNG might end up slowing down your page. You could either target a small set of PNGs for it, or convert them into 8-bit PNGs.
march 2011 by michaelfox
How to I add a JQuery locators to Selenium Remote Control - Stack Overflow
october 2010 by michaelfox
Hi, I've been using XPath with Selenium quite happily and even using getEval with a but of Javascript, but a colleague said wouldn't it be great to be able to use JQuery selectors in Selenium.
I've googled it, but can't find any articles that seem to work for me. Could anyone provide a comprehensive guide on how to use JQuery syntax to extract doc elements and their respective values out of selenium.
I'm using C# to write my selenium tests, so if any examples could be from a C# perspective that'd be great.
Thanks
jquery
selenium
testing
browsers
ie
firefox
test
javascript
I've googled it, but can't find any articles that seem to work for me. Could anyone provide a comprehensive guide on how to use JQuery syntax to extract doc elements and their respective values out of selenium.
I'm using C# to write my selenium tests, so if any examples could be from a C# perspective that'd be great.
Thanks
october 2010 by michaelfox
CSS Attributes: Index
october 2010 by michaelfox
This documentation is preliminary and is subject to change.]
This index lists all the supported Cascading Style Sheets (CSS) attributes by category, and indicates the version of Windows Internet Explorer in which the attributes were first available.
ie
css
reference
This index lists all the supported Cascading Style Sheets (CSS) attributes by category, and indicates the version of Windows Internet Explorer in which the attributes were first available.
october 2010 by michaelfox
Two bookmarklets for debugging in IE / Stoyan's phpied.com
august 2010 by michaelfox
I saw this bookmarklet here and it's beautiful. When you start it, it puts a textarea at the bottom of your page and you can type javascript in it, then eval()-uate it. Perfect! Only ... it doesn't work in frames. So I did the same thing but when you have frames (works without frames as well). The way mine works is - you first select some text in a frame, then you click the bookmarklet. A new textarea, ready to execute javascript will be placed in this frame (or iframe) that you selected. Also in this case when you type document.something, it refers to the document in the frame, not the frameset.
If you don't select any text and click the bookmarklet, it will place the textarea in the topmost document, so it will work for frame-free pages as well.
So here's the bookmarklet.
textarea eval
And here's a page where you can test.
Bookmarklet 2 - dump anything
After having my beautiful textarea, I wanted to be able to dump variables, like print_r() or var_dump() but for Javascript. I googled and I found this little script. All I did then is to make it a bookmarklet. How it works? You select the bookmarklet, it gives you a prompt, where you type whatever you want to dump, like document.location for example. Then it shows you an alert with all properties of this thing you typed. (Don't try to dump document though, or something else that recurses, because the script won't handle the recursion and will freeze)
debug
debugging
ie
javascript
tools
resources
browser
troubleshooting
bookmarklets
If you don't select any text and click the bookmarklet, it will place the textarea in the topmost document, so it will work for frame-free pages as well.
So here's the bookmarklet.
textarea eval
And here's a page where you can test.
Bookmarklet 2 - dump anything
After having my beautiful textarea, I wanted to be able to dump variables, like print_r() or var_dump() but for Javascript. I googled and I found this little script. All I did then is to make it a bookmarklet. How it works? You select the bookmarklet, it gives you a prompt, where you type whatever you want to dump, like document.location for example. Then it shows you an alert with all properties of this thing you typed. (Don't try to dump document though, or something else that recurses, because the script won't handle the recursion and will freeze)
august 2010 by michaelfox
/* Position Is Everything */ — Modern browser bugs explained in detail!
august 2010 by michaelfox
I'm Big John, and here I attempt to describe and demonstrate some of the bugs found in web browsers, and to show advanced CSS methods that work across all browsers.
css
reference
ie
browsers
resources
positioning
layout
hacks
august 2010 by michaelfox
Internet Explorer UA Style Sheets
april 2010 by michaelfox
The UA Style Sheet is a simple set of css styles that each web browser uses before any other css styles are applied.
This chart lists and compares the different default style sheets used to render HTML in the four major versions of Internet Explorer; IE6, IE7, IE8, and IE9 Platform Preview.
You can download each of these UA stylesheets by using the links at the top of this chart.
browser
css
ie
ie6
webdesign
webdev
ie7
ie8
ie9
firefox
opera
safari
stylesheets
This chart lists and compares the different default style sheets used to render HTML in the four major versions of Internet Explorer; IE6, IE7, IE8, and IE9 Platform Preview.
You can download each of these UA stylesheets by using the links at the top of this chart.
april 2010 by michaelfox
Fixed Header & Footer Layout: A Beginner’s Guide | Noobcube
april 2010 by michaelfox
Having a fixed header and/or footer can be quite effective in a web interface where its use proves to be advantageous. However, getting it implemented in all browsers, including IE6, can seem quite daunting.
In this tutorial we'll not only get it working in all the major browsers, but we'll also cover all the necessary steps required in doing so. By the end of this tutorial, you should be able to implement this into your own projects without having to copy and paste a thing.
css
footer
ie
ie6
tutorial
header
fixed
In this tutorial we'll not only get it working in all the major browsers, but we'll also cover all the necessary steps required in doing so. By the end of this tutorial, you should be able to implement this into your own projects without having to copy and paste a thing.
april 2010 by michaelfox
Diagnose and Prevent AJAX Performance Issues - dynaTrace AJAX Edition
april 2010 by michaelfox
AJAX improves user experience by moving more code to the browser. Frameworks accelerate development, but lead to opaque application behavior and new performance issues.
dynaTrace AJAX Edition aims to solve these issues:
* Understand performance as real users experience it
* Differentiate between browser or server bottlenecks
* Trace asynchronous JavaScript executions for the full round-trip
* Analyze JavaScript, AJAX remoting, network and rendering performance in real-time
* Save performance data for interactive offline analysis
* Transform Selenium/Watir tests into performance tests and integrate them with your CI environment
ajax
ie
javascript
performance
profiling
testing
troubleshooting
debugging
windows
software
tools
dynaTrace AJAX Edition aims to solve these issues:
* Understand performance as real users experience it
* Differentiate between browser or server bottlenecks
* Trace asynchronous JavaScript executions for the full round-trip
* Analyze JavaScript, AJAX remoting, network and rendering performance in real-time
* Save performance data for interactive offline analysis
* Transform Selenium/Watir tests into performance tests and integrate them with your CI environment
april 2010 by michaelfox
related tags
ajax ⊕ align ⊕ alphaimageloader ⊕ bookmarklets ⊕ browser ⊕ browsers ⊕ bugs ⊕ center ⊕ centering ⊕ cheatsheet ⊕ code ⊕ coding ⊕ compatibility ⊕ corners ⊕ css ⊕ css.fontface ⊕ debug ⊕ debugger ⊕ debugging ⊕ design ⊕ development ⊕ email ⊕ explanation ⊕ extension ⊕ firefox ⊕ fixed ⊕ fixes ⊕ fluid ⊕ font ⊕ fontface ⊕ footer ⊕ graphics ⊕ hacks ⊕ header ⊕ height ⊕ howto ⊕ html ⊕ http ⊕ ie ⊖ ie.dximagetransform ⊕ ie6 ⊕ ie7 ⊕ ie8 ⊕ ie9 ⊕ image ⊕ images ⊕ img ⊕ javascript ⊕ jquery ⊕ layout ⊕ mac ⊕ macos ⊕ microsoft ⊕ mixedcontent ⊕ newsletter ⊕ opera ⊕ osx ⊕ outlook ⊕ performance ⊕ pixelation ⊕ plugin ⊕ png ⊕ pngfix ⊕ positioning ⊕ profiling ⊕ q ⊕ q.app ⊕ qemu ⊕ quality ⊕ reference ⊕ resources ⊕ rounded ⊕ roundedcorners ⊕ safari ⊕ scale ⊕ scaling ⊕ selenium ⊕ software ⊕ stylesheets ⊕ support ⊕ table-cell ⊕ target ⊕ test ⊕ testing ⊕ tips ⊕ tools ⊕ transparency ⊕ troubleshooting ⊕ tutorial ⊕ typography ⊕ ui ⊕ vertical ⊕ virtualization ⊕ vmware ⊕ web ⊕ webdesign ⊕ webdev ⊕ webfonts ⊕ width ⊕ window ⊕ windows ⊕ workaround ⊕Copy this bookmark: