-
AuthorPosts
-
ristovic Friend
ristovic
- Join date:
- October 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 24
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
April 6, 2009 at 7:54 pm #139993How to create a space between the modules (user11 – mod_globalnews, user10 – mod_gk_news_image_3 and user ja-news – mod_janews_fp)?
See picture…
Website: http://www.crnahronika.rs/Note – user10 and user11 new module are position and do not know how to define in CSS …
Thanks!
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
April 6, 2009 at 9:26 pm #300325<em>@ristovic 123051 wrote:</em><blockquote>How to create a space between the modules (user11 – mod_globalnews, user10 – mod_gk_news_image_3 and user ja-news – mod_janews_fp)?
See picture…
Website: http://www.crnahronika.rs/Note – user10 and user11 new module are position and do not know how to define in CSS …
Thanks!</blockquote>
Hi ristovic,
Just create a new wrapper:, for example, ch_wrap1 to user 11
<div id="ch_wrap1"><jdoc:include type="modules" name="user11" style="xhtml" />
</div>
Then add to the template.css
#ch_wrap1
{
margin: 10px 0px 10px 0px;
padding: 0;
}You can call the CSS tag anything you want do, provided what appears in the php script and the CSS file, are the same.
You can adjust the values for the margin or the padding to adjust the spacing..
margin: 10px 0px 10px 0px;
where the first value is “top“, 2nd is “right“, 3rd is “bottom” and 4th is “left“the same is true for the padding. Note: when you place numbers in the margin and padding — especially the “left” and “right” values, be sure you deduct the total values of the left and right from the maximum width allowed for the position content (e..g., size of your images), as well as the CSS tags specifications for your content.. Then reduce it a few px more.
If you break the max, either your image will not show, it may overflow to the next column or worse, it will break the layout of the page.
Cornelio
1 user says Thank You to cgc0202 for this useful post
ristovic Friendristovic
- Join date:
- October 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 24
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
April 6, 2009 at 11:15 pm #300337Solved!
cgc0202 thanks !!!AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by ristovic 15 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Create a space between the modules?
Viewing 3 posts - 1 through 3 (of 3 total)