One of the problems I encountered had to do with a TableOfContents.

In order to allow TOCs to appear side by side with commentboxes, the
TOC needs to get a float:left style.

However, this implies that all content coming after a TOC,  will
smoothly wrap around it.

The way to solve this, is to give a subsequent content a clear style.


The solution I propose is to give the header a clear:left  iso a clear:both.
That way the header will jump to the left margin, but still all
floated content at the right side.



dirk


On Sat, Sep 6, 2008 at 8:36 PM, Janne Jalkanen <[EMAIL PROTECTED]> wrote:
>
> Hmm... But it does create some annoying cases if you want to start your
> thing with a commentbox.
>
> Also, it creates problems if you want to create an illusion of a two-column
> layout with a sidebar running on the side.
>
> We *do* have the \\\ directive for forcing a clear:both.  Is the header
> clear really necessary?
>
> /Janne
>
> On 6 Sep 2008, at 14:30, Dirk Frederickx wrote:
>
>> Janne,
>>
>>
>> This is indeed intentional.  A header indicates a new section, and any
>> floating boxes from previous sections are aligned above the next
>> header.
>>
>> This implies that commentboxes of previous section will push the
>> header down, and not float around it.
>>
>> But commentboxes inside the section (i.e. after the header) will
>> nicely flow to the left.
>>
>>
>> I thought this clear:both rule was already introduced in v2.6, but I
>> could be wrong.
>>
>>
>> dirk
>>
>>
>> On Sat, Sep 6, 2008 at 12:38 AM, Janne Jalkanen
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> Don't know, it's the same script.
>>>
>>> BTW, I noticed that there is a clear difference between 2.6 and 2.8
>>> rendering - in 2.8, all the headings have clear:both.  Is this
>>> intentional?
>>> It screws up the %%commentbox and all stuff which wants to flow around
>>> things.
>>>
>>> /Janne
>>>
>>> On Sep 5, 2008, at 22:39 , Dirk Frederickx wrote:
>>>
>>>> Janne,
>>>>
>>>> Something seems to be wrong with the deployment of v2.8.0-beta-1 on
>>>> jspwiki.org.  The plain editor has not been updated properly. (I think
>>>> it is still the old jspwiki-edit.js ?)
>>>> The deployment of the sandbox is ok.
>>>>
>>>>
>>>>
>>>> dirk
>>>
>>>
>
>

Reply via email to