Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Problem with last two columns
Old 06-13-2010, 05:38 AM Irregular Borders in table
asmalik12's Avatar
Extreme Talker

Posts: 173
Name: Abdullah Saleem
Trades: 0
Hi,

I have just created the table using css and below is the code of that table

Code:
<style type="text/css">
table.team {
           font-family: "Tahoma";
	border-width: 0px;
	border-spacing: 0px;
	border-style: none;
	border-collapse: collapse;
	background-color: #ffffff;
}
table.team th {
           text-align: left;
	padding: 1px;
	background-color: #e1e1e1;
	}
table.team td {
           text-align: left;
           font-size: 11px;
	padding: 1px;
	border-bottom: 1px dotted #808080;
	background-color: #ffffff;
	}
</style>

<table class="team" width="100%">
<tr>
<th></th>
<th>Team</th>
<th>Matches</th>
<th>Points</th>
<th>Rating</th>
</tr>
<tr>
  <td>1</td>
  <td>India</td>
  <td>38</td>
  <td>4719</td>
  <td>124</td>
</tr>
<tr>
  <td>2</td>
  <td>South Africa</td>
  <td>38</td>
  <td>4572</td>
  <td>120</td>
</tr>
<tr>
  <td>3</td>
  <td>Australia</td>
  <td>42</td>
  <td>4979</td>
  <td>119</td>
</tr>
<tr>
  <td>4</td>
  <td>Sri Lanka</td>
  <td>31</td>
  <td>3574</td>
  <td>115</td>
</tr>
<tr>
  <td>5</td> 
  <td>England</td>
  <td>50</td>
  <td>5417</td>
  <td>108</td>
</tr>
<tr>
   <td>6</td>
  <td>Pakistan</td>
  <td>25</td>
  <td>2008</td>
  <td>80</td>
</tr>
<tr>
   <td>7</td>
  <td>New Zealand</td>
  <td>32</td>
  <td>2541</td>
  <td>79</td>
</tr>
<tr>
   <td>8</td>
   <td>West Indies</td>
   <td>29</td>
   <td>2224</td>
   <td>77</td>
</tr>
<tr>
  <td>9</td>
  <td>Bangladesh</td>
  <td>28</td>
  <td>273</td>
  <td>10</td>
</tr>
</table>
What is the problem with border? you can see that the border is irregular here : Table
__________________
"Think 100 times before you take a decision, But once that decision is taken, stand by it as one man." - Quaid-e-Azam

Last edited by asmalik12; 06-13-2010 at 10:47 AM..
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
 
Register now for full access!
Reply     « Reply to Problem with last two columns
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17169 seconds with 12 queries