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 04: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:268

--
2010-02-25 02: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 Offline
    DNN Creative Support
    Posts:10353
    Avatar

    --
    2010-02-26 01: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 04: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:268

    --
    2010-02-26 07: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 04: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 09: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 Offline
    DNN Creative Support
    Posts:10353
    Avatar

    --
    2011-02-03 09: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 10: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 Offline
    DNN Creative Support
    Posts:10353
    Avatar

    --
    2011-02-03 10: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 03: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 Offline
    DNN Creative Support
    Posts:10353
    Avatar

    --
    2011-02-04 04: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

    copy modules and content to new install by Mike
    Hi I have tried to upgrade a clients website the upgrade 6 - 7 works fine however some functions are
    RE: Switch Register User from One portal to another portal by vikas lodha
    Hello Joseph, I used this module. but it cannot help me. can you suggest me any another
    URL redirect within DNN by Web Services
    We have the original site pcmed.biz and just purchased the plumcreekmedicalgroup.com URL. We need to
    RE: Article 81 and 82 - Twitter Bootstrap by soulia
    Hi Joe, Thanks for the information. I reviewed the video. Video 1 of part 2, correct? To make th
    RE: Switch Register User from One portal to another portal by Joseph Craig
    Moving a user is somewhat complicated, as there are a number of database tables involved. I'm not s
    RE: Article 81 and 82 - Twitter Bootstrap by Joseph Craig
    Mike, There is a discussion in VIdeo 4 of the skin tutorial about css order. That might help to
    Article 81 and 82 - Twitter Bootstrap by soulia
    Great articles! Thanks. Well worth the subscription. My question - what is a best practice to overri
    RE: Switch Register User from One portal to another portal by vikas lodha
    Hello Joseph, can you guide how export user record from one portal to import into anoth
    RE: Simple document list by Joseph Craig
    Welcome back, Darin! The good news is that the modules you expect to find haven't disappeared. T
    Simple document list by Darin Marsh
    Been away from DNN for a while, downloaded and installed v07.00.05 and tried creating a list of pdf
    RE: Switch Register User from One portal to another portal by Joseph Craig
    There is not an easy way to do this. There are some modules that can help with this. You will fi
    RE: Database Connection Error by Joseph Craig
    No, you don't need to make changes in web.config. The installer will do that for you when you go th
    Switch Register User from One portal to another portal by vikas lodha
    Hi All, I am working on Dnn5.2. In My site there are 4 portals (different countries). I Like t
    Database Connection Error by noora j
    Hi, i am really frustrated from this problem, i am trying to install DNN 7 in windows server 2008, i
    RE: query by Joseph Craig
    Is that other url a site alias? Is the site alias mapping specified to be "canonical"? If so, swit
    query by Kaustav
    When I go to view page source I can see a staging url in the source. Here is the site url -
    RE: AccuWeather in HTML Module by Joseph Craig
    You seem to be missing the piece that makes the weather appear. Presumably that is a piece of javas
    RE: AccuWeather in HTML Module by Joseph Craig
    You seem to be missing the piece that makes the weather appear. Presumably that is a piece of javas
    RE: New install no HTML module by Mike
    Thanks for your reply I usually download the DNN and the select run from folder this is the first ti
    AccuWeather in HTML Module by Babak Char
    I use AccuWeather for HTML code for the weather on our DNN7 Intranet. THe code is listed, below. I a
    You are not logged in.
    You must log in to access all 
    750+ videos, tutorials, podcasts, and more.
    RSS Feeds