[TYPO3-dev] indexed search: where is the css template?

Christopher bedlamhotel at gmail.com
Mon Mar 20 19:26:32 CET 2006


Hello again,

On 3/20/06, Robert Markula <robert.markula at gmx.net> wrote:
> Christopher wrote:
> (...)
> > a) clearing div (your method above, though the css should probably be
> > 'clear:both;')
> > b) ul.browsebox:after { content:"."; clear:both; } [simplified a bit
> > to make it clearer...]
> > c) overflow:auto;
> > d) ul.browsebox { float:left }
>
> e) clearing could happen on the result browser div:
> <div class="tx-indexedsearch-res">...</div> (In css:
> div.tx-indexedsearch-res { clear:both; }
>
> Would there be any objective against this?


Could you give a slightly bigger sample of the markup? :-)

I might have misunderstood, but I think that what you're suggesting
will not work since the float(s) that need to be cleared are INSIDE
the div. The 'clear' property works on floats that occur BEFORE the
floated element [1].

-Christopher

[1] http://www.w3.org/TR/CSS21/visuren.html#flow-control




More information about the TYPO3-dev mailing list