You are here: Re: How to do this TD trick with CSS « HTML « IT news, forums, messages
Re: How to do this TD trick with CSS

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация