I am trying to center a background image in a table cell, so I cannot do an absolute position, as the table is "squeezy". It is a big semi-transparent logo that I want centered vert. and hor. Is there a cute way to do this with a div? Since I only want it in one cell, I am at a loss and I amvery new to CSS. help, please!?!<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>center in cell</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
td {background:#9cf url(apple.jpg) no-repeat center center;height:100px;width:300px;}
-->
</style>
</head>
<body>
<table border="1" cellpadding="0" cellspacing="0" summary="">
<tbody>
<tr><td></td></tr>
</tbody>
</table>
</body>
</html>You rule!!!
Thanks so much, sorry to be a nube.
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>center in cell</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
td {background:#9cf url(apple.jpg) no-repeat center center;height:100px;width:300px;}
-->
</style>
</head>
<body>
<table border="1" cellpadding="0" cellspacing="0" summary="">
<tbody>
<tr><td></td></tr>
</tbody>
</table>
</body>
</html>You rule!!!
Thanks so much, sorry to be a nube.