Viewing 7 replies - 1 through 7 (of 7 total)
  • What do you mean by divider? A horizontal line?

    Thread Starter thierrymartin

    (@thierrymartin)

    yes, a horizontal line – solid, or whatever, I’m flexible. Would like to try different things. I can’t get the HTML <hr> tag to show.

    Thread Starter thierrymartin

    (@thierrymartin)

    You tried to put it in the loop and nothing shows up? Btw, it should be <hr />.

    Thread Starter thierrymartin

    (@thierrymartin)

    I know, <hr /> – that’s right, nothing shows up.

    Adjust this as needed, it should provide you with a faux-horizontal rule if for some reason yours aren’t showing up.

    CSS:
    .divider {
    width: 95%;
    border-bottom: 1px solid #dcdcdc;
    padding: 5px 2px;
    margin: 0 0 20px;
    line-height: 0px
    }

    HTML:
    <div class="divider"></div>

    On another note, search to make sure this code doesn’t exist in your CSS file:

    hr {
    display: none;
    }

    Or any variation thereof. It is typically done to organize your page in case the stylesheet doesn’t load.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Dividers’ is closed to new replies.