CSS Image Style Test - Margins, Padding, Vertical Align
CSS Image Margin & Padding Properties Test




























CSS Image Text-align Property Test














Vertical aligned images with adjacent text using baseline default alignment - image width: 60px height: 100px
Only
images
are
styled
using
CSS
vertical
align
Vertical aligned images with adjacent text - vertical align image width: 60px height: 160px
Text
between
the
images
uses
the
base
alignment.
CSS Vertical-Align Image Control
As you can see by the demo, there exists quite a bit of versatility regarding vertical-align and images. The working XHTML 2.0 working draft actually places images into the Text module and states that there, they should be treated as inline text. It only follows logic, that if treated as text, images can, to at least a certain degree, be styled as text. Now, obviously, this is an over-simplification, but still, it should cause you to look at inline images in a bit different light. For more examples of image styles using vertical-align, select the Unordered List Item Marker Styles link listed below.
©2002 CSS Tutorials Index ::: Unordered List Item Marker Styles ::: BIG BAER Urban Alternative Music Magazine