How can I let the <a>
tag vertical center to the <footer>
tag?
This below is my css:
.header-article-list a {
width:50%;
color: #000000;
}
.header-article-list .prev-btn {
float:left;
}
.header-article-list .next-btn {
float:right;
}
It did not let the <a>
tag vertical center to the <footer>
tag.
This is the <footer>
in browser:
This is the <a>
tag in browser:
This is the <span>
tag:
EDIT
I set css to below:
.header-article-list a {
overflow:hidden;
width:50%;
color: #000000;
}
.header-article-list .prev-btn {
/** float:left; **/
}
.header-article-list .next-btn {
/** float:right;**/
}
Get the below effect:
EDIT-2
There is text-align:center
inherit from header-article-list
, I uncheck it in browser: