Blethen Maine Newspapers 2008 Standard Framework

Standard Image Widths

On the web, when a large word tries to wrap around an image in a confined space and it can't, it will drop down below the photo, resulting in awkward layout and unintended gaps. The problem might only be visible on some browsers, so you might not catch it when checking your pages.
Arbitrarily-sized photos:
placeholder photo Beginner gymnasts perform this Thursday at 7 p.m.
placeholder photo Intermediate gymnasts perform this Thursday at 8 p.m.

Images using the default uniform framework will be sized to allow large words to wrap well in most browsers/platforms.

Rule of thumb: don't set height or width for images. There's no point setting a width, because it will be reset by the stylesheet. If you set a height, you will be overruling the browser's proportional sizing (based on the width set in the stylesheet) and your image will appear disproportionate or "stretched."

Standard-size photos:
placeholder photo Beginner gymnasts perform this Thursday at 7 p.m.
placeholder photo Intermediate gymnasts perform this Thursday at 8 p.m.

There are three sizes for images: full-unit (default), "small" and "detail." "Small" dimensions are determined based on the size of the parent unit. For instance, a small image in a span-5 unit is 132 pixels wide, whereas a small image in a span-8 unit is 236 pixels wide. Detail images are 62px wide — the width of one column. Small or detail images can float left (text wrapping around the right) or float right (text wrapping around the left).

Common default image sizes in plain units:
span-2 136px | span-3 210px | span-4 284px | span-5 358px | span-6 432px | span-7 506px | span-8 580px

Common "small" image sizes in plain units:
span-2 38px | span-3 76px | span-4 118px | span-5 148px | span-6 177px | span-7 207px | span-8 236px

image with no class gets its own line
(no class)
image with small left class has text wrap on right
class="small left"
image with small right class has text wrap on left
class="small right"

Here's how a small, float-right image in a tinted span-5 unit should look in your code (below) and on your page (at right):

     <div class="unit span-5">
     <div class="tinted">
              <img src="gymnast.jpg" class="small right" alt="gymnast">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam.
              <div class="clear"></div>
     </div>
     </div>

placeholder photoLorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam.
© 2008 Blethen Maine Newspapers, Inc.