Web design creating cool web sites with html, xhtml, and css

Page 157

130

Creating Cool Web Sites with HTML, XHTML, and CSS

Figure 7-5: Top, middle, and bottom image alignment options.

More sophisticated alignment The three basic image-alignment options just discussed offer considerable control of graphic positioning, but they don’t enable you to wrap text around a graphic, either left or right, on the screen. To remedy this, some additional image alignment options offer much more control. But beware, they also make formatting more confusing because of the difference between alignment of the image and alignment of the adjacent material. These options are better demonstrated than discussed. The following example improves signifi­ cantly on Figure 7-5 by using both the alignment options, align=”left” and align=”right”: <h1>More about Winter Birds</h1>

<img src=”feeder.jpg” align=”left” border=”0” alt=”feeder” />

(align=”left”)

There are many birds that can visit your feeder

even in the middle of the coldest period, with

snow many inches thick on the trees. Three common

birds that we see here in Colorado during the winter

months are Winter Wrens, Barrow’s Goldeneyes, and Yellow-Bellied

Sapsuckers.

<br clear=”all” /><hr />


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.