Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Why Text not Center Aligned? Reply To: Why Text not Center Aligned?

#189455
Paulie_D
Member

Your structure might be a little off.

If those heading are supposed to span both the left and right columns then they can’t be inside either one.

The heading should come before both left and right columns.

You’d have to do something like


<div class="wrap">
  <section>
    <h3>Section 1</h3>
    <div class="left"></div>
    <div class="right"></div>
  </section>
  <section>
    <h3>Section 2</h3>
    <div class="left"></div>
    <div class="right"></div>
  </section>
</div>