General XMetaL Discussion
can2000 May 24, 2014 at 12:00 am
How to show 2 element lines in the same line?May 24, 2014 at 12:00 amParticipants 1Replies 2Last Activity 8 years, 4 months ago
I am newbie to this Xmetal stuff, and might not describe the problem very clearly, but I am trying.
I tried to use :first-child as below code (to display “Accomplished SB:” for the first sb), but it didn't work somehow.
content: “Accomplished SB: “;
So, I used another way to work around. But I don't know how to display 2 elements data in the same line? please see the attachment for details.
Thank you!can2000 May 26, 2014 at 2:33 pm
Reply to: How to show 2 element lines in the same line?May 26, 2014 at 2:33 pmDerek Read May 26, 2014 at 9:11 pm
Reply to: How to show 2 element lines in the same line?May 26, 2014 at 9:11 pm
As “display:inline” is the default setting for all elements not setting any value for that property should give you the results you want.
Presumably the issue is that one of your elements has “display:block” or some other display value.
Note that as this is XML there is no concept ofor . The CSS used to render XML in XMetaL Author does not have any assumed rendering behaviour for any elements except HTML and CALS tables. Not that you actually haveand here, but in XMetaL Author both of those elements (and any other elements except HTML and CALS tables) will render using display:inline by default.
- You must be logged in to reply to this topic.