test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • akwasi_c Friend
    #154152

    I created a “new module” created and the below code is it(I believe), I need to have this module centered in the middle of the webpage I DONT want it to align on the left
    Thanks

    <div id=”ja-containerwrap<?php echo $divid; ?>” class=”clearfix”>
    <?php if($this->countModules(‘newmodule’)) : ?>
    <div id=”ja-newmodule”>
    <jdoc:include type=”modules” name=”newmodule” />
    </div>
    <?php endif; ?>
    <div id=”ja-container” class=”clearfix”>

    Saguaros Moderator
    #355018

    You add the following code into the template.css file:

    #ja-newmodule {
    width:970px;
    margin:0 auto;
    text-align:center;
    }

    akwasi_c Friend
    #355053

    Thanks a lot for the information, and by changing the text-align, I can move it to the left,right,center. This is exactly how I want it. Well this gives me another idea because when I align it to either right/left I have a space on either side that I can use for another adv(I need to utilise all the space – lol)
    So how do I create another “module” that will be on the side of the “Newmodule”. If I use ‘newmodule’ again, it just put it on top of the first one. I need something like the “left and right” module positions
    Thanks once again

    Don Lee Friend
    #355102

    <em>@akwasi_c 193389 wrote:</em><blockquote>Thanks a lot for the information, and by changing the text-align, I can move it to the left,right,center. This is exactly how I want it. Well this gives me another idea because when I align it to either right/left I have a space on either side that I can use for another adv(I need to utilise all the space – lol)
    So how do I create another “module” that will be on the side of the “Newmodule”. If I use ‘newmodule’ again, it just put it on top of the first one. I need something like the “left and right” module positions
    Thanks once again</blockquote>

    Plz try this:


    #ja-newmodule {
    width:970px;
    margin:0 auto;
    text-align:center;
    float: left;
    }

    I believe I’ll work 🙂

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

This topic contains 4 replies, has 3 voices, and was last updated by  Don Lee 14 years, 3 months ago.

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