WordPress.org

Support

Support » Themes and Templates » Widget Table Alignment

Widget Table Alignment

  • Hello,

    I have an HTML table inside of one of my widgets. It is the second widget titled “Contributors”. My site is http://www.nationalrepublicrat.com/.

    I seem to have something causing the table to have a gap at the top of the widget between the header image and the first contributor.

    I am NOT very knowledgeable when it comes to WordPress. I appreciate any help!

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi

    there are 3 line breaks <br /> in between “Contributor” and the RSS feed icons. The code is

    <h4>Contributors</h4>
    <div class="textwidget"><center/>
    <br />
    <br />
    <br />

    You will have to figure out where those line breaks are coming from.

    Thanks for the reply! Well, it seems it is the html table that is causing the line breaks.

    If I just use the code it works, but then the items are too close. How can I separate them?

    I would need a space or two in the code where the word HERE is:

    <a href="http://www.nationalrepublicrat.com/author/republicrat/feed/">
    <img src="http://www.nationalrepublicrat.com/Images/feed.png"></a>
    <a href="http://www.nationalrepublicrat.com/author/republicrat/"><img src="http://www.nationalrepublicrat.com/Images/profile.gif"></a>
    <a href="http://www.nationalrepublicrat.com/author/republicrat/">Republicrat</a>HERE<a href="http://www.nationalrepublicrat.com/author/republicrat/feed/">
    <img src="http://www.nationalrepublicrat.com/Images/feed.png"></a>
    <a href="http://www.nationalrepublicrat.com/author/republicrat/"><img src="http://www.nationalrepublicrat.com/Images/profile.gif"></a>
    <a href="http://www.nationalrepublicrat.com/author/republicrat/">Republicrat</a>

    The site is http://www.nationalrepublicrat.com/

    Not sure whether you’ve corrected this to your satisfaction. If you want to insert spaces you can do so by using   which inserts a non-breaking space character. You can use as many of those in a row as you like, and the browser will leave space for them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget Table Alignment’ is closed to new replies.