title: CSS:Is it legal to place the style=""?
body: <pre><code>&lt;div style="margin-bottom:1em;"&gt;
      &lt;input type="submit" value="Guest Access" name="guest_login" class="buttonhmpg" style="width:115px;" style=""&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>We have "Guest Access" button on a page, based on configuration we are displaying the button, i mean in Configuration File if YES, then we will display the buttton, if NO then we will hide the button using CSS style <code>style=\"visibility:hidden\"</code>. but if i remove the <code>style=""</code> empty style tag, the configuration of displaying and hiding will not work. But if i remove <code>style=""</code>, then it will be displayed always.</p>
  
  <p>My Question is Is it legal to place the <code>style=""</code>? Is it beacause of this <code>style=""</code>, sometimes the Guest Access button
   is displayed and sometimes hidden?</p>