Loading ...
Sorry, an error occurred while loading the content.

6998Re: [NH] Specify BorderColor in Table Tag?

Expand Messages
  • rhorbas@gmx.net
    Apr 4, 2011
      Hi Ray,

      > <table style="bordercolor: #FFCC00" cellspacing="0" width="800">

      should read:

      <table style="border: 1px solid #FFCC00;"

      but this just sets a border around the table. To apply a border to the
      cells, you'd have to explicitly apply the style to them:
      <td style="border: 1px solid #FFCC00;" ...

      or better use a class instead:

      td.border {
      border: 1px solid FFCC00;

      <td class="bordercell" ...

    • Show all 16 messages in this topic