How can i format ul / li tags in css?
I'm not sure if it's possible to even format this. But here goes.
"_" represent empty space .
when i make a list on the web, it looks like this
But i would like the sub text to flush closer to the main text above it. Like so:
Is there anyway of implementing this in css?
I was told by adding would help but it didin't work for me.
Any advise is appreciated :)
I'm not sure if it's possible to even format this. But here goes.
"_" represent empty space .
when i make a list on the web, it looks like this
Code:
-main text (ul)
- sub text (li)
- sub text (li)
Code:
-main text - sub text - sub text
I was told by adding would help but it didin't work for me.
Code:
padding-left: 0.5em;
Comment