• 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)
  • 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.