+ Post New Thread
Results 1 to 4 of 4
EduGeek Joomla 1.5 Package Thread, Banner advert positon in Projects:; Hi, I've added an additional module position above the footer and I've moved the existing Advertisement module to that position. ...
  1. #1

    Join Date
    May 2008
    Location
    Basingstoke
    Posts
    21
    Thank Post
    0
    Thanked 2 Times in 1 Post
    Rep Power
    14

    Banner advert positon

    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.

  2. #2

    Join Date
    Sep 2009
    Posts
    47
    Thank Post
    6
    Thanked 11 Times in 10 Posts
    Rep Power
    12
    Try
    Code:
    *{
    text-align:left;
    }
    body{
    text-align:center;
    }
    that should work for Internet Explorer.
    Other browsers only need on the div.
    Code:
    margi:n 0 auto;

  3. #3

    Join Date
    May 2008
    Location
    Basingstoke
    Posts
    21
    Thank Post
    0
    Thanked 2 Times in 1 Post
    Rep Power
    14
    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:

    Code:
    <div class="footerbg">
    	<div class="container">
    		<div class="footerbg2">
    			<jdoc:include type="modules" name="user3" style="XHTML" />
    		</div>
    	</div>
    </div>
    This is the CSS from the template.css file for the banner container:

    Code:
    .footerbg2{
    	width: 100%;
    	color: #888;
    	border-top: 3px solid #EEE;
    	padding-top: 10px;
    	margin-top: 10px;
    	height: 85px;
    }
    Please recode the correct section to perform the centering.

    Regards, David.

  4. #4

    Join Date
    May 2008
    Location
    Basingstoke
    Posts
    21
    Thank Post
    0
    Thanked 2 Times in 1 Post
    Rep Power
    14
    Well I've got it working by putting the banner code itself inside

    Code:
    <p align="center"> </p>
    Probably not the best way but it works.



SHARE:
+ Post New Thread

Similar Threads

  1. [CLOSED] Layout Issue: Banner Caching
    By Arcath in forum EduGeek.net Site Problems
    Replies: 1
    Last Post: 1st April 2010, 01:31 PM
  2. Flash Banner
    By dannyjay in forum Web Development
    Replies: 2
    Last Post: 15th December 2009, 12:37 PM
  3. I want this xmas banner !!
    By Fontayne56 in forum Web Development
    Replies: 1
    Last Post: 11th December 2009, 02:53 PM
  4. [CLOSED] Bug/Error: Advert banner again
    By powdarrmonkey in forum EduGeek.net Site Problems
    Replies: 5
    Last Post: 4th June 2009, 11:25 AM
  5. Edugeek Banner
    By triggmiester in forum Comments and Suggestions
    Replies: 25
    Last Post: 23rd April 2009, 11:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •