Centering Table & Picture
Posted on 2007-03-20
I have a page with nothing but a table. The table is set to be a 100% of the screen both vertical and horizontal.
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
But when I run this the table expands to the full screen horizontally but not vertically. Do I have to do something else for this work?
Also, in the center cell of the table I have a picture. I would like that this picture stretch/shrink to fill available space. The picture is very large, so there should be no problem of resolution. But I don't see where I can set this for the picture.
Can someone guide me on this.