• My site is located here: https://cincynews.net

    Here’s my problem: Each post will contain a video clip and text. I want to format the text with a div, but can’t do so without also formatting the video clip.

    Specifically, I want the text to scroll, a feature that ordinarily is possible like this:
    <div style=”
    width: 400px;
    height: 250px;
    overflow: scroll;”>
    “My text …”
    </div>

    However, as I say, it’s not working out that way. When I try the inline div above, nothing happens, even though I place the text in the proper place within the document.

    How do I solve this problem?

    ric

Viewing 2 replies - 1 through 2 (of 2 total)
  • why not create a .scroll in your css and apply it as a div class with those values to where you need to?

    Thread Starter ricland

    (@ricland)

    “why not create a .scroll in your css and apply it as a div class with those values to where you need to?”

    I think I tried that without success.

    It seems the only way to apply css to the text is within the post element, but the problem with that, as I say, is that it includes the video which means the video falls within the scroll box.

    ric

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Div use in WordPress..’ is closed to new replies.