I want to make each one of these element is different line, without using
in HTML, is block element but I have to fix its
Start by removing float: left
from h1
.
Then add the rule:
a.view-options {
display: block;
}
This is the way that works for me.
p.autonewline {white-space: pre-line;}
Make the anchor tags block elements as well.
Take float off the h1 tag and make a tags' display: display: block;
Alternative way:
Remove float:left;
in h1
and display: inline-block;
in a.view-options
Then add
h1:after, a:after {
content:"\a";
white-space: pre;
}
See http://jsfiddle.net/8my6q/
Use CSS to make the anchor link tags blocks:
a.view-options { display: block; }