Title: Code Keeps Disappearing! ?
Last modified: August 31, 2016

---

# Code Keeps Disappearing! ?

 *  [ria_amp](https://wordpress.org/support/users/ria_amp/)
 * (@ria_amp)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/code-keeps-disappearing/)
 * So I was working on lining up images on a WP page. Found a helpful tut that suggested
   I can use `<br style="clear:both;"/>` to manage them. It works but doesn’t stay.
   Huh?
 * The code simply disappears – haven’t tried to figure out when. Why does it do
   that?
 * So what to do? I guess I could make it work with CSS?
 * Thanks
    Annamarie

Viewing 1 replies (of 1 total)

 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/code-keeps-disappearing/#post-7067429)
 * There may be a better way to line up images on a WP page, for example, floating
   them all left; however, the workaround to your issue with the code disappearing
   is to use a CSS class as you mentioned.
 * You’d just created a class in your style.css:
 *     ```
       .cleared {
         clear: both;
       }
       ```
   
 * and assign it to your element of choice.

Viewing 1 replies (of 1 total)

The topic ‘Code Keeps Disappearing! ?’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [image alignment](https://wordpress.org/support/topic-tag/image-alignment/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/code-keeps-disappearing/#post-7067429)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
