Hi,
I've added an additional module position above the footer and I've moved the existing Advertisement module to that position. I've alse duplicated the .footerbg2 style and applied it to the section. I know this style is affecting the required area because I've increased the Height to 85px to accomodate regular banners.
My question is I can't get the banner to center across that enitre width of the page, the edges being the left of the login link and the right of the copyright text.
I don't know enough about CSS and I've tried adding "text-align: center" in various places to no effect.
If someone can tell me what code to put where I'd appreciate it.
Regards, David.
Try
that should work for Internet Explorer.Code:*{ text-align:left; } body{ text-align:center; }
Other browsers only need on the div.
Code:margi:n 0 auto;
Hi, thanks for your response but neither of these work - although I may be putting them in the wrong place.
This is the HTML for the section concerned:
This is the CSS from the template.css file for the banner container:Code:<div class="footerbg"> <div class="container"> <div class="footerbg2"> <jdoc:include type="modules" name="user3" style="XHTML" /> </div> </div> </div>
Please recode the correct section to perform the centering.Code:.footerbg2{ width: 100%; color: #888; border-top: 3px solid #EEE; padding-top: 10px; margin-top: 10px; height: 85px; }
Regards, David.
Well I've got it working by putting the banner code itself inside
Probably not the best way but it works.Code:<p align="center"> </p>
There are currently 1 users browsing this thread. (0 members and 1 guests)