<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1025137" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1025137</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-troubles#comment-1153254</link>
    <description> &lt;p&gt;Now to preload your rollovers. &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;Glad you found it, it looks good!&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Jun 2004 15:22:35 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1153254 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-troubles#comment-1153236</link>
    <description> &lt;p&gt;Thanks again for your comments, I had not heard of the favlet, very interesting, but didn&#039;t help much.  I ended up going piece by piece through the code erasing things until I figured out what happened.&lt;/p&gt;
&lt;p&gt;The problem turned out to be in the CSS for the h1 tag:&lt;/p&gt;
&lt;p&gt;Before:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;font-family: Verdana, Arial, Helvetica, sans-serif;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size: 100%;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #fff;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:10px;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
After:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt; font-family: Verdana, Arial, Helvetica, sans-serif;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size: 100%;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #fff;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:10px;&lt;br /&gt;margin:0;&lt;br /&gt;text-align: left;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;This round has ended, css 0, me 1.&lt;/p&gt;
&lt;p&gt;Thanks again for your help!&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Jun 2004 07:56:12 +0000</pubDate>
 <dc:creator>clarke1866</dc:creator>
 <guid isPermaLink="false">comment 1153236 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-troubles#comment-1153174</link>
    <description> &lt;p&gt;Oh yes, much nicer to have links to the style sheets than having to go exploring for them, thank you. Now we need to train you to clearly comment your CSS &lt;em&gt;all the time&lt;/em&gt; so that we know what is where without having to refer directly to the HTML tree for every declaration... &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; At least your naming convention is nice and conventional, though. &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;
&lt;p&gt;A few tips that won&#039;t affect that space:&lt;/p&gt;
&lt;ul class=&quot;bb-list&quot;&gt;
&lt;li&gt;shorthand the hex values for colours -- #eeffee is equally written as #efe,&lt;/li&gt;
&lt;li&gt;shorthand the background properties OR use the specifics.&lt;br /&gt;
  e.g. background: Black; is bad -- it should be background-color: black;&lt;br /&gt;
  e.g. background-image: url(something) #000 no-repeat; is bad -- it should be background: url(something) #000 no-repeat;&lt;/li&gt;
&lt;li&gt;To avoid cross-browser issues with image locations, use url(/something) (with the forward slash) instead of just url(something).&lt;/li&gt;
&lt;li&gt;You can shorthand the margin/padding properties as such: margin: 10px 0; which will give 10px to the top and bottom and 0 to the left and right.&lt;/li&gt;
&lt;li&gt;Keep all HTML positioning OUT when using CSS positioning -- you have your body aligned in the HTML&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As for your specific problem, do you know how to make favelet?&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;javascript:var t=document.getElementsByTagName(&amp;#039;div&amp;#039;);for(i=0;i&amp;lt;t.length;i++){void(t[i].style.padding=&amp;#039;5px;&amp;#039;);b=t[i].id;h=t[i].innerHTML;void(t[i].innerHTML=&amp;#039;&amp;lt;p style=\&amp;#039;color:red;font-weight:bold;\&amp;#039;&amp;gt;&amp;#039;+b+&amp;#039;&amp;lt;/p&amp;gt;&amp;#039;+h);void(t[i].style.border=&amp;#039;2px solid red&amp;#039;);}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;make that a bookmark, and then call it for your page and you&#039;ll be able to see where all your divs with IDs are and how they are affecting things.&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Jun 2004 15:47:40 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1153174 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>CSS troubles</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-troubles#comment-1153134</link>
    <description> &lt;p&gt;Thankyou for your reply,&lt;/p&gt;
&lt;p&gt;Yes the code was a little shaky in that area.  I&#039;m new to both php and CSS and learning how to make things clean is tricky.  I&#039;ve cleaned up the code (both php and css) thanks to your comment, and the problem still persists.  Both the CSS and HTML validate, so nothing obviously wrong.  Yet still I have this band of background colour which stripes throught the header area when using firefox.  This does not appear when using IE.  I&#039;ve made some screenshots available to show what I see:&lt;br /&gt;
Firefox:&lt;br /&gt;
&lt;img src=&quot;http://www.maxpower.ca/images/firefox_css.jpg&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;br /&gt;
and IE:&lt;br /&gt;
&lt;img src=&quot;http://www.maxpower.ca/images/ie_css.jpg&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Here are the relavant CSS links if you&#039;d like:&lt;br /&gt;
&lt;a href=&quot;http://www.maxpower.ca/2c-hd-ft-fixed-presentation.css&quot; class=&quot;bb-url&quot;&gt;Style CSS&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.maxpower.ca/2c-hd-ft-fixed-layout.css&quot; class=&quot;bb-url&quot;&gt;Layout CSS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Even if you aren&#039;t sure, I&#039;m not even sure how to begin tracking this down...   Again, thanks for any help!&lt;br /&gt;
clarke&lt;br /&gt;
&lt;em&gt;Better living through &lt;a href=&quot;http://www.maxpower.ca&quot; class=&quot;bb-url&quot;&gt;MaxPower&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Jun 2004 09:25:35 +0000</pubDate>
 <dc:creator>clarke1866</dc:creator>
 <guid isPermaLink="false">comment 1153134 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-troubles#comment-1153027</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;div id=&amp;quot;hdr&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;padding:5px;font-size:13px;color:#fff;position: relative; left: 10pt; top: 100pt&amp;quot;&amp;gt;&lt;br /&gt;Better living through MaxPower.&lt;br /&gt; &amp;lt;a href=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;What the... ? Blank hyperlinks and line breaks for what reason? Span for what reason? For the sake of eyeballs looking and helping, you might want to ditch the redundancies and tighten up the code a little.&lt;/p&gt;
&lt;p&gt;You might want to look at the padding/margin declarations for the two divs on either side of the break for this problem. Padding/margin apply differently in IE than other browsers. It&#039;s usually IE5.5 that&#039;s the problem, but I&#039;ve found IE6 has equal issue with padding/margins.&lt;/p&gt;
 </description>
     <pubDate>Mon, 14 Jun 2004 15:36:20 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1153027 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
