Reply to Re: 2 problems with CSS

Your name:

Reply:


Posted by Frogleg on 08/10/05 15:31

On Tue, 9 Aug 2005 04:23:56 -0700, Neredbojias
<neredbojias@neredbojias.com> wrote:

>With neither quill nor qualm, Frogleg quothed:
>
>> Please see
>>
>> http://home.earthlink.net/~absolutelyfake/test.htm
>>
>> How do I shove the house picture to the right edge of the white area?
>> (Without absolute positioning)
>>
>> Where is the proper way to horzontally center the white <div>?
(code snipped)

><div style="margin:auto;background-color: white; width:
>700px;height:148px">
><img style="float:left" src="blugrnlogo.gif" width="248" height="148"
>border="0" alt="">
>
><img style="float:right" src="red3a.jpg" width="362" height="148"
>border="0" alt="">
></div>

Interesting. That does it, f'r sure. I'd tried 'float: right' with the
2nd image, but not floating both of them. My Pocket Reference has such
dire predictions around 'float' that I try to avoid it if I can.
Anyhow, thanks.

[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

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