We can set a image as background image of a <div> like:
<style>
    #test { 
        background-image: url(./images/grad.gif); 
        background-repeat: no-repeat;
        background-position: center center; 
        width:80%; 
        margin-left:10%; 
        height:200px; 
        background-color:blue;
    }
</style>
<div id="test"></div>
I need to set a table at the center of a <div> horizontally & vertically. Is there a cross-browser solution using CSS?
 
     
     
     
     
     
     
     
     
     
    