This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: , ,

Why no tables with borders ?

  • Creator
  • #10070

    How come I can’t specify a table with border in Alyeska 2.1.5 ?

    this code

    <table cellspacing="0" cellpadding="0">

    produces the same borderless, gridless table as this code

    <table border="1" cellspacing="0" cellpadding="0">

    (e.g., using the basic table layout presented on this support page: )

    (When sandboxing my site in Alyeska 1.1.4 this was not a problem, and I got tables with borders and grids.)

    I don’t know if this is relevant, but in another forum post

    you say in response to Mhp

    The html table code that I insert into the Tabs element content box in the builder layout seems to get ignored. My text and numbers show up, but not in the table format.


    Aw, you mean within the raw content in the layout builder. No, I apologize but this won’t work. The table HTML will get stripped out.

    But you don’t say why it gets stripped out.

    And, along with Atlantisrailjohn in this forum post, I’m in this position:

    I can’t find the code using Firebug. Not sure which CSS file it’s in?

    Much appreciation for any light you can shed.

Viewing 1 replies (of 1 total)
  • Author
  • #10077
    Jason Bobich


    Using the actual border attribute of a <table> tag is a very old method of styling tables. Most moden CSS resets eliminate this right off the bat to allow for nicer, more modern styling via CSS. You can find the theme’s reset at the top of /framework/frontend/assets/css/themeblvd.css.

    So, where you see this part at the very top:

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td { border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}

    … You’d remove all the table-related selectors like table, tbody, tfoot, thead, tr, th, td.

    And you’d also remove this part:


    But you don’t say why it gets stripped out.

    Yeah, this is a pretty different topic than you’re asking about. This is talking about the actual sanitization of the saved HTML from the Builder. There was just never any support added for tables, meaning that HTML literally gets stripped out upon saving, opposed to frontend styling that you’re asking about. And so the workaround is to include that HTML in an external page. — The next theme update allows tables to go through.

    Here’s more on this:

Viewing 1 replies (of 1 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.