define the distance between blocks in a particular region

Events happening in the community are now at Drupal community events on www.drupal.org.
itdrupal's picture

Hi all, how can i define via CSS the distance between the blocks in a particular region?
I know do it for each block
example

#block-views-nameblock-block_1 {
margin-top: 10px;
}

but i want do this for all blocks of the central region...
Thanks

Comments

Set margin and/or padding for

HFT's picture

Set margin and/or padding for each block, depending on what results you want.

i.e.

block-views-nameblock-block_1 {

margin-top: 10px;
margin-right:10px;
}

EDIT: Ignore that. Sorry, I misread that as you wanted to space the regions....

I'm sure that someone else could explain that better, as I haven't had to do that - I only have one block per region normally and I'll start a new region to stack them, as it keeps them aligned. i.e. http://www.highfrequencytraders.com/

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: