title: How do I prevent users from removing display:none in source code?
body: <p>With some if/else PHP statement, I can show or hide some divs depending on if the profile page being checked out by a user belongs to that user or not.</p>
  
  <p>For instance, </p>
  
  <pre><code>$id = $_SESSION['id'];
  if ($uid == $id)
  {
  ?&gt;
  &lt;div id="block_user"&gt;&lt;/div&gt;
  &lt;?php }
  else { ?&gt;
  &lt;div id="block_user" style="display:none"&gt;&lt;/div&gt;
  &lt;?php
  }  ?&gt;
  </code></pre>
  
  <p>The issue is even if the profile I'm checking out doesn't belong to me, if I <strong>inspect the element</strong> with Google webmaster tool, and <strong>remove</strong> </p>
  
  <pre><code>style="display:none"
  </code></pre>
  
  <p>the div <strong>becomes visible again.</strong> </p>
  
  <p>How could I prevent that? </p>