test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • James Weston Friend
    #154144

    Evening All,

    I have just created a google adsense module on my website http://www.vivaasiamagazine.com

    I note that the adverts does not sit centered in the space i have allocated. Can anyone advise what setting to change to make the ads appear centred?

    Many thanks,

    Jim

    gray Friend
    #354950

    Have you tried to add
    text-align: center;
    to the style declaration template.css?


    div.bannergroup_text div.banneritem_text {
    border-bottom:1px dotted #DDDDDD;
    padding:5px 0;
    text-align: center;
    }
    as an option you could create module's css and declare new style property for the div.

    smitheringale Friend
    #354954

    Text align center is a messy option I think

    Try putting it in a div tag and making the margins auto

    <div style=”margin:auto;”>
    YOUR GOOGLE ADSENSE STUFF
    </div>

    If needbe, add some width property like 300px or 70%

    <div style=”margin:auto;width:70%”>
    YOUR GOOGLE ADSENSE STUFF
    </div>

    <em>@gray 193259 wrote:</em><blockquote>Have you tried to add
    text-align: center;
    to the style declaration template.css?


    div.bannergroup_text div.banneritem_text {
    border-bottom:1px dotted #DDDDDD;
    padding:5px 0;
    text-align: center;
    }
    as an option you could create module's css and declare new style property for the div.

    </blockquote>

    James Weston Friend
    #354999

    Thanks, sorry where should I put this?

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  James Weston 14 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum