[Laszlo-dev] For Review: Change 20090507-hqm-x Summary: fix for DHTML IE: Context menus too wide
P T Withington
ptw at pobox.com
Thu May 7 11:41:37 PDT 2009
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
More information about the Laszlo-dev
mailing list