css - Position a HTML table element on top of img element -
i want able place html table on top of image using css. want move table looks picture below:
this have as:
and want this:
this code looks like:
<img src="@url.content(" ~/images/sortbydivisioncontrol_bg2.png ")" width="570"> <table id="locations-table" style="margin:0 auto;"> <thead> <tr> <th colspan="3"> locations </th> </tr> </thead> <tbody> <tr> <td> <a>anchorage, ak</a> </td> <td> <a>spokane, wa</a> </td> <td> <a>coburg, or</a> </td> </tr> <tr> <td> <a>kapolei, hi</a> </td> <td> <a>toledo, wa</a> </td> <td> <a>medford, or</a> </td> </tr> <tr> <td> <a>snohomish, wa</a> </td> <td> <a>ridgefield, wa</a> </td> <td> <a>redmond, or</a> </td> </tr> <tr> <td> <a>kent, wa</a> </td> <td> <a>bend, or</a> </td> <td> <a>portland, or</a> </td> </tr> </tbody> </table>
this background images for. instead:
<table id="locations-table" style="margin:0 auto; background-image: @url.content("~/images/sortbydivisioncontrol_bg2.png")">
Comments
Post a Comment