Search the Community
Showing results for tags 'linebreak'.
-
Dear all, Unfortunately I never learned programming properly, but I sometimes use XML to add custom content controls to Word documents and it is extremely useful to me. In Word I use the Developer > XML mapping pane - and the on the right side - XML mapping > Custom XML part to add my XML code (usually a simple .txt file) selecting the (Add new part...) from the dropdown list. Now say that I added the following code: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <XMLname xmlns="XMLID"> <item1>This is my custom XML part. It helps me greatly. I'd like to improve my knowledge and my codes.</item1> <item2></item2> </XMLname> So far so good, if I insert 'item2' as a Rich Text content control, it gives me an empty field I can freely edit. But here come my two problems: If I insert 'item1' as a Rich Text content control, it gives me a field filled with the text I set, and it will look like this: QUESTION 1: The above result is still useful (since I can edit the field as I see fit), but is there a way to add a line break? So, what I'd like to see is: Is there a simple way in XML to do this (without adding a new tag)? Something like the '\n' in HTML? QUESTION 2: Is there a simple way to make a list of the text? Again, like the <ul> tag in HTML, but without using additional tags. So for example And if there is a way, how can I add different list styles and subpoints to the points? Thank you all in advance, a simple answer to question 1 would help me a lot.
-
Hello, I have the problems that when i use a link in a w3css Navbar, the link is at the top of the bar. What i have when i write everything in a single entry: Code: <div class="w3-bottom" style="margin-right: 20%"> <ul class="w3-navbar w3-red"> <li> Powered by <a href="https://www.w3schools.com/w3css/" title="w3css"> w3css </a> and <a href="http://fontawesome.io" title="fontawesome"> fontawesome </a> </li> </ul> </div> What i have when i write it in single entrys: Code: <div class="w3-bottom" style="margin-right: 20%"> <ul class="w3-navbar w3-red"> <li> Powered by <a href="https://www.w3schools.com/w3css/" title="w3css"> w3css </a> and <a href="http://fontawesome.io" title="fontawesome"> fontawesome </a> </li> </ul> </div> What i will have: I hop you can help me //Cripi
-
I am creating a form that is captured and placed in an email. I have managed to do this fine with the exception of one item. when getting the value of a text area it will not maintain the user entered format. Thsi will be important when recieving the information in the email. what I need is this, when a user enters the below info in a textarea;---example---Reference line 1Reference line 2Reference line 3Reference line 4----------------- I need it to popluate in the email the same way. When I pull this infor like a normal input it comes out like this; Reference line 1Reference line 2Reference line 3Reference line 4 can anyone help? I am not able to use PHP in my environment I am working with, as I understand it now. I also do not know much about asp.net