"hasLayout" can be triggered through css - no need to "polute" the
html with unnecessary attributes. :P
You can use a number of different approaches via css; setting a width
or height, floating an element... the list goes on. My favourite would
be using the MS proprietary "zoom" (only IE reads it):
#relative {
position: relative;
filter: inherit;
zoom: 1;
}
more info:
http://www.satzansatz.de/cssd/onhavinglayout.html
http://msdn.microsoft.com/en-us/library/bb250481%28VS.85%29.aspx
On Mar 28, 6:34 pm, Sanford Whiteman <[email protected]>
wrote:
> > Amazing. What on earth makes that work?
>
> · contenteditable=true gives the relatively positioned element layout,
> so it can accept filters, but it still won't get a filter applied
> unless you manually
>
> · filter: inherit
>
> -- S.
To unsubscribe from this group, send email to
mootools-users+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.