Skip to:
Content
Pages
Categories
Search
Top
Bottom

paragraph breaks bust loose


  • outchy
    Member

    @outchy

    help! for some reason, if i have more than one paragraph in a post, the next paragraph winds up above the post itself! look:

    http://sk6.messageboard.chime.com/topic/welcome-to-sk6fanscom

    any idea why this is happening?

    link to .css:

    http://sk6.messageboard.chime.com/bb-templates/superbold/style.css

    Update:

    it’s to do with this min-height IE hack:

    /* for Mozilla/Safari */

    *>.box {

    padding-top: 100px;

    }

    *>.box p {

    margin-top: -100px;

    }

    /* for IE */

    * html .box {

    height: 100px;

    }

    /* for Mozilla/Safari */

    *>.box {

    padding-top: 100px;

    }

    *>.box p {

    margin-top: -100px;

    }

    /* for IE, with IE5/Mac backslash filter */

    * html .box {

    height: 100px;

    }

    /* end filter */

    any thoughts on how to fix it?

Viewing 5 replies - 1 through 5 (of 5 total)

  • fel64
    Member

    @fel64

    That’s because you have these seriously weird rules:

    * > .box p {style.css (line 683)
    margin-top:-100px;
    }

    You have them twice, too. Looks like you copied the same code from somewhere twice. Right at the end of the file.

    I recommend that you make a _single_ change, test, repeat. Then you know what’s responsible when stuff breaks.

    [Edit] Yeah. Get rid of the hack. That will fix it.

    Ardentfrost recommended this alternative hack a while back. http://ardentfrost.rayd.org/?p=136


    outchy
    Member

    @outchy

    i feel like i should send you a check, fel.

    thanks :D


    outchy
    Member

    @outchy

    more weirdness in safari is happening. each post starts its own new box within the previous post and with every post, the text gets bigger! any idea on how to fix this?

    Link to site

    Link to CSS


    fel64
    Member

    @fel64

    That sort of thing is usually when you’re not closing divs or li and each successive one falls into the previous, but that should show up in FF and IE too. I looked for that but couldn’t see it, so I can’t help you. Maybe have a look around for Safari bugs that could cause this?


    outchy
    Member

    @outchy

    i finally found it! you were right fel, i was missing a </div> in post.php. that sucker was elusive! i feel so accomplished right now :D

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.