You are here: Re: 'clear' help needed « HTML « IT news, forums, messages
Re: 'clear' help needed

Posted by al jones on 01/07/07 18:33

On Sun, 07 Jan 2007 15:32:50 GMT, mbstevens wrote:

> On Sat, 06 Jan 2007 21:24:21 -0600, al jones wrote:
>
>> I already know this displays improperly in FireFox. One problem at a time,
>> please.
>>
>> The problem I'm asking for help with, specifically, is best demonstrated in
>> http://aljones.us/630817vad.html I've introduced a 'clear left' into the
>> css because the images of the diary entries, where longer than the
>> assiciated text, would force the next image to the right. I inserted a
>> clear left to the <p> tag, which gives me the display you see now.
>>
>> Obviously <hah??> what I'd like to see is the image on the left, with the
>> associated text to the right. If the image is longer, then force the
>> following image / text pair down until the image places itself properly to
>> the left.
>
> p img {clear: left; } might be what you're looking for?
> Browser support for clear is not universal. I try to avoid it when
> possible.

I read that as doing a clear left for each p or img, is that correct??

As the pages are currently laid out I have an h2 followed by an <h3>
followed by a <p> which are (probably repeated for different dates on the
same page). Your solution to this would be ....?? because I obviously
don't know what I'm doing with it.

//al

 

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

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