Re: Creating a new element and inserting before an existing causes line breaks
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
On Mar 24, 9:19 pm, Jeremy L <[email protected]> wrote: > The resulting code: > > This is an example page where <a cisco_phone="Andy Feest" > href="#"><div style="background: transparent url(https:// > wwwin.laurenson.com/icon.gif) no-repeat scroll center; width: 13px; > height: 13px; -moz-background-clip: -moz-initial; -moz-background- > origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></ > div></a>Andy Feest</uid> should not be split... I don't quite get you. Did you try the construct in my post? Basically you need to make <a> position: relative and the <div>(or <span>) position:absolute.