-
AuthorPosts
-
akwasi_c Friend
akwasi_c
- Join date:
- August 2008
- Posts:
- 124
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 10
- Thanked:
- 8 times in 1 posts
September 8, 2010 at 4:20 pm #154152I 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
akwasi_c Friendakwasi_c
- Join date:
- August 2008
- Posts:
- 124
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 10
- Thanked:
- 8 times in 1 posts
September 9, 2010 at 2:50 pm #355053Thanks 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 againDon Lee FriendDon Lee
- Join date:
- March 2010
- Posts:
- 923
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 41
- Thanked:
- 274 times in 238 posts
September 10, 2010 at 8:29 am #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 🙂 -
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by Don Lee 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum