<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1019714" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1019714</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/div-vs-span#comment-1118871</link>
    <description> &lt;p&gt;By setting a background color for a DIV, the effect will be similar to that of setting the background color for a tablecell. Doing the same for SPAN will only set the bgcolor to the text, and not one pixel more/less.&lt;/p&gt;
 </description>
     <pubDate>Mon, 18 Nov 2002 00:10:14 +0000</pubDate>
 <dc:creator>troworld</dc:creator>
 <guid isPermaLink="false">comment 1118871 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/div-vs-span#comment-1118853</link>
    <description> &lt;p&gt;Try out:&lt;/p&gt;
&lt;p&gt;for div:&lt;br /&gt;
&lt;a href=&quot;http://www.zacker.com/10minguide/l06-1.html#Heading3&quot; class=&quot;bb-url&quot;&gt;http://www.zacker.com/10minguide/l06-1.html#Heading3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and &lt;/p&gt;
&lt;p&gt;for span:&lt;br /&gt;
&lt;a href=&quot;http://www.zacker.com/10minguide/l06-1.html#Heading4&quot; class=&quot;bb-url&quot;&gt;http://www.zacker.com/10minguide/l06-1.html#Heading4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps. If you have more specific questions then feel free to ask.&lt;br /&gt;
-dk&lt;/p&gt;
 </description>
     <pubDate>Sun, 17 Nov 2002 20:42:09 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1118853 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/div-vs-span#comment-1118852</link>
    <description> &lt;p&gt;No link, but this is pretty basic.&lt;/p&gt;
&lt;p&gt;DIV is a block level element, as noted above. So is P, and TABLE. There are some special circumstances, but you can put P and TABLE into DIV, and DIV into TABLE, but not DIV into P (and P into TABLE, hygiene issues aside... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;).&lt;/p&gt;
&lt;p&gt;SPAN is an inline level element, like STRONG, A, EM, the deprecated B and I. It is meant to be used within P, TABLE, DIV but can NEVER EVER hold P, TABLE, or DIV.&lt;/p&gt;
&lt;p&gt;Other than that, use them wherever, and however, you please.&lt;/p&gt;
&lt;p&gt;Good convention indicates that DIV is used to contain discrete sections of the content (and can be nested, wheresas P cannot be). SPAN can also be nested, but if you find you&#039;re doing that a lot you may want to rethink your logic re: layout and markup.&lt;/p&gt;
 </description>
     <pubDate>Sun, 17 Nov 2002 20:41:46 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1118852 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
