I wanted to style the output of the code.
CSS:
.wrapper{
    width: 60%;
    right: 0px;
    min-height: 560px;  
    margin: 0px auto;   
    width: 500px;
    position: relative; 
}
HTML/PHP:
    <div class="wrapper">
    <?php if ($re) echo "welcome to
     thescrow $username,Your Registration was successfull"; ?>
    <?php } ?>
</div>
But the output is still plain. I don't see anything wrong. Kindly correct the code. I am new to all this and can't figure it out.
Edit: (full php)
<?php
//our included config file
include "config.php";
//check whether data with the name usename has been submitted
if (isset($_POST['username'])) {
    //variables to hold our submitted data with post
    $email = $_POST['email'];
    $username = $_POST['username'];
    $password = md5($_POST['password']);
        $hash=md5( rand(0,1000) ); 
    //our sql statement that we will execute
    $sql = "INSERT INTO `user` (`id`, `username`, `email`, `password`,`hash`) VALUES (NULL, '$username', '$email', '$password','$hash')";
    //Executing the sql query with the connection
    $re = mysqli_query($con, $sql);
    //Check to see whether request was true or false
    ?>
    <div class="to_register">
    <?php if ($re) echo "welcome to
     thescrow $username,Your Registration was successfull"; ?>
    <?php } ?>
</div>
 
    