If you are using a DOCTYPE* (most HTML editors do so by default), this type of thing works well:
HTML Code:
<div id="Book" style="position:relative;width:404px;height:152px;margin:0 auto;">
<img src="placeholder.gif" width="404" height="152" />
</div>
The above uses the existing id="Book" division's style to center the slideshow. Notice that the width and height properties of the division are set to the width and height attributes of the placeholder image. These must be calculated using the formula listed on the demo page:
placeholder width: 2*book image width+4
placeholder height: book image height+2
*EXAMPLE DOCTYPE:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
It must be the very first thing on your page before the (also shown) opening <html> or <HTML> tag. As I said, most HTML editors put one of these in automatically.
Bookmarks