Sun, 25 Mar 2007 19:28:40 -0500 from JG <NoMail@NoSpam>:
I'm new obviously to html and I'm looking for a way
put an image on the right side of the page opposite
text on the left. How does one do this? I've heard
of text wrapping of an image but not sure if this is
what I really want, and further don't know how to do
that either.
Appreciate any info.
CSS is the answer. Really this should be done with classes and an
external style sheet, but here's a quick and dirty method.
Do you want the text to flow around the image?
<p>
<img src="..." height="..." width="..." alt="..."
style="float:right">
Text of paragraph
</p>
Do you want the image all by itself horizontally, with text resuming
after the bottom edge of the image?
<div style="text-align:right">
<img src="..." height="..." width="..." alt="...">
</div>
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec:
http://www.w3.org/TR/html401/
validator:
http://validator.w3.org/
CSS 2.1 spec:
http://www.w3.org/TR/CSS21/
validator:
http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you