Jump to content
N-Europe

Quick HTML Question


somme

Recommended Posts

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.

Link to comment
Share on other sites

×
×
  • Create New...