Is My Table Code bad for the search engine?

12 replies
  • SEO
  • |
This is my table code. It's not set in the CMS. I have to add this code to all pages with tables.

Is that fine or can it cause bad search engine results? Is it a lot better to do it with a CMS?

This is the code I use:

<table style="background-color: #ffffcc; border-collapse: collapse; border: 1px solid #FFCC00; color: #000000; width: 100%;" border="1" cellspacing="3" cellpadding="3">




What do you think?
#bad #code #engine #search #table
  • Profile picture of the author yukon
    Banned
    Originally Posted by ClaudeMonet View Post

    This is my table code. It's not set in the CMS. I have to add this code to all pages with tables.

    Is that fine or can it cause bad search engine results? Is it a lot better to do it with a CMS?

    This is the code I use:

    <table style="background-color: #ffffcc; border-collapse: collapse; border: 1px solid #FFCC00; color: #000000; width: 100%;" border="1" cellspacing="3" cellpadding="3">




    What do you think?
    It's fine.

    Look at the text version of your webpage/s, you will see the table text.
    Signature
    Hi
    {{ DiscussionBoard.errors[10042035].message }}
  • Profile picture of the author johnniewalk
    Banned
    Table code will consume more database so your loading page will take high time to display your website some part it may affect...
    {{ DiscussionBoard.errors[10042052].message }}
    • Profile picture of the author yukon
      Banned
      Originally Posted by johnniewalk View Post

      Table code will consume more database so your loading page will take high time to display your website some part it may affect...
      Tables are HTML (front end).

      Data is data, it doesn't matter how it's presented.
      Signature
      Hi
      {{ DiscussionBoard.errors[10042061].message }}
      • Profile picture of the author Taniwha
        Originally Posted by yukon View Post

        Tables are HTML (front end).

        Data is data, it doesn't matter how it's presented.
        But he can reduce the data by putting the styling in the CSS rather than on every page/post that a table is present.

        . . . .

        Do: <table class="table"></table>

        And put the styling in the stylesheet.css which will look something like:

        .table {
        background-color: #ffffcc;
        borde..... and so on;
        }


        There's a reason they introduced CSS
        {{ DiscussionBoard.errors[10042864].message }}
        • Profile picture of the author yukon
          Banned
          Originally Posted by Taniwha View Post

          But he can reduce the data by putting the styling in the CSS rather than on every page/post that a table is present.

          . . . .

          Do: <table class="table"></table>

          And put the styling in the stylesheet.css which will look something like:

          .table {
          background-color: #ffffcc;
          borde..... and so on;
          }


          There's a reason they introduced CSS
          Styling isn't data, it's not stored in something like a MySQL database (CMS).

          OP has inline styles which will load fine. Sure he can simply put those inline styles in a CSS file but either way has nothing to do with page loading speed because he would already be loading a CSS file regardless.

          The CSS is a preference call, has nothing to do with ranking a page in Google SERPs.
          Signature
          Hi
          {{ DiscussionBoard.errors[10043164].message }}
          • Profile picture of the author Taniwha
            Originally Posted by yukon View Post

            Styling isn't data, it's not stored in something like a MySQL database (CMS).

            OP has inline styles which will load fine. Sure he can simply put those inline styles in a CSS file but either way has nothing to do with page loading speed because he would already be loading a CSS file regardless.

            The CSS is a preference call, has nothing to do with ranking a page in Google SERPs.
            Thanks for clarifying. I only started learning html/css a week ago lol.

            If nothing else, wouldn't it be smarter to do what I suggested anyway? If he wants to change the table's style in the future, he's going to have to go into each one individually.
            {{ DiscussionBoard.errors[10043169].message }}
            • Profile picture of the author yukon
              Banned
              Originally Posted by Taniwha View Post

              Thanks for clarifying. I only started learning html/css a week ago lol.

              If nothing else, wouldn't it be smarter to do what I suggested anyway? If he wants to change the table's style in the future, he's going to have to go into each one individually.
              Sure a CSS file would be easier for changing the table styling for multiple pages If OP ever wanted to make future changes to the styling of a bunch of tables/pages. If it was a single table on one page, inline styles for the table isn't really an issue.

              If OP created a separate CSS file for only the table CSS it would require another server call when loading the page which would tack additional time on the page loading time. It might only be a few milliseconds extra loading time but it's still more time.

              Granted most folks would simply add additional styling to the main CSS file since the file already exist.
              Signature
              Hi
              {{ DiscussionBoard.errors[10043187].message }}
              • Profile picture of the author ClaudeMonet
                Originally Posted by yukon View Post

                Sure a CSS file would be easier for changing the table styling for multiple pages If OP ever wanted to make future changes to the styling of a bunch of tables/pages. If it was a single table on one page, inline styles for the table isn't really an issue.

                If OP created a separate CSS file for only the table CSS it would require another server call when loading the page which would tack additional time on the page loading time. It might only be a few milliseconds extra loading time but it's still more time.

                Granted most folks would simply add additional styling to the main CSS file since the file already exist.

                That makes sense but if you don't have a skilled guy handy - like me - changes can't be done. The problem is that there are so many "so-called" developers out there. 95% of them don't have a clue. Who can you trust if you are not a PRO like me??

                I need help to do such work and I tried freelancer.com or oDesk - but I have only made bad experiences!

                Cheers and thanks for your friendly help!
                Signature
                I need a very skilled web developer for my growing project! Long term cooperation appreciated!
                {{ DiscussionBoard.errors[10043218].message }}
                • Profile picture of the author paulgl
                  Table html code is the best thing since sliced bread.

                  CSS is normally bloated and uncalled for.

                  CSS is actually the bane of real webpage creators who have to go
                  digging for the crap.

                  Most CSS does the CSS for every friggin thing which is useless.

                  Many sites have multiple CSS pages to call, making more calls
                  to the server. Bloat and a waste of time all in one.

                  I have never seen any advantage of CSS. None.

                  Paul
                  Signature

                  If you were disappointed in your results today, lower your standards tomorrow.

                  {{ DiscussionBoard.errors[10043264].message }}
  • Profile picture of the author SEWARRIOR
    Table code as no issue with SEO, just go ahead, infact 10 years before table design is the common webpage design element
    Signature
    SEWARRIOR - web 2.0 Backlink Builder - Download 30 day Free Trial .
    Try Now for Free!
    {{ DiscussionBoard.errors[10042619].message }}
  • Profile picture of the author alexchen23
    Test your page load speed.

    If your tables cause longer page load time, you need to make some changes.
    {{ DiscussionBoard.errors[10043487].message }}
  • Profile picture of the author Slade556
    In my opinion, it's easier to manage everything with a CSS file, instead of writing the same code over and over again. But you'll be fine even if you don't want to use classes, your code won't look as 'clean' but it won't affect your rankings.
    {{ DiscussionBoard.errors[10043595].message }}

Trending Topics