Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2007
    Posts
    48
    Plugin Contributions
    0

    Default Adding divs outside main container.

    I have a need to put about 200 px of white space beyond the end of the main container, but I am not sure where to do it.

    Can anyone please give me a hint as to which file I should be editing so that the white space is added to every single page that is rendered.

    I am about one week away from being able to go live. Very excited.

    Cheers,

    DAVE

    :)

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Adding divs outside main container.

    Which "end" do you need to add whitespace on? Does it just need to be spacing, or does it have contents/color/border/anything?

    If you don't want content for this area, you can just add margin to #mainWrapper {} or padding to body {}.

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Adding divs outside main container.

    Could be done by adding margin or padding to the bottom of #mainWrapper. Or if you need to add a div, add it to tpl_main_page.php
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Mar 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: Adding divs outside main container.

    Well Duh, don't I just feel a little thick right now.

    You are both of course right.

    I only need white space, there is no need for "Extra Content" at the moment. There is a small bug with an addon that I have installed when I view the website with IE7.0 and some extra space at the bottom of the page will fix the bug until IE gets itself together or the addon gets a revision with a fix.

    Thanks all.

    DAVE


 

 

Similar Threads

  1. Replies: 5
    Last Post: 4 Sep 2011, 12:30 PM
  2. Hang image outside of main body...
    By DigitalShadow in forum General Questions
    Replies: 5
    Last Post: 15 Dec 2010, 05:28 AM
  3. Background - Outside of the main page
    By Agent_KGB in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Apr 2009, 05:28 PM
  4. What template to add additional divs outside of mainWrapper??
    By rubelin in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 18 Mar 2009, 12:20 AM
  5. Banner outside main page
    By lolutzu in forum Basic Configuration
    Replies: 0
    Last Post: 21 Dec 2007, 04:32 AM

Posting Permissions

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