advert 2 - banner - space

More
12 years 2 weeks ago #27305 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

Please Log in to join the conversation.

More
12 years 2 weeks ago - 12 years 2 weeks ago #27327 by ivan.milic
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
Last edit: 12 years 2 weeks ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.151 seconds
Powered by Kunena Forum