• Resolved Ian

    (@ian_moore)


    Could anyone tell me why this simple bit of code below doesn’t quite work properly in a text widget (“Hueman” theme). The rows do not align as two lines of text to the right of a circular symbol. Copy and paste into Dreamweaver and it works perfectly! I feel I’ve tried everything thougb it’s probably obvious.

    <table style="height: 60px; valign:top; background-color:#3b8dbd; color:#ffffff;">
    <tr>
    <td style="width:50px; valign:top; padding:5px;"><img src= "https://serola.co.uk/wp-content/uploads/2013/12/clock.jpg" style="width:50px; height:50px;"></td>
    <td style="valign:top;"><strong>Same day dispatch for orders received before 4pm</strong></td>
    </tr>
    </table>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • There’s really no way to answer this without seeing the site, but I’d guess that the theme may have CSS that’s changing what’s displayed. A browser tool like Firebug should help you determine that. That table also has deprecated CSS (valign) so you may want to fix that. Also generally best to put all CSS in an external stylesheet.

    Thread Starter Ian

    (@ian_moore)

    Thanks WPyogi. The depracated CSS was the spanner in the works and I did need Firebug to confirm it. Always turns out to be something obvious. Many thanks Ian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple text widget misfiring’ is closed to new replies.