[Laszlo-dev] For Review: Change 20090507-hqm-x Summary: fix for DHTML IE: Context menus too wide
Henry Minsky
hminsky at laszlosystems.com
Fri May 8 14:11:37 PDT 2009
This however seems to work in IE7 to keep the horizontal rule to the width
of the text
<div id="lzcontextmenuie" style="float:left">
foo
<div class="separator"></div>
bar
</div>
On Fri, May 8, 2009 at 4:32 PM, Henry Minsky <henry.minsky at gmail.com> wrote:
> That works in every browser except for IE7 :-(
>
>
> On Thu, May 7, 2009 at 2:41 PM, P T Withington <ptw at pobox.com> wrote:
>
>> Believe it or not, I think you can say:
>>
>> <div style="display: table-cell">
>>
>> to get all the kludgesXXXXXXXfeatures of a table cell's layout in a plain
>> div. Why would you want to do this? Because the equivalent HTML tag may
>> have other default CSS properties associated with it that you do not want on
>> your div (like borders or margins, etc.)
>>
>>
>> On 2009-05-07, at 14:30EDT, Max Carlson wrote:
>>
>> Ah right. Fair enough...
>>>
>>> Henry Minsky wrote:
>>>
>>>> With a fixed width div, how would I decide what the width of the div is?
>>>> I'd need to measure the text manually of all the
>>>> captions? On Thu, May 7, 2009 at 2:12 PM, Max Carlson <
>>>> max at laszlosystems.com <mailto:max at laszlosystems.com>> wrote:
>>>> Would enclosing in a div with a fixed width do the job? Otherwise,
>>>> approved!
>>>> Henry Minsky wrote:
>>>> Change 20090507-hqm-x by hqm at badtzmaru.home on 2009-05-07
>>>> 12:51:20 EDT
>>>> in /Users/hqm/openlaszlo/trunk-diamond
>>>> for http://svn.openlaszlo.org/openlaszlo/trunk
>>>> Summary: fix for DHTML IE: Context menus too wide
>>>> New Features:
>>>> Bugs Fixed: LPP-8137
>>>> Technical Reviewer: max
>>>> QA Reviewer: andre
>>>> Doc Reviewer: (pending)
>>>> Documentation:
>>>> Release Notes:
>>>> Details:
>>>> + enclose DHTML context menu within a <table>, to prevent the
>>>> <hr> from expanding to
>>>> the width of the canvas in IE7.
>>>> Tests:
>>>> tested in FF/OSX, and IE7/WINXP DHTML
>>>> test/contextmenu/ie7.lzx
>>>> Files:
>>>> A test/contextmenu/ie7.lzx
>>>> M WEB-INF/lps/lfc/kernel/dhtml/LzContextMenuKernel.lzs
>>>> Changeset:
>>>> http://svn.openlaszlo.org/openlaszlo/patches/20090507-hqm-x.tar
>>>> -- Regards,
>>>> Max Carlson
>>>> OpenLaszlo.org
>>>> --
>>>> Henry Minsky
>>>> Software Architect
>>>> hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
>>>>
>>>
>>> --
>>> Regards,
>>> Max Carlson
>>> OpenLaszlo.org
>>>
>>
>>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090508/d19515db/attachment.html
More information about the Laszlo-dev
mailing list