I have described the button in the css. And I need to embed a button, I do not understand how to do it. There is an attribute of button, but I tried to implement it, everything is empty.

button.new { display: inline-block; color: white; font-weight: 700; text-decoration: none; user-select: none; padding: .5em 2em; outline: none; border: 2px solid; border-radius: 1px; transition: 0.2s; } button.new:hover { background: rgba(255,255,255,.2); } button.new:active { background: white; } 
  echo("<div style=\"position: absolute; width: 100px; height: 50px; top: "); echo($i-20); echo("%;left:295px;"); <!--Здесь нужно внедрить кнопку --> echo("</div>"); 


Problem solved. Described the button in html using style.

    1 answer 1

    Doesn't such a string work?

     echo("<button class='new'>Скачать</button>"); 
    • Pasted your code. The button appeared, but the style itself did not apply. - Mursik
    • one
      Because you need to \ put before and after new - Pashok