Ne benim koduyla yanlış? Ben tıkladığınızda Göster / Gizle düğmesine hiçbir şey olmuyor.
<html>
    <head>
    <title>Test</title>
    <script type="text/javascript">
        function hidecontent(){
            document.getElementById("content").style.display = "none;";
        }
    </script>
    <style type="text/css">
        #content{
            border: 1px solid #003333;
            background-color: #000033;
            color: #ffffff;
            height: 500px;
            width: 500px;
            text-align: center;
            display: block;
        }
    </style>
    </head>
    <body>
        <form>
            <input type="button" value="Hide/Show" onclick="hidecontent()" />
        </form>
        <?php
            echo '<div id="content">Hello world!</div>';
        ?>
    </body>
</html>