<?xml version="1.0"?>
<rss version="2.0">
 <channel>
  <title>Space between divs | WPDFD.com Forums</title>
  <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/</link>
  <description>A Layout forum thread at WPDFD.com</description>
  <language>en-us</language>
  <pubDate>11/22/04, 327 02 2004 2004:%i:1101157368 16:02:48</pubDate>
  <lastBuildDate>06/07/13, 158 23 2013 2013:%i:1370579020 00:23:40</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NineLabs Framework Feed Generator</generator>
  <managingEditor>sitemaster@wpdfd.com</managingEditor>
  <webMaster>sitemaster@wpdfd.com</webMaster>
     <item>
    <title>Schomer  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1611</link>
    <description><![CDATA[I have three divs, each with a background image, all inside a container div. I can't remember how to get rid of the space between these divs... I need them to be on top of each other with no space between, so the images line up.<br /><br /> &nbsp; &nbsp; &nbsp;#top_shadow {<br /> &nbsp; &nbsp; &nbsp;background-image: url(css_images/main_page_shadow/top.gif);<br /> &nbsp; &nbsp; &nbsp;background-repeat: no-repeat;<br /> &nbsp; &nbsp; &nbsp;background-position: center bottom;<br /> &nbsp; &nbsp; &nbsp;height: 19px;<br /> &nbsp; &nbsp; &nbsp;width: 712px;<br /> &nbsp; &nbsp; &nbsp;}<br /> &nbsp; &nbsp; &nbsp;#middle_shadow {<br /> &nbsp; &nbsp; &nbsp;background-image: url(css_images/main_page_shadow/middle.gif);<br /> &nbsp; &nbsp; &nbsp;background-repeat: repeat-y;<br /> &nbsp; &nbsp; &nbsp;background-position: center top;<br /> &nbsp; &nbsp; &nbsp;width: 712px;<br /> &nbsp; &nbsp; &nbsp;}<br /> &nbsp; &nbsp; &nbsp;#bottom_shadow {<br /> &nbsp; &nbsp; &nbsp;background-image: url(css_images/main_page_shadow/bottom.gif);<br /> &nbsp; &nbsp; &nbsp;background-repeat: no-repeat;<br /> &nbsp; &nbsp; &nbsp;background-position: center top;<br /> &nbsp; &nbsp; &nbsp;height: 26px;<br /> &nbsp; &nbsp; &nbsp;width: 712px;<br /> &nbsp; &nbsp; &nbsp;}<br />]]></description>
    <pubDate>11/22/04, 327 02 2004 2004:%i:1101157368 16:02:48</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1611</guid>
   </item>
     <item>
    <title>Jcadre  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1612</link>
    <description><![CDATA[The first thing I learned about &lt;DIV&gt; tags is that they necessarily CAUSE a break, so I don't believe there is any way to prevent a space between each. You did type that you &quot;can't remember&quot; how to do it, so perhaps there's a way I don't know of. That's highly possible.<br /><br />I would accomplish what you're trying to do with a table: 0 cell padding, 0 cell spacing, 0 border, 3 rows, 1 column, each row (cell) with an image for the background, which repeats within the cell by default.<br /><br />Hope this helps! &nbsp;:~}]]></description>
    <pubDate>11/22/04, 327 10 2004 2004:%i:1101168628 19:10:28</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1612</guid>
   </item>
     <item>
    <title>Schomer  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1613</link>
    <description><![CDATA[Hi, thanks for the table advice.<br /><br />I think there is something that can be done with padding to get rid of the space between divs. I'm plugging it in and not getting the results I'm looking for, so maybe I'm putting it in the wrong place...<br />]]></description>
    <pubDate>11/22/04, 327 30 2004 2004:%i:1101169810 19:30:10</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1613</guid>
   </item>
     <item>
    <title>Stan  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1614</link>
    <description><![CDATA[Try setting margin &amp; padding to 0. It depends on the browser. IE sometimes throws in margins that you didn't ask for. At no extra charge!]]></description>
    <pubDate>11/22/04, 327 27 2004 2004:%i:1101180425 22:27:05</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1614</guid>
   </item>
     <item>
    <title>Schomer  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1615</link>
    <description><![CDATA[Thanks for the suggestion!<br /><br />Strangely, the fix appears to be giving it a margin of 1px!<br /><br />Just when I think I understand some of this stuff, I run into something like this - which makes my head spin.<br /><br />Now, onto my investigation of inline tables - whatever that means. If anyone knows of a good resource about this, let me know. I noticed this was used for putting a border around an image, with four divs - one for each corner, around any size image. I want to know how it works, so off I go!<br /><br />Schomer<br />]]></description>
    <pubDate>11/23/04, 328 04 2004 2004:%i:1101186268 00:04:28</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1615</guid>
   </item>
     <item>
    <title>Mpj  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1616</link>
    <description><![CDATA[Schomer,<br /><br />Two ideas:<br /><br />1. You might try setting the border to 0 in addition to the padding and margin.<br /><br />2. You set the height and width of #top_shadow and #bottom_shadow but just the width for #middle_shadow. Is there any reason for this? If you can set the height for all three you can then use absolute positioning to line up the 3 images with no space between. The container div positioning will then dictate where on the screen your images are positioned.]]></description>
    <pubDate>11/23/04, 328 41 2004 2004:%i:1101224469 10:41:09</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1616</guid>
   </item>
     <item>
    <title>Jcadre  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1617</link>
    <description><![CDATA[You might also try an 'absolute top', which can prevent extra space being added. Not sure of the exact syntax.]]></description>
    <pubDate>11/23/04, 328 13 2004 2004:%i:1101226402 11:13:22</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1617</guid>
   </item>
     <item>
    <title>Ladynred  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1618</link>
    <description><![CDATA[I line up divs like this all the time with NO spacing problems. It would be more helpful if you would post your HTML as well as the CSS.<br /><br />I make it a habit to set margin and padding to zero for the &lt;body&gt; in my css, basically you want to clear the slate first. I also define the base font characteristics in the same body element of my css.<br /><br /><br />]]></description>
    <pubDate>12/01/04, 336 14 2004 2004:%i:1101917663 11:14:23</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p1618</guid>
   </item>
     <item>
    <title>Michael Bagge said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p2971</link>
    <description><![CDATA[Hi<br />
<br />
I&#39;ve just been there and solved it by setting margin-bottom: -2px;in the top div tag, and margin-top:-1px; in the bottom div tag. Try to work with that, it helped me!<br />
<br />
I saw the date after posting my answer, lol! But I guess there still need for answers about this topic!<br />
]]></description>
    <pubDate>09/28/09, 271 46 2009 2009:%i:1254177971 18:46:11</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p2971</guid>
   </item>
     <item>
    <title>Sabri Dino said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p3056</link>
    <description><![CDATA[<a href="http://www.yerindeegitim.com"> yerinde köpek egitimi</a><br />
<a href="http://www.askkervani.com"> ücretsiz arkadaşlık sitesi</a><br />
<a href="http://www.internetce.net">Web tasarımı</a><br />
<a href="http://www.partneriniz.net"> istanbul eskort</a><br />
<a href="http://www.kopekegitimi.tk"> kopekegitimi</a><br />
<a href="http://www.bayaneskort.tk"> bayaneskort</a><br />
<a href="http://www.logsistemleri.com"> 5651 sayılı yasa</a><br />
<a href="http://www.escortistanbull.com">escort girls istanbul<br />
</a>]]></description>
    <pubDate>10/25/09, 298 46 2009 2009:%i:1256499964 15:46:04</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/layout/space_between_divs/#p3056</guid>
   </item>
   </channel>
</rss