View your resized images through several
browsers to ensure acceptable results.
Using margins
You can offset images with surrounding whitespace by using the margin attributes. The amount of whitespace
around your image can be designated both vertically and horizontally through the vspace and
hspace attributes, respectively. These margin values are entered, in pixels, into the V Space and H Space
text boxes in the Image Property inspector.
The V Space value adds the same amount of whitespace along the top and bottom of your image; the H
Space value increases the whitespace on the left and right sides of the image. These values must be positive;
HTML doesn??™t allow images to overlap text or other images (outside of AP elements). Unlike in page layout,
negative whitespace does not exist.
The hspace and vspace attributes are deprecated in HTML 4.0. This means that, although
the attributes are currently still supported, another preferred method achieves the same effect
in newer browsers. In most cases, the margins should be implemented using Cascading Style Sheets,
described in Chapter 7.
Adding image descriptions
It??™s easy for Web designers to get caught up in the visual design of their Web pages; after all, designers can
devote hours to creating a single graphic or to perfectly positioning a graphic on the page relative to other
information.
Pages:
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657