How to move block left to right

Magento is flexible for move blocks from one position to other. its very easy to move block using XML.

if you want to move any block from left to right then you just need to change name=”left” to name=”right” Below is example code.

<reference name="right">
    <block type="cms/block" name="sample_block" before="-">
        <action method="setBlockId"><block_id>sample_block</block_id></action>

Here is in example have set name=”right” that means this block display in right side.