Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-03-2010, 08:42 AM   PM User | #1
vijetha
New Coder

 
Join Date: Jul 2009
Posts: 59
Thanks: 10
Thanked 0 Times in 0 Posts
vijetha is an unknown quantity at this point
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..
vijetha is offline   Reply With Quote
Old 07-03-2010, 08:49 AM   PM User | #2
Candan
New Coder

 
Join Date: Jun 2010
Location: The Netherlands
Posts: 52
Thanks: 0
Thanked 6 Times in 6 Posts
Candan is an unknown quantity at this point
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.
Candan is offline   Reply With Quote
Old 07-03-2010, 08:53 AM   PM User | #3
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Validator says
Quote:
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"
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

Last edited by abduraooft; 07-03-2010 at 09:03 AM..
abduraooft is offline   Reply With Quote
Old 07-05-2010, 08:20 AM   PM User | #4
vijetha
New Coder

 
Join Date: Jul 2009
Posts: 59
Thanks: 10
Thanked 0 Times in 0 Posts
vijetha is an unknown quantity at this point
Thanks a lot
vijetha is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:40 AM.


Advertisement
Log in to turn off these ads.