Hi
I want to use only CSS and I want a button to appear on 2 lines as:
Please add to
Mailing List
My problem is that I want the background colour on the second line to be the same width as the background colour on the longer first line. At the moment, the background colour on the second line stops at the end of “List”.
I (hopefully) have attached an image of what I am after
Any help would be appreciated
.mailing-list a:link,
.mailing-list a:visited,
.mailing-list a:hover,
.mailing-list a:active {
background-color: #663300;
color: #FFFFFF;
font: “Courier New”, monospace;
text-decoration: underline;
}
<div class=“mailing-list”>
<a href=“mail_list.htm”> Please add to</br> Mailing List </a>
</div>