Reply to Re: A <div> to the right of a image

Your name:

Reply:


Posted by rf on 07/24/07 14:28

<vincent.marguerit@gmail.com> wrote in message
news:1185283011.619352.252970@k79g2000hse.googlegroups.com...
> Hi,
>
> I am working on a page where there must be some text to the right of
> an image.
> This is how this must look like:
> http://boxfly.free.fr/tmp/photo_preview/photo_border.jpg
>
> At this time I could have done this:
> http://boxfly.free.fr/tmp/photo_preview/photo.html
>
> To the right of the picture, I don't find a way to display the part of
> the text with the grey background.
>
> Does anyone know how to do this with <div> ?

Float the image left. If you want the nice borders then enclose the image in
a div, floated left, and style the div to taste.

Don't use absolute positioning, as in your latest incarnation. It *will*
break when somebody changes font size or something.

Also, don't try to make the font size 75% of what I like or I *will*
increase my font size. Your CSS is way too complex as well. You don't need
to specify all those default properties.

--
Richard.

[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

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