Title: Div use in WordPress..
Last modified: August 18, 2016

---

# Div use in WordPress..

 *  [ricland](https://wordpress.org/support/users/ricland/)
 * (@ricland)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/div-use-in-wordpress/)
 * My site is located here: [http://cincynews.net](http://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)

 *  [jinsan](https://wordpress.org/support/users/jinsan/)
 * (@jinsan)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/div-use-in-wordpress/#post-207885)
 * 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](https://wordpress.org/support/users/ricland/)
 * (@ricland)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/div-use-in-wordpress/#post-207927)
 * “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.

## Tags

 * [div](https://wordpress.org/support/topic-tag/div/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ricland](https://wordpress.org/support/users/ricland/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/div-use-in-wordpress/#post-207927)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
