-
Question about this sites html code.
UH, yea, I just wanted to know how you get a table to be the width of the page. LIke the way the navigation bar and the picture is. It starts at the begining and goes to the end. How you do dat?
-
Member
-
Member
do this. should work if my memory is correct but it probably isn't.
<html>
<head>
<title>whatever</title>
<style>
/* this peice of code makes it so it can span all the way */
body {margin: 0px; }
</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0">
<tr>
<td>Table cell one.</td>
<td>Hi, I'm cell two.</td>
</tr>
</table>
</body>
</html>
EDIT: moved to feedback, it fits there best.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks