Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (22 sloc) 679 Bytes
<!DOCTYPE HTML>
<html>
<head>
<script src="jquery.js"></script>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
<table>
<tr><td>1</td><td></td><td></td><td></td></tr>
<tr><td>2</td><td></td><td>t</td><td></td></tr>
<tr><td>3</td><td></td><td></td><td></td></tr>
<tr><td>4</td><td></td><td></td><td></td></tr>
</table>
<script>
$('table').css({border:'3px solid black', width:'100%'})
$('td').css({border:'1px solid black'})
$('tr:first').css({background: '#999'})
$('tr:last').css({background: 'black'})
$('tr:eq(1) td:empty').css({background: 'red'})
</script>
</body>
</html>