Reputation: 7690
Here is my problem i want to use a table as a background image in my master page. But i couldn't find a way to display it as a background, what i need is the same effect as the microsoft Words wrap text behind text effect. While preserving relative positioning.
To sum up; i want to use an asp table sticky to bottom right corner of my webpage instead of body background image property.
Thanks a lot in advance!
Upvotes: 2
Views: 498
Reputation: 6672
Use a div and place a table inside
<div id="wrapper">
<table>
</table>
</div>
Uss the following CSS
div#wrapper
{
position: relative;
}
div#wrapper>table
{
position: absolute;
bottom: 0;
right: 0;
z-index: 999;
}
Regarding you comment, please note that the table will now to positioned "RELATIVE" to the div#wrapper. So with the above code, now the table will "sit" at the bottom right corner of the div#wrapper. If your table is "stuck" in the middle, than that is beacuse your div#wrapper may be in the middle. If you have some other element such as another div at the bottom of you page or a fotter div, you can use that instead of the div#wrapper. Or you could use the html/body elements, give either one of them a position of relative and than place the table in "RELATIVE" to the those elements.
Upvotes: 2