Jump to content
N-Europe

Recommended Posts

Posted

I always forget this. Basically I want to snap the edge of the table, and image inside it to the very edge of the top, left and bottom of the page.

Posted

You shouldn't be using tables, they're obsolete except for tabular data (like a spreadsheet or similar). Divs and CSS are the way to go. But can you explain your issue a little better? Why do you need a table that goes to the top and bottom? What image do you mean? The background?

 

But to answer your question simply, this will do:

 

<html>
<head></head>
<body style="margin:0;">

<table style="height:100%; width:500px; background-color:#cdcdcd;">
<tr>
  <td> Table Content </td>
</tr>
</table>

</body>
</html>

 

Which makes this.

×
×
  • Create New...