
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set Distance Between Marker and Text with CSS
The marker-offset property allows you to specify the distance between the marker and the text relating to that marker.
Example
You can try to run the following code to implement marker-offset property
<html> <head> </head> <body> <ul style = "list-style: inside square; marker-offset:3em;"> <li>UK</li> <li>US</li> </ul> <ol style = "list-style: outside upper-alpha; marker-offset:3cm;"> <li>UK</li> <li>US</li> </ol> </body> </html>
Advertisements