Adding new Area / alignment

Permalink
Hi

Everytime I try to add a new Area within a header or main body of a site as in:

<div class="twelve columns">

<?php
$a = new Area('Name of this new section');
$a->display($c);
?>

</div>

no matter what theme I am trying to edit, I get alignment problems. Generally 10-20 pixel shift to the right in how it displays. What is causing this (style?) and how can I fix it?

thanks

Robert

 
hutman replied on at Permalink Reply
hutman
Can you provide a link to your site where this is happening?
Robert12345 replied on at Permalink Reply
Hi Hutman

Thanks for taking the time ...

http://s2000demo.co.uk/CAE/ is a temp development set of pages. you will see on the home page the block below the Nav Menu is shifted to the right a bit (same in Edit mode of course). To this block I have added a slider, 2 page dividers and a few lines of text within the dividers.

thanks

R
hutman replied on at Permalink Reply
hutman
Try putting another div around the outside of your twelve columns div with a class of row. So it would be like this

<div class="row">
<div class="twelve columns">
// area stuff in here
</div>
</div>
Robert12345 replied on at Permalink Reply
Oh Excellent!! Thank you.

Without being able to explain it in detail, it make sense to me in terms of it being within such a container.

Much obliged!

R