Help With Button Sizing |
Help With Button Sizing |
English |
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 |
pandy |
Nov 21 2017, 12:19 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
With the CSS you have the text shouldn't wrap. My guess is that you have limited the width of the button by putting it in a container with limited width.
|
Darin McGrew |
Nov 21 2017, 10:19 AM
Post
#3
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Can you provide the URL (address) of a document that demonstrates the problem?
|
Lo-Fi Version | Time is now: 17th April 2024 - 07:22 AM |