The image of the bullet should be on the right side of the text. Right now, by default it is displayed on the left side of the page. How can i change this?
I have this CSS:
.landingpage ul{
list-style:none;
margin:0 0 1em 15px;
padding: 0;
list-style-position: inside;
}
.landingpage ul li{
line-height:1.3em;
margin: .25em 0;
padding: 0 0 0 15px;
background:url(../images/star.png) no-repeat 0 4px;
list-style-type: none;
}
.landingpage li ul{
margin:0 0 0 30px;
list-style:disc;
}
.landingpage li ul li{
padding-right:0;
background:none;
}
* html li{height: 1%;}
@media print{
.landingpage ul {
list-style:disc;
margin-right:30px;
}
.landingpage ul li {
padding-right:0px;
background:none;
}
}
This is my HTML:
<div class="landingpage">
<ul >
<li>מפחד מהמלחמה</li>
</div>
</ul>
source
share