• Resolved 100Stainless

    (@100stainless)


    Trying to add in a DIV line.
    How do I do this??

    Been trying:

    </div>
    <div class=”DisplayItem”>

    But doesn’t seem to work when I preview it!

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Where are you trying to do this. In a theme template file or the editor on the edit Post page in the wp-admin?

    tigtog

    (@tigtoggmailcom)

    1. simple manual method on the Edit Post page:
    Have you tried just adding the horizontal rule tag between your divs?
    <hr />
    (this may require your theme to define hr in your style.css file

    2. Edit Your Theme – add some styling to the css class for .DisplayItem to create a border on the bottom of the div in your style.css file

    .DisplayItem {
          margin-bottom: 10px;
          border-bottom" 2px solid #000000;
          }

    Thread Starter 100Stainless

    (@100stainless)

    Thanks sorted it out now! I was putting them in thr wrong way round. Thank you anyway!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do i add in a DIV line???’ is closed to new replies.