Normally something like this will force the .free-entry
element onto a new line...
.free-entry:before {
content: '\A';
white-space: pre;
}
But I've run into a case where I can't get it to work.
I have an unordered list and within each li
there is a .free-entry
element. I'm trying to force the .free-entry
element onto a new line but with no luck...
li .free-entry:before {
content: '\A';
white-space: pre;
}
Normally display:block
would work just fine, but li
is display:table-row
so block doesn't work.
li {
display:table-row;
}
Here is a fiddle for more clarity.