Mobile Web Best Practices 1.0
The World Wide Web Consortium (W3C) has recently published a document called Mobile Web Best Practices 1.0.
This document specifies Best Practices for delivering Web content to mobile devices. The principal objective is to improve the user experience of the Web when accessed from such devices.
It’s a good step toward making the Web accessible to millions of small screen devices, not blessed with a combination of iPhone’s hi-res LCD and a powerful Safari browser.
The document is available from W3C’s web site http://www.w3.org/TR/2008/REC-mobile-bp-20080729/
Fixing IE6/IE7 style issues
Check out Cascading Style Sheet Compatibility in Internet Explorer 7 article at MSDN.
It explains how to address IE7 compatibility issues in CSS.
In short, there were several bugs in CSS parser of IE6. Some CSS constructs (filters) that were applied by IE6 are ignored by IE7 and above - like “* html”. We could take advantage of these broken filters to create IE6-specific rules.
For example, first define a style that will look fine in IE7:
#box { top: 2px; }
then (below that rule in CSS file) use CSS filter “* html” to override it with IE6 style:
* html #box { top: 4px; }
This second rule will be ignored by IE7 and above, but will fix the problematic style in IE6.
There’s another approach to fixing IE6/IE7 issues - it’s conditional comments.
Consider the following code that should be placed in the HEAD section of HTML:
<!–[if IE 6]>
<link rel=”stylesheet” type=”text/css” href=”/css/ie6.css” />
<![endif]–>
The <!–[if IE 6]> and <![endif]–> tags are used to filter out content that will be parsed by IE6 browser only, any other browser will ignore anything that’s inside these tags.
For more info see About Conditional Comments on MSDN or more user-friendlier explanation at Quirksmode.
IRT.org Knowledge Base
IRT.org has a nice collection of FAQs on DHTML, JS, Java, CSS, etc.
Use CSS to create an image map
TechRepublic.com has an article on using CSS to create an image map. Nice and simple technique though it won’t work if you need to define complex shapes (like state boundaries on the map of USA, etc.).