Posted by dorayme on 06/02/06 01:30
In article <97119$447f8ece$40cba7cf$9169@NAXS.COM>,
"Jonathan N. Little" <lws4art@centralva.net> wrote:
> CSS:
>
> .pixbox { overflow: auto; }
> .pixbox IMG { display: block; float: left; margin-right: 1em; }
>
>
> HTML:
>
> <div>
> <img src="yourpix.jpg" alt="the pix">
> write stuff about your picture here...
> </div>
> ...
With some assumptions about referencing your classes in the html
(not in your snippet), the text wraps under the pic, is this what
is wanted? And the 1em had no effect in Safari?
What I had in mind in previous post was more like:
..pic {float:left;width:500px}
..picText {margin-left: 510px;}
<img class="pic" src="pics/northCoastCountryScene.jpg" alt="the
pix">
<div class="picText">write stuff about your picture here...</div>
--
dorayme
[Back to original message]
|