HTML5 and CSS3, Second Edition

(singke) #1
document.createElement("header");
document.createElement("footer");
document.createElement("article");
document.createElement("aside");
</script>

<scriptsrc="javascripts/css3-multi-column.min.js"></script>
<![endif]-->

Refresh the page in Internet Explorer, and you’ll see your two-column
newsletter, as in the following figure.

Figure 14—Our Internet Explorer version works, but needs some minor adjustments.


Visitors without JavaScript will still be able to read the content as before, so
everybody wins.

Separating your content into multiple columns can make your content easier
to read. However, if your page is long, your users might find it annoying to
have to scroll back to the top to read the next column. Use this with care.

4.1 The Future


The things we talked about in this chapter improve the user interface; people
can still work with our products if their browsers don’t support these new
features, but the table won’t styled with stripes, the newsletter won’t be laid
out in multiple columns, and people will have to pinch and zoom on their

report erratum • discuss

The Future • 89


Download from Wow! eBook <www.wowebook.com>

Free download pdf