Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2023, 03:27 PM
Journeyman Journeyman is offline HTML sub lists Windows 10 HTML sub lists Office 2019
Novice
HTML sub lists
 
Join Date: Feb 2023
Posts: 15
Journeyman is on a distinguished road
Default HTML sub lists

Hi all,



I'm plopping this question in misc, since I'm not sure where else to ask.

My project is to transfer *.HTM files into word. the feature works well, and is understood. Im using classes to tell the word side what styles to use.

My question is in relation to the webbrowser side,

How can I use HTML to describe a list | sub list | sub list, for example

Code:
1. My List 1
    1.1 Sub List 1
    1.2 Sub List 1
    1.3 Sub List 1
2. My List 2
    2.1 Sub List 2
    2.2 Sub List 2
    2.3 Sub List 2
...etc
This doesn't do it naturally.
Code:
<OL>
<Li>My List 1</Li>
<OL>
<Li>Sub List 1</Li>
</OL></OL>
I've read that you can do something in the <OL Something=Something>, but I have no idea what that would be.

Alternatively, I've read that you can do something with CSS, but I have no idea how to to apply a CSS to a webbrowser - and google isn't being very helpful.

Any hints and tips would be appreciated.

Cheers
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing two lists and extracting values missing from both lists Dave T Excel Programming 4 11-01-2018 11:51 PM
Creating global contact lists (distribution lists) Outlook 2011 Mac pengyou Outlook 0 09-10-2016 02:18 PM
HTML sub lists From .doc file lists to .html file lists xuki Word VBA 1 02-23-2016 01:40 PM
HTML sub lists I want to create a lists within lists (nested merges) AndyS Mail Merge 10 12-11-2015 03:05 PM
Can you actually write HTML and CSS in a word document and send it as an html page jackaroo Word 0 07-12-2010 07:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft