Currently, I am attempting to utilize the before selector in order to replicate some list item behavior for elements. Due to constraints where I cannot use list items, it is crucial that I find a way to make styles work effectively.
If you would like to see the issue firsthand, please refer to this fiddle: http://jsfiddle.net/7g6ncg7u/
.container {
width:300px;
}
.up:before{
content:'\25B2';
color:green;
padding-right:10px;
margin:1px;
}
.down:before{
content:'\25BC';
color:red;
padding-right:10px;
margin:1px;
}
The desired outcome is for the 2nd line of the 2nd span to align with the text above it, rather than starting at the beginning of the line as it currently does.