I couldn't find how to do this. I would like to put blocks horizontally. In other words, instead of vertically, in a row horzontally. Is there a module or way in Drupal to do this?

Thanks..gray97

Comments

nevets’s picture

Blocks go in regions so you can define the regions how ever you like. As an example here is a horizontal region called frontpage_horizontal

<div id="frontpage-horizontal-holder">
	<div id="frontpage-horizontal">
	 	<?php print $frontpage_horizontal ?>
	  </div>
	  <br class="clear" />
</div>

I then float the blocks so they come out horizontal. You will also want to set the width of the blocks.

hectorplus’s picture

Just wondering whre you got the code. And where can i learn more about how to create regions.
Thanx.

tecito.com


Comunidad Latina en Canada, regístrate ya! Join the growing latin community in Canada.

nevets’s picture

The code comes from a custom theme, you can learn more about regions in phptemplate at http://drupal.org/node/29139

gray97’s picture

Thanks a lot! I'll work on it today.

gray97