- Posts: 70
- Thank you received: 0
advert 2 - banner - space
-
mark2kooki
Inactive member -
Topic Author
- Member
-
Less
More
12 years 2 weeks ago #27305
by mark2kooki
advert 2 - banner - space was created by mark2kooki
hi
in a previous post i moved the menu below the logo
so now i have put advert 2 in its place - i created a banner and put the banner in there - i have given the banner a tag of header_ad
which has create the following code - when looking at source
<div class="cell mp_advert2">
<div class="cell_pad">
<div class="moduletable header_ad">
<div class="bannergroup header_ad">
<div class="banneritem">
<a href="/component/banners/click/2" target="_blank" itle="468 header test">
<img src=" yorkslincs.countyconferencing.net/images/adverts/468-x-60.gif " alt="468 header test"
width ="468" height ="60"/>
</a>
<div class="clr">
</div>
</div>
the problem is the banner is aligned at the top and i cant find a way to to centre
have tried various valign center, padding and margins in layout.css but nothing
can someone point me in the right direction please
in a previous post i moved the menu below the logo
so now i have put advert 2 in its place - i created a banner and put the banner in there - i have given the banner a tag of header_ad
which has create the following code - when looking at source
<div class="cell mp_advert2">
<div class="cell_pad">
<div class="moduletable header_ad">
<div class="bannergroup header_ad">
<div class="banneritem">
<a href="/component/banners/click/2" target="_blank" itle="468 header test">
<img src=" yorkslincs.countyconferencing.net/images/adverts/468-x-60.gif " alt="468 header test"
width ="468" height ="60"/>
</a>
<div class="clr">
</div>
</div>
the problem is the banner is aligned at the top and i cant find a way to to centre
have tried various valign center, padding and margins in layout.css but nothing
can someone point me in the right direction please
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 weeks ago - 12 years 2 weeks ago #27327
by ivan.milic
Replied by ivan.milic on topic advert 2 - banner - space
Clear offset in layout designer for that row before advert2 then add at bottom of template_css.css:
.mp_advert2 IMG{
margin-left:20px;
}
to fine center image. 20 is some example value
.mp_advert2 IMG{
margin-left:20px;
}
to fine center image. 20 is some example value
Last edit: 12 years 2 weeks ago by ivan.milic.
Please Log in to join the conversation.
Time to create page: 0.151 seconds