<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041173" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041173</link>
    <description></description>
    <language>en</language>
          <item>
    <title>I&#039;m working on a new drupal</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230357</link>
    <description> &lt;p&gt;I&#039;m working on a new drupal theme for my site and I use a logo instead of the h1 sitename, but I keep the h1 in the code and set it to display:none just in case someone wants to look at my site without the stylesheet. &lt;/p&gt;
&lt;p&gt;~silverwing&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 May 2008 06:15:35 +0000</pubDate>
 <dc:creator>silverwing</dc:creator>
 <guid isPermaLink="false">comment 1230357 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>... On a more serious(?)</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230208</link>
    <description> &lt;p&gt;... On a more serious(?) note, here&#039;s a practical example:&lt;/p&gt;
&lt;p&gt;CSS&lt;br /&gt;
p.ie-warning {&lt;br /&gt;
  display: none;&lt;br /&gt;
  _display: block;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;HTML&lt;br /&gt;
&amp;lt;p class=&quot;ie-warning&quot;&amp;gt;Your web browser sucks!&amp;lt;/p&amp;gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 17 May 2008 18:10:24 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1230208 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>webwiz wrote:
You could use</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230207</link>
    <description> &lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;webwiz&lt;/em&gt; wrote:&lt;/div&gt;You could use it to fix a lot of IE 6 bugs:&lt;/p&gt;
&lt;p&gt;* html body { display: none; }&lt;/p&gt;
&lt;p&gt;:D&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;That&#039;s what I use it for.... except, usually not in the body.... &lt;/p&gt;
&lt;p&gt;~silverwing&lt;/p&gt;
 </description>
     <pubDate>Sat, 17 May 2008 18:09:11 +0000</pubDate>
 <dc:creator>silverwing</dc:creator>
 <guid isPermaLink="false">comment 1230207 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>You could use it to fix a</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230203</link>
    <description> &lt;p&gt;You could use it to fix a lot of IE 6 bugs:&lt;/p&gt;
&lt;p&gt;* html body { display: none; }&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 17 May 2008 17:43:05 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1230203 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Here is something don&#039;t</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230194</link>
    <description> &lt;blockquote&gt;&lt;p&gt;Here is something don&#039;t display it but if X=Y display what was hidden.&lt;br /&gt;
 Why not just if X=Y display this-&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Because the HTML document retains its full content regardless of applying scripting and styling.  That some parts are not displayed (like a dropdown menu) is an extra feature.  I would think separating content from scripting is a better approach than mixing them.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;it isn&#039;t in the HTML unless you &quot;unhide&quot; it&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Actually, it is in the HTML whether the style is applied or not.  Styling does not affect the semantic structure of the document.  Neither does scripting in this case, supposing it doesn&#039;t modify the document tree beyond swapping the CSS properties.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 May 2008 22:08:42 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1230194 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>He&#039;s a strange little</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230193</link>
    <description> &lt;p&gt;He&#039;s a strange little character this display none!&lt;br /&gt;
So it&#039;s like not displaying something to then use JS or whatever to display it.&lt;br /&gt;
Seems like the wrong way to go about things to me.&lt;/p&gt;
&lt;p&gt;Here is something don&#039;t display it but if X=Y display what was hidden.&lt;br /&gt;
Why not just if X=Y display this-&amp;gt;&lt;/p&gt;
&lt;p&gt;As for SE&#039;s, I presumed it wont affect keywords unless you display it, as it isn&#039;t in the HTML unless you &quot;unhide&quot; it, and then it&#039;s just the same as having something there all along.&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 May 2008 20:44:41 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1230193 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I think the SE&#039;s apply the</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230192</link>
    <description> &lt;p&gt;I think the SE&#039;s apply the same rules they would to other text. If it&#039;s normal image replacement for headers, for example, then that&#039;s not a problem. If it looks like keyword spam then they would discount it.&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 May 2008 18:17:14 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1230192 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Mainly for conditional</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230191</link>
    <description> &lt;p&gt;Mainly for conditional display.&lt;/p&gt;
&lt;p&gt;You might want to show some element only when some event occurs (say, a drop-down element in a navigation menu).&lt;/p&gt;
&lt;p&gt;Or you might want to include text for screen readers or CSS-less browsers, in a manner analogous to the noscript tag.  Screen reader behaviour is flaky, though.&lt;/p&gt;
&lt;p&gt;Incidentally, I wonder if SEs still give any weight to text that isn&#039;t displayed.  Probably not, or much less than normal text.  Might be worth checking.&lt;/p&gt;
&lt;p&gt;It&#039;s also useful in development since you can turn on or off displaying some elements easily, rather than deleting or commenting out large parts of HTML code.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 May 2008 17:21:00 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1230191 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Often so you can dynamically</title>
    <link>https://www.webmaster-forums.net/webmasters-corner/css-display-none#comment-1230190</link>
    <description> &lt;p&gt;Often so you can dynamically re-show it using Javascript. (The best way to do this is to have it visible by default then hide onload with javascript)&lt;/p&gt;
&lt;p&gt;Sometimes so you can hide something in code outside of your control e.g. in CMS templates or in user stylesheets.&lt;/p&gt;
&lt;p&gt;Those are two that I use most often...&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 May 2008 17:20:43 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1230190 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
