Stubbornella » Blog Archive » Cross-Browser Debugging CSS
24 days ago by Aetles
I was helping Laura (a developer who works with me) learn about cross-browser debugging this week, which got me excited to share my process.
The first principal is simply:
Work with CSS, not against it.
CSS has an underlying design and when you work with it, with the natural flow of how CSS is meant to be used, you will find you have a lot less bugs. I learned CSS by reading the W3C specifications, which is why I began coding according to the language’s design, but however you learned it, you can pick up some of the key points involved.
The first thing I do is code to a good browser from the start. Our choice is Google Chrome, mainly because of the superior developer tools. When I have something working in Chrome and I am satisfied with it, I take a look at it in either Safari or Firefox.
If there is a discrepancy between these good browsers, chances are you are working against CSS. Do not try to hack around discrepancies between good browsers. Your goal is to figure out *why* it is being interpreted differently. Usually there is a very good reason.
browser
css
bug
The first principal is simply:
Work with CSS, not against it.
CSS has an underlying design and when you work with it, with the natural flow of how CSS is meant to be used, you will find you have a lot less bugs. I learned CSS by reading the W3C specifications, which is why I began coding according to the language’s design, but however you learned it, you can pick up some of the key points involved.
The first thing I do is code to a good browser from the start. Our choice is Google Chrome, mainly because of the superior developer tools. When I have something working in Chrome and I am satisfied with it, I take a look at it in either Safari or Firefox.
If there is a discrepancy between these good browsers, chances are you are working against CSS. Do not try to hack around discrepancies between good browsers. Your goal is to figure out *why* it is being interpreted differently. Usually there is a very good reason.
24 days ago by Aetles
javascript - ENTER key on a FORM with a single Input Field, will automatically SUBMIT with GET - Stack Overflow
january 2012 by Aetles
Why is it that a form with a single input field will reload the form when the user enters a value and presses the Enter key, and it does not if there are 2 or more fields in the form. I wrote a simple page to test this oddity.
If you enter a value in the second form and press Enter, you'll see it reloads the page passing the entered value as if you called GET. why? and how do I avoid it?
browser
javascript
js
forms
If you enter a value in the second form and press Enter, you'll see it reloads the page passing the entered value as if you called GET. why? and how do I avoid it?
january 2012 by Aetles
Reliable Cross-Browser Testing, Part 1: Internet Explorer - Smashing Magazine
september 2011 by Aetles
In a perfect world, cross-browser testing would be straightforward. We would download a legacy version of a browser, run it, and be able to instantly test our pages and scripts without a single care in the world. The reality of cross-browser testing, though, is very different. Issues such as runtime conflicts when running multiple versions of the same browser and inaccurate third-party testing tools mean we can spend hours just evaluating whether a testing set-up is anywhere near reliable.
I’m a user-interface developer at AOL (yes, we’re not dead yet!), and in this multi-part post I’ll take you through the exact set-up we use to accurately test content that will be potentially viewed by up to millions of users with a very diverse set of browsers. This set-up is similar to the one used by some of my colleagues at Opera, Mozilla and Google, so, fingers crossed, we’re doing this optimally.
A quick note before we begin. Setting up accurate testing for Internet Explorer as outlined in this post requires a bit of effort. So, please check your website analytics first to ensure that a sufficient number of IE users visit your website in the first place to warrant this effort.
browser
ie
testing
vmware
parallels
I’m a user-interface developer at AOL (yes, we’re not dead yet!), and in this multi-part post I’ll take you through the exact set-up we use to accurately test content that will be potentially viewed by up to millions of users with a very diverse set of browsers. This set-up is similar to the one used by some of my colleagues at Opera, Mozilla and Google, so, fingers crossed, we’re doing this optimally.
A quick note before we begin. Setting up accurate testing for Internet Explorer as outlined in this post requires a bit of effort. So, please check your website analytics first to ensure that a sufficient number of IE users visit your website in the first place to warrant this effort.
september 2011 by Aetles
Prototypes Bring your mockups to life
may 2011 by Aetles
Prototypes for Mac turns your flat mockup images into tappable and sharable prototypes that run on iPhone or iPod touch.
browser
ios
design
iphone
from instapaper
may 2011 by Aetles
Jeremy Smith?s blog: Success! IE 6, 7, and 8 Running on Same Machine (Plus 5.5 and 5.01)
march 2008 by Aetles
Hur man kör IE8, IE7 och IE6 samtidigt i en Windows-installation.
Windows;
Internet
Explorer;
web
development;
browser
Webbutveckling
march 2008 by Aetles
A re-introduction to JavaScript - MDC
july 2007 by Aetles
En bra genomgång av Javascript.
javascript;
webbläsare;
web
browser
Javascript
Programmering
july 2007 by Aetles
New Safari Stand features : journal : // hicksdesign
september 2004 by Aetles
Artikel om Stand för Safari
safari
web
browser
stand
Webbutveckling
september 2004 by Aetles
Copy this bookmark: