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

Posted by mbstevens on 01/10/07 05:00

On Tue, 09 Jan 2007 22:02:58 -0600, al jones wrote:

> Okay, take a look at aljones.us/vad.htm which is based on your latest.
>
> For each image I will probably have three different h3 / p pairs (the date
> and associated text). If it were to do what I'm trying to achieve, Your
> line 'Meyer quote' and my line 'heading test' would both be to the right of
> the (supposedly) associated image With the releated text immediately below
> them.
>
> Enclosing the image within the p associates it, seemingly, with only that
> paragraph and the following two paragraphhs fall beneath the image.
>
> If I'm not missing the obvious .... I *am* getting a royal headache.

Forget clear and float. You have enough inter-associations of information
to interpret it (*completely* correctly) as tabular data. Just do
all styling of your tables in CSS, not in the old style markup.

Whether you have multiple small tables or one big one depends on your
semantic intent -- just try to associate information in rational ways and
keep things as simple as possible.

You could also collect associated information in container div-s.

But depending of float and clear to provide the kinds of complex
associations you appear to want is shooting yourself in the foot.

 

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

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