![]() |
![]() ![]() |
![]() |
English |
![]()
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 |
![]()
Post
#2
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 18,132 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 |
![]()
Post
#3
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 8,289 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 February 2019 - 07:09 PM |