Posted by itdrupal on May 31, 2011 at 4:32pm
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
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/