The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Help With Button Sizing
English
post Nov 20 2017, 02:17 PM
Post #1





Group: Members
Posts: 1
Joined: 20-November 17
Member No.: 26,540



I have the following code in my CSS for a button.

button {
background-color:#005100;
border-radius:28px;
border:3px double #FAFAF9;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:16px;
padding-top:3px;
padding-right: 8px;
padding-left: 8px;
padding-bottom: 3px;
text-decoration:none;

}

My text is wrapping and I don't want it to. So how can I either specify the fixed width or make the text not wrap?
Thanks
Alan
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 04:25 PM