<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1037708" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1037708</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216189</link>
    <description> &lt;p&gt;You will, just be patient...&lt;/p&gt;
 </description>
     <pubDate>Wed, 07 Mar 2007 02:22:54 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1216189 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216186</link>
    <description> &lt;p&gt;Thanks dude, it actually resembles a &lt;a href=&quot;http://www.jsworld.co.uk/rarefaction/&quot; class=&quot;bb-url&quot;&gt;website&lt;/a&gt; now &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;
&lt;p&gt;I managed to overcome the gap problem brtween the page content and footer by applying a padding of 5px to the bottom of the content-container instead of a margin. No idea why it needed that to work but it does so i&#039;m happy.&lt;/p&gt;
&lt;p&gt;I&#039;ll get the hang of all this one day &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>Tue, 06 Mar 2007 20:36:33 +0000</pubDate>
 <dc:creator>Monkeyboy</dc:creator>
 <guid isPermaLink="false">comment 1216186 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216184</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Monkeyboy;216161 wrote:&lt;/strong&gt; Renegade wouldn&#039;t contents 1,2 and 3 would need to be floated too or they&#039;re just going to stack up instead of be next to each other?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes, good spotting, they should be floated left. Glad to know you got it working in the end &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>Tue, 06 Mar 2007 19:36:45 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1216184 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216164</link>
    <description> &lt;p&gt;Cheers dude, could well be... I&#039;ve been chopping and changing left right and center trying to sort this page out. I was originally hoping to try out some new techniques (like the position attribute) with this site and get something a little more stable but it looks like it&#039;s come down to the same old formula again:&lt;/p&gt;
&lt;p&gt;1. Add Header div&lt;br /&gt;
2. Add content div filled with floating divs&lt;br /&gt;
3. Add Footer div&lt;br /&gt;
4. Spend 4 or 5 hours fudging about with margins and padding getting increasingly more annoyed.&lt;br /&gt;
5. Page magically works&lt;br /&gt;
6. Give up trying to understand why and just be glad that it does.&lt;/p&gt;
&lt;p&gt;Cheers for all the help. My PC would probably have gone out of the window if it wasn&#039;t for you guys &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>Tue, 06 Mar 2007 10:39:42 +0000</pubDate>
 <dc:creator>Monkeyboy</dc:creator>
 <guid isPermaLink="false">comment 1216164 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216162</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
Meh? I can&#039;t see where I don&#039;t have any close tags or improperly marked elements. The css file validated with the w3c validation tool too &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I looked at your css this morning and there were no &quot;;&quot; at all end of css properties block(the last one of the properties), now it does, so maybe you corrected it or it corrected itself with the edits......  glad to know you managed to fix the site...&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Mar 2007 09:37:29 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1216162 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216161</link>
    <description> &lt;p&gt;Hey thanks for all you help guys and excuse me if i&#039;m a bit slow... this css stuff confuses the hell outta me.&lt;/p&gt;
&lt;p&gt;Renegade wouldn&#039;t contents 1,2 and 3 would need to be floated too or they&#039;re just going to stack up instead of be next to each other? &lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;demonhale;216151 wrote:&lt;/strong&gt; Well your css dont have the close tags, and you improperly marked the elements at top, &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Meh? I can&#039;t see where I don&#039;t have any close tags or improperly marked elements. The css file validated with the w3c validation tool too &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/confused.png&quot; title=&quot;Confused&quot; alt=&quot;Confused&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Using a mixture of Renegades and Demonhales advice I&#039;ve done thus:&lt;/p&gt;
&lt;p&gt;Kept the content-container but brought the navigation div inside it.&lt;/p&gt;
&lt;p&gt;I&#039;ve floated everything inside the content-container left.&lt;/p&gt;
&lt;p&gt;Fiddled around with the div margins and added a 5px padding to the page &#039;wrap&#039; to give a black border around the whole page.&lt;/p&gt;
&lt;p&gt;This seems to work across all browsers except there&#039;s supposed to be a 5px margin between the bottom of the content and the top of the footer. Instead this varies from 0px in opera, 10px in FF and 5px in IE.&lt;/p&gt;
&lt;p&gt;The thing adding up my widths and left/right margins I get 750px but the &#039;wrap is also 750px AND has a 5px padding applied. Surely this means the stuff inside should only be able to add up to 740px?&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Mar 2007 09:25:33 +0000</pubDate>
 <dc:creator>Monkeyboy</dc:creator>
 <guid isPermaLink="false">comment 1216161 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216151</link>
    <description> &lt;p&gt;Well your css dont have the close tags, and you improperly marked the elements at top, that&#039;s why it won&#039;t push on top... Correcting this with proper nesting and floats could do the trick...&lt;/p&gt;
&lt;p&gt;A quick-fix would be to delete this div and it&#039;s closed element on your html here...&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;DIV id=navigation&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;Links and stuff&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;&lt;br /&gt;&amp;lt;strong&amp;gt;&amp;lt;DIV id=page-container&amp;gt;&amp;lt;/strong&amp;gt;&lt;br /&gt;&amp;lt;DIV id=scedule&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;Scedule&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;&lt;br /&gt;&amp;lt;DIV id=played&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;Latest results&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;&lt;br /&gt;&amp;lt;DIV id=roster&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;Roster&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;&lt;br /&gt;....&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum &lt;br /&gt;dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, &lt;br /&gt;sunt in culpa qui officia deserunt mollit anim id est laborum.&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;&lt;br /&gt;&amp;lt;P class=clear&amp;gt;&amp;lt;/P&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;/DIV&amp;gt;&amp;lt;/strong&amp;gt;&lt;br /&gt;&amp;lt;DIV id=footer&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;©2007 rarefaction.co.uk. All rights reserved.&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;&amp;lt;/DIV&amp;gt;&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
Then on your Css, Close all elements with the semicolon &quot;;&quot; and then float all elements left, since you floated some right... Like so:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#navigation {&lt;br /&gt;	MARGIN-TOP: 5px; BACKGROUND: #434343; &amp;lt;strong&amp;gt;FLOAT: left;&amp;lt;/strong&amp;gt; MARGIN-LEFT: 5px; WIDTH: 155px; HEIGHT: 250px&amp;lt;strong&amp;gt;;&amp;lt;/strong&amp;gt;&lt;br /&gt;}&lt;br /&gt;#page-container {&lt;br /&gt;	MARGIN-TOP: 5px; WIDTH: 150px; &amp;lt;strong&amp;gt;FLOAT: left;&amp;lt;/strong&amp;gt;&lt;br /&gt;}&lt;br /&gt;#roster {&lt;br /&gt;	BACKGROUND: #717171; &amp;lt;strong&amp;gt;FLOAT: left;&amp;lt;/strong&amp;gt; WIDTH: 190px; HEIGHT: 150px;FLOAT: left&amp;lt;strong&amp;gt;;&amp;lt;/strong&amp;gt;&lt;br /&gt;}&lt;br /&gt;#played {&lt;br /&gt;	BACKGROUND: #a9a9a9; &amp;lt;strong&amp;gt;FLOAT: left;&amp;lt;/strong&amp;gt; MARGIN-LEFT: 5px; WIDTH: 190px; MARGIN-RIGHT: 5px; HEIGHT: 150px&amp;lt;strong&amp;gt;;&amp;lt;/strong&amp;gt;&lt;br /&gt;}&lt;br /&gt;#scedule {&lt;br /&gt;	BACKGROUND: #717171; &amp;lt;strong&amp;gt;FLOAT: left;&amp;lt;/strong&amp;gt; WIDTH: 190px; MARGIN-RIGHT: 5px; HEIGHT: 150px&amp;lt;strong&amp;gt;;&amp;lt;/strong&amp;gt;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Mar 2007 02:21:16 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1216151 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216146</link>
    <description> &lt;p&gt;No one can really comprehend why IE does what it does. So, here is what I would probably be doing if I was making a similar layout as you:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;div id=&amp;quot;page-container&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;page-header&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;page-navigation&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;content-container&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;content1&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;content2&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;content3&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;And the CSS:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;body * {&lt;br /&gt;position:relative;&lt;br /&gt;margin:0;&lt;br /&gt;padding:0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#page-container {&lt;br /&gt;width: 590px;&lt;br /&gt;margin:0 auto;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#page-navigation {&lt;br /&gt;float:left;&lt;br /&gt;width:150px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#content-container {&lt;br /&gt;margin-left:155px; /* giving IE some extra space, but sometimes you can get away with an exact 150px */&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#content1, #content2, #content3 {&lt;br /&gt;width:30%; /* or (590px - 155px) / 3 */&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;As you can see, my approach is more or less the same as yours except I floated my navigation (sidebar) instead of my content.&lt;/p&gt;
&lt;p&gt;FYI, I think what demonhale means by &quot;double divs&quot; is &quot;nested divs&quot; which simply means a DIV inside another DIV, i.e. nested.&lt;/p&gt;
 </description>
     <pubDate>Mon, 05 Mar 2007 19:14:24 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1216146 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216143</link>
    <description> &lt;p&gt;Ok I freaking give up, why is it so messed up in IE!! I still can&#039;t get the content up under the header either  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/at-wits-end.png&quot; title=&quot;Mad&quot; alt=&quot;Mad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I could leard to hate html &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;[Edit]What?... my divs add up to a total width of 590 so why doesn&#039;t it fit in a container of the same width? Opera can do it, Firefox can do it... oh wait, Explorer says no. Apparently Bill thinks 587px = 590px *fumes*[/edit]&lt;/p&gt;
 </description>
     <pubDate>Mon, 05 Mar 2007 17:39:04 +0000</pubDate>
 <dc:creator>Monkeyboy</dc:creator>
 <guid isPermaLink="false">comment 1216143 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/position-problems#comment-1216130</link>
    <description> &lt;p&gt;Thanks guys that&#039;s fixed the css spelling mistakes, the overlap and the gap at the top now. &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;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;demonhale;216122 wrote:&lt;/strong&gt; And for that top elements of logo and header you don&#039;t need a position:absolute property there, you can just use double divs, or just add float:left; on head and logo properties...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;What do you mean by double divs? I&#039;ve floated the logo and banner divs left now which works fine but if double divs are a better option I&#039;ll go with that.&lt;/p&gt;
&lt;p&gt;I know where that huge gap at the bottom is from now though. its because of my relative positioning of the &#039;content&#039; div. If you look at that page now where I&#039;ve removed the position:relative, you can see the div is below the sidebar. By moving the div up with my relative positioning the &#039;original&#039; location still affects the &#039;container&#039; div the content is in. I&#039;ll have to wait until after work now to have a look at fixing that. &lt;/p&gt;
&lt;p&gt;It&#039;s still completely boned in IE however lol.&lt;/p&gt;
 </description>
     <pubDate>Mon, 05 Mar 2007 09:15:44 +0000</pubDate>
 <dc:creator>Monkeyboy</dc:creator>
 <guid isPermaLink="false">comment 1216130 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
