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 08-25-2005, 03:41 AM   PM User | #1
Ranger56
Regular Coder

 
Ranger56's Avatar
 
Join Date: Mar 2005
Location: Kent, WA.
Posts: 783
Thanks: 0
Thanked 0 Times in 0 Posts
Ranger56 is an unknown quantity at this point
No padding in ie?

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>

<style type="text/css">
<!--
body{
		background:#889974;
}

h1{
		font-family:verdana, arial, sans-serif;
}

table{
		background:#559a2e;
		font-family:verdana, arial, sans-serif;
		color:#fff;
		font-size:12px;
		border:1px solid #000;
		padding:3px;
}

td{
		width:75px;
		height:16px;
		text-align:center;
		border-left:1px solid black;
		border-right:0;
		border-top:1px solid #000;
		border-bottom:1px solid #000;
}

td.right{
		border-right:1px solid #000;
}

td.date{
		border-bottom:1px solid #000; 
		border-left:1px solid #000;
		border-top:0;
		border-right:0;
		font-size:12px;
		font-variant:small-caps;
}

th{
		border-left:1px solid #000;
		border-top:1px solid #000;
		border-right:0;
		border-bottom:0;
}	

th.none{
		border:0;
}

th.noleft{
		border-left:0;
		border-top:0;
}

th.right{
		border-right:1px solid #000;
}

tr:hover{
		background:#00527b;
}

tr{
		margin:3px;
}
-->
</style>

<meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1">
<title>Untitled</title>
</head>
<body>
<h1>MloG.txt</h1>

<table cellspacing="0">
	<tr>
	<th class="none"></th>
	<th class="noleft">Current</th>
	<th>Additions</th>
	<th>C+A</th>
	<th class="right">Need</th>
	</tr> 
	
	<tr>
		<td class="date">
			08.24.2005
		</td>
		<td>
			16
		</td>
		<td>
			1
		</td>
		<td>
			17
		</td>
		<td class="right">
			283
		</td>
	</tr> 
	
</table>


</body>
</html>
Why does the padding not work for the table?
__________________
Ranger56 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 05:50 AM.


Advertisement
Log in to turn off these ads.