You need to Register for free and Login to post a message in the forum.

Forum

Blank Space at bottom of page
Last Post 2011-02-04 05:37 PM by Joseph Craig. 10 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Web ServicesUser is Offline
Nuke Master
Nuke Master
Posts:215

--
2010-02-25 03:18 PM
    I have a template for a dotnetnuke skin and I am getting extra blank space at the bottom of my page and I cannot seem to get rid of it. When I just run the html and css, it views fine, but when I upload to a skin I get an extra space at the bottom.

     If you want to see the problem you can go here http://temp.sentinelhealthcare.org/...aling.aspx and scroll to the bottom.

     I have tried various forms of height and padding tags and can't seem to fix it

    Does anyone have any thoughts?

    Here is my CSS body{ text-align: center; width: 100%; margin: 0; padding: 0; background-image: url(images/background_03.jpg); background-repeat: repeat-y; } #header{ background-image: url(images/background_01.jpg); height: 238px; width: 100%; vertical-align: top; } #headerContainer{ text-align: center; margin-left: auto; margin-right: auto; width: 886px; } #logo{ background-image: url(images/block_02.png); width: 201px; height: 124px; float: left; margin-top: 10px; } #headerBlock{ background-image: url(images/block_03.png); width: 495px; height: 89px; float: right; margin-top: 30px; } #menu{ background-image: url(images/block_01.png); width: 886px; height: 54px; margin-top: 30px; float: left; } #content{ background-image: url(images/background_02.jpg); width: 100%; background-repeat: no-repeat; text-align: center; } #providers{ background-image: url(images/block_04.png); float: left; width: 256px; height: 157px; margin-bottom: 15px; } #events{ background-image: url(images/block_06.png); float: left; width: 256px; height: 157px; margin-bottom: 15px; } #programs{ background-image: url(images/block_08.png); background-repeat: no-repeat; float: left; width: 256px; height: 425px; margin-bottom: 15px; } #footer{ background-image: url(images/background_04.jpg); height: 230px; width: 100%; text-align: center; } #footerContainer{ text-align: left; padding-left: 20px; width: 866px; margin-left: auto; margin-right: auto; } #footerContent{ float: left; margin-top: 50px; } #footerLogo{ float: right; margin-top: 110px; padding-right: 20px; } .contentText{ padding-left: 20px; margin-top: 5px; float: left; width: 590px; text-align: left; padding-right: 20px; vertical-align: text-top; } .contentBubble{ vertical-align: top; } .newsText{ text-align: left; margin-left: 105px; margin-top: 5px; } .textBubble{ margin-top: 45px; margin-left: 15px; }

     And here is my HTML
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2010-02-26 02:01 AM
    Have you fixed this? I see a wheat field with a logo at the bottom. Please tell me what you'd like to see.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2010-02-26 05:00 PM
    hello,

    If you need to post code, it is best to attach it as a zip file to your forum post.

    Another thing you may want to look at is when viewing your skin on a screen of 1680x1050 there is a large white space on the right hand side.
    You may be able to fix this by using a larger image for your background, or making sure the image can repeat, but you would need to test this.

    It will also be worth specifying a background colour as well as a background image, so if the background images become disabled a colour will be displayed instead.
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Web ServicesUser is Offline
    Nuke Master
    Nuke Master
    Posts:215

    --
    2010-02-26 08:38 PM
    So I fixed this in FF and Chrome by adding
    form{
    margin: 0;
    }

    to my css page. However, IE Still doesn't look right. Do you have any ideas why IE won't take the margin correctly? Thanks for the suggestion on the background color. I have a wide screen monitor and it doesn't do that on mine so I will add that.
    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2010-03-02 05:00 PM
    If you are trying to center the main design in the skin, have a look at the code in this skin:
    Andreas 01

    Especially look at the code for the body and wrap tags, they make use of:

    body {
    margin:0 auto;
    padding:0;
    font:76% Verdana,Tahoma,Arial,sans-serif;
    background:#f4f4f4 url(img/bg.gif) top center repeat-y;
    color:#404040;
    }

    #wrap {
    background:#ffffff;
    color:#404040;
    margin:0 auto;
    width:760px;
    }

    to center the skin correctly and it should work in all browsers
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    JoelsUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:3

    --
    2011-02-03 10:06 PM
    I have the same problem. I have upgraded 4.9.5 to 5.4.4 and thought everything was fine until I noticed the white bar at the bottom of all my pages(about 10-15 pixels high and all the way across. I added
    form{
    margin-bottom:0;
    padding-bottom:0;
    }
    body{
    margin-bottom:0;
    padding-bottom:0;
    }
    to my default.css and it fixed it for FireFox but not IE8. Does anyone know how to fix this for IE8?
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2011-02-03 10:09 PM
    Is there a URL for the site?

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    JoelsUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:3

    --
    2011-02-03 11:41 PM
    Thanks for replying!
    It was one of my local test sites but, I just updated the live site with the new css entry @ http://www.missionwise.org Oddly enough I have an older upgrade 5.2.x at http://www.chef.org which I haven't added the style for 0 margin and the team page actually goes to the bottom. I'm trying to determine what the difference is. I made the skins a while ago..
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2011-02-03 11:52 PM
    Looking at www.chef.org, the white bar is present on the home page in IE, Firefox and Chrome.

    For the team page the white bar is present in Firefox and Chrome, but not in IE.

    Your site appears to be running in Quirks mode, not XHTML mode. 

    The first thing that I would do is convert your skins to XHTML mode.  This will make them more "predictable" and also have better cross-browser behavior.  Then, you can deal with cross-browser problems better.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    JoelsUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:3

    --
    2011-02-04 04:58 PM
    Thanks, Again.! For now, I added the background color to body in my default.css to hide the white at the bottom. It appears to me now to be a scroll bar issue that'll I'll have to look into later. The verticle scrollbar displays even when it's not needed.
    When I get to  it how/what's the best way to convert the skins to xhtml? (do I manually by adding the tag at the top of each skin or is there a converter or DNN checkbox to check or something like that?)
    Joseph CraigUser is Online
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2011-02-04 05:37 PM
    It's best to add a doctype file.  See these:
    With DotNetNuke 5, you can specifiy a default doctype on the Host Settings page, but it's better to do this in the skin with the doctype file.




    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    RE: DNN site automatically redirects to a different domain name. by imran shaikh
    Thanks for the reply joe this is my portalalias table entries 2 0 localhost/tradeupgrade -1
    RE: "Good" hosting providers by ejcullen rene
    informative!!!
    RE: URL Master Module doesn't work on IHostASP hosting by ejcullen rene
    informative!!!
    RE: shared web hosting by ejcullen rene
    informative!!. i got hosting service from http://www.thewebpole.com/ my hosting company offers you
    RE: iPhone website logo in DNN root directory by JohnnieD
    I'm supposed to add this link to make my custom logo show up on iPhones. Where in DNN would I a
    iPhone website logo in DNN root directory by JohnnieD
    I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
    RE: Fixed size container by Joseph Craig
    Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
    Fixed size container by Aggiedan97
    I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
    RE: DNN 6.1 app_offline.htm by Joseph Craig
    If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
    RE: DNN site automatically redirects to a different domain name. by Joseph Craig
    Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
    DNN 6.1 app_offline.htm by Dave Hassall
    Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
    RE: DNN site automatically redirects to a different domain name. by imran shaikh
    Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
    Enforce Terms Tutorial Update by Vistalogix Corporation
    I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
    RE: Best Practices for Modifying a Custom Module by Joseph Craig
    Start up the development website, then install the module using the package that you have. Then, yo
    Best Practices for Modifying a Custom Module by schilders
    Good Morning, I'm needing to modify a custom built module created by another developer targeted f
    RE: Admin menu problem by alireza arabiyan
    hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
    RE: Admin menu problem by Joseph Craig
    Yes, that is what you should have done. What is the URL for your home page? What is the URL for
    RE: Admin menu problem by alireza arabiyan
    hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
    RE: Admin menu problem by Joseph Craig
    How did you move it? Have you added an entry in the portalalias table for the site's domain name?
    RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
    Set up a user with dbo privileges and set the connection string for that user, rather than using Win
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds