HTML Table issues

  • Author
    Posts
  • #2890531

    I created a 3×3 table on one of my website’s pages https://joshuajenkinsart.com/work/ and for some reason there’s this odd spacing between each row along with a faint line. How do I fix this? I’m assuming it probably has something to do with the CSS sheet, but unsure what to do. Please help. Thanks!

    The blog I need help with is joshuajenkinsart.com.

    #2890616

    Hello there!

    Dropping this code in your custom CSS area should do the trick:

    table td img, table td img.aligncenter {
    	margin: 0px;
    }
    
    th, td {
    	border: none;
    }

    If you have tables across the rest of your site and you don’t want them affected with the code above, then you’ll need to put in something like this instead to specify what page it’s for:

    .page-id-1490 table td img, .page-id-1490 table td img.aligncenter {
    	margin: 0px;
    }
    
    .page-id-1490 th, .page-id-1490 td {
    	border: none;
    }

    Let me know if that doesn’t work!
    Sage

    #2890628

    Thank you! That worked. :D

    #2890634

    No worries, glad to hear it!!

    Sage

The topic ‘HTML Table issues’ is closed to new replies.