Can a horizontal rule run through a table?

Options

I am trying to place a <hr /> in pagebuilder, but it cuts off at the columns. Is there a way for the tag to run through the columns? If not, what would you suggest I do?The breaks look awkward.

Please see attached for a reference (I realize the this unaligned the text).

Thank you!!

Tagged:

Comments

  • Tessa,

    You'd need to add a table cell that spans the full width of the table and put the <hr /> in that cell. For example:



    <table cellspacing="0" cellpadding="0">
    <tr>
    <td>Column 1</td>
    <td>Column 2</td>
    <td>Column 3</td>
    <td>Column 4</td>
    </tr>
    <tr>
    <td colspan="4"><hr /></td>
    </tr>
    </table>
  • As the <hr/> tag is technically depricated, I would recommend adding a class to your header row and styling the border-bottom to reflect your <hr/> style.  Then it will also align across the entire table.

  • mark.ajws :

    As the <hr/> tag is technically depricated, I would recommend adding a class to your header row and styling the border-bottom to reflect your <hr/> style.  Then it will also align across the entire table.

    Thanks, Noah and Mark! I will have to start over, I believe, but hopefully will become more familiar with these tables. Thank you again!

Categories