Link to home
Start Free TrialLog in
Avatar of David Schure
David Schure

asked on

Adding CSS to a button

I am trying add css to a button like I have on my other buttons.  Cannot find where to do this? Looked everywhere.
User generated imageTo get to the button...
https://arise.plus
Go to bottom of the page
Client Login
kevin@gmail.com
Test@123
MESSAGES
Select a message
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

try add the css like this:

<button class="btn3 float-left" onclick="removeThread(16)">delete message</button>

Open in new window


Avatar of David Schure
David Schure

ASKER

Hi Ryan, thank you.  One of the problems is that I cannot find the button! The button is attached to a record, but I cannot find where.
One of the problems is that I cannot find the button! The button is attached to a record, but I cannot find where.           

What button is that? You may want to check how that "button" is being created/displayed in your UI.
Ryan. delete message or delete reply  It seems to be generated when a record is generated.  But I cannot find where.
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you. Ryan. Thats it! You are a genius!  It has a class of "Posted" I can add the css to that.
echo '<td class="posted" id="btn3"><button onclick="removeThread('.$roomid.')">delete message</button>

Open in new window

#btn3 {
       border: 1px solid #2864a0;
      color: #2864a0;
        background-color:transparent;
      font-size: 16px;
        cursor: pointer;
      }

      #btn3:hover {
       background: #3881ca;
      color: white;
      }

Open in new window

.posted{
      width:22%
      text-align: left;
   }

Open in new window