Forum Moderators: not2easy
How to add image as boder of the table. I tried with the below code but only top border is coming. is there any other way to get all four border as an image. Any help would be appreciated.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Content-Script-Type" content="text/javascript">
<meta name="Content-Style-Type" content="text/css">
<title>Conforming HTML 4.01 Template</title>
<link rel="stylesheet" type="text/css" href="" />
<style type="text/css">
html, body {
margin:0;
padding:0;
border: 0;
background:#fff;
color:#000;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size:1em;
}
#vert_border {
heigth : 300px;
padding: 5px 0px;
background-image: url('Border_leftSide.gif');
BACKGROUND-REPEAT: repeat-X;
}
#hoz_border {
width:300px;
padding: 0px 5px;
background-image: url('Border_topSide.gif');
BACKGROUND-REPEAT: repeat-X;
}
</style>
<script type="text/javascript">
</script>
</head>
<body>
<div id="hoz_border">
<div id="vert_border">
<table border="0" summary="x" style="width:300px;margin-top:10px" >
<tr><td>x</td><td>y</td><td>z</td></tr>
<tr><td>x</td><td>y</td><td>z</td></tr>
<tr><td>x</td><td>y</td><td>z</td></tr>
</table>
</div>
</div>
</body>
</html>