Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2009
    Posts
    59
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Thumbs up weird -Table border is not working

    hi Friends we are making our college site and as part of the Li bray books list i used a table for the tabular data and we gave a border to the same table and some thing weird its not working .Any help will be highly appreciated.

    regards
    Vijetha

    This is URL

    Code:
               <table width="30%" border="0" cellpadding="2" cellspacing="4" bordercolor="#003BDE" >
      <tr>
        <td width="73%"><span class="ClassTableText">&nbsp;Total Volumes</span></td>
        <td width="27%">&nbsp;</td>
      </tr>
      <tr>
        <td bordercolor="#0034D8"><span class="ClassTableText">&nbsp;Books</span></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><span class="ClassTableText">Bound Journals</span></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><span class="ClassTableText">Standards &amp; Reports</span></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><span class="ClassTableText">&nbsp;Journals subscribed </span></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><span class="ClassTableText">&nbsp;Theses</span></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><span class="ClassTableText">&nbsp;Indian Patents</span></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><span class="ClassTableText">&nbsp;CD ROM</span></td>
        <td>&nbsp;</td>
      </tr>
    </table>          
    Last edited by vijetha; 07-03-2010 at 10:26 AM.

  • #2
    New Coder
    Join Date
    Jun 2010
    Location
    The Netherlands
    Posts
    52
    Thanks
    0
    Thanked 6 Times in 6 Posts
    Where is this table you are referring too? Is it the first occurence of <table when you search for it in the source code? Ifso, try changing Border="0" to border="1". 0 means No in computer language, and 1 means yes.

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Validator says
    Line 119, Column 86: there is no attribute "bordercolor"

    … width="30%" border="0" cellpadding="2" cellspacing="4" bordercolor="#003BDE" >
    Make use of CSS, like
    Code:
    <table width="30%"  cellpadding="2" cellspacing="4"  class="list" >
    Code:
    table.list, table.list td {
    border:1px solid #003BDE;
    border-collapse:collapse;
    }
    ..and of course remove border="0"
    Last edited by abduraooft; 07-03-2010 at 09:03 AM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #4
    New Coder
    Join Date
    Jul 2009
    Posts
    59
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Thanks a lot


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •