Historical version 2 of Using Images (view current version)

How to put pictures in your pages on Grubstreet

It's very simple, and follows the traditional HTML way of doing things. Entering this:

<nowiki>Example Image</nowiki>

Will produce this:

Example Image

Note that the image has a thin black border (or should do; if you can't see it, your browser can't handle stylesheets properly). This is applied by default to make images look neater on the site. If the picture you're using already has a border, or a transparent background, you can turn the border off by inserting the phrase <nowiki>class="n"</nowiki> :

<nowiki>Example Image</nowiki>

produces:

Example Image

Please make sure that you always include ALT text for the image, so that people reading the site with text-only browsers aren't adversely affected.

=== Positioning ==

If you want the image to "float" on the left or the right of the page, you can use styling: simply enclose your image tag in the following tags:
<nowiki>

your image here
</nowiki>

Obviously, replace "right" with "left" if need be. Use the margin setting to adjust how much blank space to surround the image.

See also: Text Formatting Examples


This is version 2 (as of 2003-06-15 14:30:20). View current version. List all versions.