How to add space between DIVs?

Put in your css access { margin-bottom: 5px; /* or whatever */ }.

Put in your css #access { margin-bottom: 5px; /* or whatever */ }.

Margin:0 auto 5px in this case (since there already is a margin:0 auto declaration present). – Å ime Vidas May 5 at 17:05 Those two are very well combined. It doesn't matter if they're 2 properties (being margin first and margin-bottom after).

– Rudie May 5 at 17:07 @Å ime Vidas: Using just margin-bottom leave the other margin eventually set into other css untouched. – Eineki May 5 at 17:10.

Add a margin-bottom to the div with id "access.

I added margin-top: 5px on the element inside the div and it work. If you could add an id to the div you use this css rule: div#adds > ins{ margin-top: 5px; }.

Child selectors (>) don't work in IE6. This may or may not be an issue, depending on the OP's support needs, but something to keep in mind. – Shauna May 5 at 17:14.

Your #access div has float:left; on it, so you will need to add clear:left (or clear:both) on the div containing the ad, so they don't overlap. If you look at your page with Firebug, or the developer tools in your favorite browser, you can see that your ad div actually sits above and layered below your header divs, and when you add clear: both, it will move down to where it should be.

This way the header float (if it had a float) is cleared and the Ad div below should now utilise the padding.

I want to create some white space between the header and the AdSense ad. I've tried adding margin-top and padding to the div that contains the AdSense ad (as noted below) - all to no avail. What do I have to do provide some white space between the header and the AdSense ad?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions