Such a question I am doing a log.php page. Logs should come to it. Well, the problem is that such information comes in solid text and not in (column, column) and is located not in the center. Help will be added. I will be very grateful for the page code ...

<center> <b><font color="Green">Лог Действий</font></b><br> <hr> <input type="button" value="Обновить" onClick="window.location.reload( true );"> </center> 
  • 1) Use tables (better try to make a couple of tables yourself, handles), 2) Do not use junk (eg center , font tags, etc.) - Smash
  • 3) DO NOT use tables if this is not tabular data and a few more critical cases. - zloctb

1 answer 1

Create a block on the page and set styles for it.

 <body> <div class="wrapper"> <p><b>Лог Действий</b></p> <input type="button" value="Обновить" onClick="window.location.reload( true );"> </div> 

CSS:

 div.wrapper{margin:0 auto;width:780px;} p{color:green}