li::marker
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 3
- Joined: Tue Sep 09, 2025 11:17 am
li::marker
Hi,
I had enlarged li::marker in my CSS file into 1.5em. However, the content of the list goes down after I enlarged the bullet, do we have a way to let the bullet align with the content?
I had enlarged li::marker in my CSS file into 1.5em. However, the content of the list goes down after I enlarged the bullet, do we have a way to let the bullet align with the content?
Screenshot 2025-10-09 103528.png
Code: Select all
ul li::marker{
font-size: 1.5em; /* Increase bullet size */
}
You do not have the required permissions to view the files attached to this post.
-
- Posts: 717
- Joined: Wed Oct 16, 2019 3:47 pm
Re: li::marker
Post by julien_lacour »
Hello,
To keep the alignment, you should better use an image instead of the original disk:
With the following image for example:
Regards,
Julien
To keep the alignment, you should better use an image instead of the original disk:
Code: Select all
ul li::marker {
content: url("bullet.svg");
}
Code: Select all
<svg xmlns="http://www.w3.org/2000/svg" width="10px" height="10px">
<circle cx="5" cy="5" r="5" />
</svg>
Julien
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service