Reply to Re: simple image + text CSS layout question

Your name:

Reply:


Posted by BootNic on 05/05/07 15:30

> Jonathan N. Little <lws4art@centralva.net> wrote:
> news: 47989$463a925f$40cba7aa$25648@NAXS.COM
> Ciaran wrote:
[snip]
>
> Need another DIV
>
> <div style="width:200px; background-color:#CCCCCC;">

It may be a good thing to set overflow:hidden; for times when
the text height may be shorter then the image.

<div style="width:200px; background-color:#CCCCCC;
overflow:hidden;">

> <img src="image.jpg" style="width: 65px; float: left;">
> <!-- set margin = width of image + right margin on image -->
> <div style="margin-left: 85px;">
> long text long text long text long text long text long text
> long text long text long text long text long text long text
> long text long text long text
> </div>
> </div>

--
BootNic Saturday, May 05, 2007 11:30 AM

A person without a sense of humor is like a wagon without springs,
jolted by every pebble in the road.
*Henry Ward Beecher*

[Back to original 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

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