Extra Line Break Before and After Horizontal Line
-
I am using Weaver II on a multiuser wordpress set-up. I inserted a table into a page and put horizontal lines between the headers and contents of the two table columns. WordPress is forcing an extra line break before and after each of the horizontal lines, and I can’t figure out how to get rid of that extra space. I don’t want any extra space between the headers and the horizonal lines or between the horizontal lines and the content beneath them. The website is https://german.berkeley.edu/.
The table code I’m using in the page editor is:
<table width="100%" border="0" cellspacing="0" cellpadding="10"> <tbody> <tr valign="TOP"> <td><strong>Links</strong> <hr/> <a title="Graduate" href="https://german.berkeley.edu/graduate/">Prospective Graduate Students</a> <a href="https://mgp.berkeley.edu/" target="_blank">Multicultural Germany Project</a> <a href="https://german.berkeley.edu/transit/" target="_blank">TRANSIT</a> <a href="https://townsendcenter.berkeley.edu/" target="_blank">Townsend Center</a> <a title="Institute for European Studies" href="https://ies.berkeley.edu/europeanlanguages/" target="_blank">Languages of Europe</a> <a href="https://ls.berkeley.edu/about-college/l-s-divisions/arts-humanities" target="_blank">Arts and Humanities</a></td> <td><strong>Contacts</strong> <hr/> <a href="/administration/">Advising</a> <a href="/administration/">Administration</a> <a href="/study-abroad/">Study Abroad</a> <a href="/placement-guidelines/">Language Placement</a></td> </tr> </tbody> </table>
Each time I save and come back to the page editor, WordPress has added an extra space in
<hr/>
, so that it appears<hr />
. Sometimes there is an extra line space on the page, which I deleting. It comes back the next time I save or come back to the page, no matter what I do.I am using a child theme of the site, but I am new to it. If fixing this problem entails adding something to the child theme, I would appreciate knowing into which part of the style.css file to insert the code (header? somewhere else?).
Thank you!
- The topic ‘Extra Line Break Before and After Horizontal Line’ is closed to new replies.