I'm trying to make a simple page using widgets. All I want is to have 2 links on the page, one on each line. I'm using the <link> tag, which works for the links, but I don't know how to put a line break between them.
|
if you're using screen widgets, wrap it in a <container> tag
<container> <link ...> </container> --- aarbit <[hidden email]> wrote: > > I'm trying to make a simple page using widgets. All I want is to > have 2 > links on the page, one on each line. I'm using the <link> tag, which > works > for the links, but I don't know how to put a line break between them. > -- > View this message in context: > http://www.nabble.com/Placing-a-link-on-a-new-line-tf3686670.html#a10305513 > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
That didn't seem to work. Here's what I've got:
<widgets> <container> <link target="uploadUserDoc" text="Upload user documentation"/> </container> <container> <link target="uploadAdminDoc" text="Upload admin documentation"/> </container> </widgets> I've restarted OFBiz, and I'm still seeing the links on the same line.
|
What's the html output surrounding your links?
--- aarbit <[hidden email]> wrote: > > That didn't seem to work. Here's what I've got: > > <widgets> > <container> > <link target="uploadUserDoc" text="Upload user documentation"/> > </container> > <container> > <link target="uploadAdminDoc" text="Upload admin > documentation"/> > </container> > </widgets> > > I've restarted OFBiz, and I'm still seeing the links on the same > line. > > > > cjhowe wrote: > > > > if you're using screen widgets, wrap it in a <container> tag > > > > <container> > > <link ...> > > </container> > > --- aarbit <[hidden email]> wrote: > > > >> > >> I'm trying to make a simple page using widgets. All I want is to > >> have 2 > >> links on the page, one on each line. I'm using the <link> tag, > which > >> works > >> for the links, but I don't know how to put a line break between > them. > >> -- > >> View this message in context: > >> > > > > >> Sent from the OFBiz - User mailing list archive at Nabble.com. > >> > >> > > > > > > > > -- > View this message in context: > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
Here's the output:
<div class="contentarea"> Upload user documentation Upload admin documentation </div>
|
Free forum by Nabble | Edit this page |