[opencms-dev] Direct edit button position problem

Alexei Shigaeff shigaeff.alexei at gmail.com
Wed Dec 4 21:00:11 CET 2013


it is ordinary behavior.
try table tag (for test)

<cms:contentload collector="singleFile" param="%(opencms.uri)"
editable="true">
<table><tr><td>1111111</td></tr></table>
</cms:contentload>

I discover that's need to define (whith tag <div>) min-height: 25px;
just like this:

<cms:contentload collector="singleFile" param="%(opencms.uri)"
editable="true">
<div style="min-height: 25px;">1111111</div>
</cms:contentload>

and happy comes again



2013/12/4 Yang Alex Liu <yangliu at thoughtworks.com>

> Hi,
>
> When I use multiple contentload tags in a jsp file, the direct edit
> buttons will be overlap together.
>
> Below is my jsp code:
>
> ...
> <cms:contentload collector="singleFile" param="%(opencms.uri)"
> editable="true">
> 1111111
> </cms:contentload>
>  <cms:contentload collector="singleFile" param="%(opencms.uri)"
> editable="true">
> 2222222
> </cms:contentload>
> <cms:contentload collector="singleFile" param="%(opencms.uri)"
> editable="true">
>  3333333
> </cms:contentload>
> ...
>
> Below is the final html of direct edit buttons:
> <div class="GME5ITVBIOB GME5ITVBMOB GME5ITVBC4B" style="right: 255px; top:
> 1263px;">...</div>
> <div class="GME5ITVBIOB GME5ITVBMOB GME5ITVBC4B" style="right: 255px; top:
> 1263px;">...</div>
> <div class="GME5ITVBIOB GME5ITVBMOB GME5ITVBC4B" style="right: 255px; top:
> 1263px;">...</div>
>
> You can see there are three direct edit buttons with the same right and
> top. Can anyone let me know if I make some mistake or how to fix this?
>
> Thanks!
> --
> *Yang Liu*
>
> Consultant | *Thought*Works
>
> Mobile: +86 186 8378 0863 (China)
> Blog: zation.me
> Gtalk: zation1 at gmail.com <mingjin.cn at gmail.com>
> Skype: zation5
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20131205/a0b22d74/attachment.htm>


More information about the opencms-dev mailing list