Jump to content

Search the Community

Showing results for tags 'lists'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 5 results

  1. 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.
  2. Hi Raw beginner here. I'm looking at <ul> and <ol> and wondering why there is a difference in how the style is coded in the examples given: <ul style="list-style-type:disc;"> <ol type="A"> Are these interchangeable or is there a reason why they're different? Thanks .
  3. I'm basically trying to replicate https://www.w3schools.com/howto/howto_js_filter_lists.asp but with multiple ULs rather than a single one. I've had no problem with the HTML/CSS adaptations, but am stuck on the JS. Can anyone help?
  4. sgt_spike

    list-style-image

    Can you change the size of the images you choose?
  5. So I have multiple divs each containing a list and the headers in each div, above the list are all at different y places. The lists with the most info have higher y positions and therefore are higher up on the page. How do I make it so the headers are in line with eachother? (If you copy this code, and add a heading and stuff you can open it up in firefox and see what im talking about) <style> h2{ text-decoration: underline; margin-top: -30px; } .anke{ display: inline-block; margin-left: 60px; font-family: corsiva; font-size: 20px; } .father{ display: inline-block; margin-left: 120px; font-family: corsiva; font-size: 20px; } .mother{ display: inline-block; margin-left: 120px; font-family: corsiva; font-size: 20px; } .brother{ display: inline-block; margin-left: 120px; font-family: corsiva; font-size: 20px; } .sister{ display: inline-block; margin-left: 120px; font-family: corsiva; font-size: 20px; } .others{ display: inline-block; margin-top: 20px; margin-left: 120px; font-family: corsiva; font-size: 20px; } </style> <body> <div class = 'anke'> <h2>Anke</h2> <ul> <li>Main Character</li> <li>Doesn't fit in with family</li> <li>Isn't abused</li> <li>Isn't loved</li> <li>Loves to play volleyball</li> <li>Is smart</li> </ul> </div> <div class = 'father'> <h2>Father</h2> <ul> <li>Abusive</li> <li>Moody</li> <li>Mood Swings</li> <li>Loves his wife</li> <li>Often drunk</li> </ul> </div> <div class = 'mother'> <h2>Mother</h2> <ul> <li>Sweet Mother</li> <li>Loves her children</li> <li>Takes care of husband</li> <li>Secretly scared</li> </ul> </div> <div class = 'sister'> <h2>Sister</h2> <ul> <li>Name is Yaicha</li> <li>Older Sister</li> <li>Likes makeup</li> <li>Constantly abused</li> </ul> </div> <div class = 'brother'> <h2>Brother</h2> <ul> <li>Name is Darren</li> <li>Older Brother</li> <li>Constantly abused</li> </ul> </div> <div class = 'others'> <h2>Other Characters</h2> <ol> <li>Angelina <ul> <li>Annoying 'friend' of Anke</li> <li>Very innocent</li> <li>Doesn't have a dad</li> <li>Likes Anke's dad (as a father)</li> </ul> </li> </ol> </div> </body>
×
×
  • Create New...