WordPress.org

Ready to get started?Download WordPress

Forums

blank space problem in wp 1.5 (18 posts)

  1. tjinh200
    Member
    Posted 9 years ago #

    whenever i try to add something in-between, above, or below the following code, i get a large about of white space below my actual content.

    the bottom part of code from my sidebar:

    <?php } ?>

    </div>

    see the problem here: http://www.tjinh200.com/tjinh200

  2. tjinh200
    Member
    Posted 9 years ago #

    after looking more, it happens in the sidebar.php file, but only below the "Archives" codes. placed above that, it seems to work alright ... but i would like it below ... any ideas?

  3. tjinh200
    Member
    Posted 9 years ago #

    it's very annoying ... and the things i've tried haven't helped it ...

  4. Tahongawaka
    Member
    Posted 9 years ago #

    Your code has two <br /> tags after the archives. If you don't want that much space, you may need to check the get_archives() tag that you're sending to make sure you're not sending an extra one, or change the css on the archives class to reduce the padding-bottom or margin-bottom.

  5. tjinh200
    Member
    Posted 9 years ago #

    i'm not seeing what you're referring to "two tags after the archives," i'm not sure where/how to check to see if i'm sending an extra "get," and my css doesn't even have an "archives" class ... is this a problem?

  6. tjinh200
    Member
    Posted 9 years ago #

    okay in regards to get_archives, i'm seeing one in my sidebar and one in my header...do i need only one of those? (in the header i assume)?

  7. Tahongawaka
    Member
    Posted 9 years ago #

    Here's the source in your page:
    <div class="title">Archives</div>
    <a href="http://tjinh200.com/tjinh200/?m=200502" title="February 2005">February 2005</a>

    This is in the sidebar, right underneath the categories. ( I fixed the above post; the tag was parsed by the html code)

  8. tjinh200
    Member
    Posted 9 years ago #

    maybe i'm not seeing it, but what does the code you posted represent? that shows, to me just the results of the "get" tags ...

    and the white space i'm seeing isn't just two "br" tags long, it's many "p" at least ...

  9. tjinh200
    Member
    Posted 9 years ago #

    ah i see okay, those "br" tags, but even still ... underneath the actual posts themselves is really what i'm speaking of ... there is way too much space from the bottom of the posts to the footer ...

  10. Tahongawaka
    Member
    Posted 9 years ago #

    try commenting out all height: 100% from your .css file. Additionally, line 321 of your style.css has some weird characters after the semicolon. Furthermore, you "are encouraged to offer a generic family as a last alternative." Try that, see if anything changes (hopefully for the better).

  11. tjinh200
    Member
    Posted 9 years ago #

    i've commented out my "height":

    /* height: 100%; */

    but line 321 of my css is this:

    margin: 0px;­­

    as shown in frontpage ... and there still is not any change ...

  12. tjinh200
    Member
    Posted 9 years ago #

    apparently this problem is only in FF not in IE, or so it seems ... very odd, the page validates ...

  13. tjinh200
    Member
    Posted 9 years ago #

    still not working ... any ideas?

  14. tjinh200
    Member
    Posted 9 years ago #

    okay, a recap of this issue:

    the problem is occuring at the bottom of my page, just above the footer. the problem is blank, white space.

    - this only occurs in FF, in IE it looks as it should (without the mass of white space just above the footer)
    - in my sidebar.php if i put any code beneath the "Meta" tags, this error occurs
    - if i put my intended code anywhere above the "Archives" tag in my sidebar.php, it does work, without whitespace ... problem being, i would like the intended code at the end of my sidebar

    any thoughts? http://www.tjinh200.com/tjinh200

  15. Tahongawaka
    Member
    Posted 9 years ago #

    I took another look at the page. When I use one of the bookmarklets from http://www.squarefree.com/bookmarklets/webdevel.html the space disappears. Strange.

    That line 321 margin thing: the extra characters after the semicolon may be some non-printing characters. Try cutting that line and retyping it. This is how it looks on my system: margin: 0px;¡©¡© Maybe the whole thing is choking on that.

  16. tjinh200
    Member
    Posted 9 years ago #

    i re-typed the "margin" text, but that still didn't work ...

    you are seeing what i mean though about the space right? or am i crazy? because it works fine on IE, just not in FF ...

  17. tjinh200
    Member
    Posted 9 years ago #

    another oddity: attempting a test search (which would access my "search.php" file) the spacing is fine, meaning without the mass of white space ...

  18. tjinh200
    Member
    Posted 9 years ago #

    i've resolved the search page problem, but it turns out it was that same problem i had earlier. a missing/mis-placed <div> tag. problem is, now my search page is like my index.php and other .php pages.

    so, it is my <div> tags that are causing the problem i would say ... anyone know why/how?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.