On Mon, May 16, 2011 at 4:18 PM, Jarek Foksa <[email protected]> wrote:
> All browsers are ignoring inline styles if they were applied to
> elements that belong to custom XML namespace. For example, in the code
> below "left: 0px" and "left: 50px" styles won't be applied to tab
> elements:
>
>    <widgets xmlns="http://my-custom-namespace.org/";>
>      <tab style="left: 0px">Tab 1</tab>
>      <tab style="left: 50px">Tab 2</tab>
>    </widgets>
>
> What would be the best way to work around this limitation?

Will this technique (document.createElement("tab")) work for you?

http://ejohn.org/blog/html5-shiv/

Steve

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to