Posted by gray97 on September 20, 2006 at 3:07am
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
I have done it this way
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.
Just wondering whre you got
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.
- Hectorplus Web Design
- Jobs in Canada for Latinos
The code comes from a custom theme
The code comes from a custom theme, you can learn more about regions in phptemplate at http://drupal.org/node/29139
Thanks a lot! I'll work on
Thanks a lot! I'll work on it today.
gray97