Add display:block? Jörn
On Fri, May 29, 2009 at 4:26 PM, Ursidae <gmalc...@gmail.com> wrote: > > I must be missing something. > I created the following css > .placeholder{ > background-image: url(images/loading.gif); > background-repeat: no-repeat; > text-indent:-1000px; > } > > but that doesn't have any effect on the placeholder element that > flashes when the treeview node is expanding. > If I assign that class to a different element on the same page, I do > see the expected gif though. > > Not sure what I need to do next. > > On May 29, 2:08 am, Jörn Zaefferer <joern.zaeffe...@googlemail.com> > wrote: >> The placeholder-element has a class of "placeholder", you set a CSS >> background image for that. And use text-indent: -1000px to hide the >> text. >> >> Jörn >> >> On Thu, May 28, 2009 at 10:21 PM, Ursidae <gmalc...@gmail.com> wrote: >> >> > I am currently loading the TreeView asynchronously and I'm trying to >> > set it up so an animated gif displays while a node is being expanded >> > and its child nodes are being created. Currently it just says >> > placeholder until the child nodes are done loading. >> > Can anyone offer some suggestions as to how I can set that? >> > Thanks in advance. >