Re: How to do this TD trick with CSS
- From: dorayme <doraymeRidThis@xxxxxxxxxxxxxxx>
- Date: Fri, 02 Jun 2006 11:30:47 +1000
In article <97119$447f8ece$40cba7cf$9169@xxxxxxxx>,
"Jonathan N. Little" <lws4art@xxxxxxxxxxxxx> 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
.
- Follow-Ups:
- Re: How to do this TD trick with CSS
- From: Jonathan N. Little
- Re: How to do this TD trick with CSS
- References:
- How to do this TD trick with CSS
- From: Michael Laplante
- Re: How to do this TD trick with CSS
- From: Jonathan N. Little
- How to do this TD trick with CSS
- Prev by Date: Re: center/shrink to fit redux.
- Next by Date: Re: center/shrink to fit redux.
- Previous by thread: Re: How to do this TD trick with CSS
- Next by thread: Re: How to do this TD trick with CSS
- Index(es):
Relevant Pages
|