Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Margins -- Tables

Status
Not open for further replies.

vikramonline

Programmer
Joined
Oct 14, 2003
Messages
186
Location
IN
<html>
<body>
<table border = &quot;1&quot;>
<tr>
<td>First Cell</td>
<td>Second Cell</td>
</tr>
</table>
</body>
</html>

It is a very simple example.But the table always leaves some margins (left,top..).I want to create a table with no such margins.

Any help will be appreciated.

Vicky
 
<html>
<body>
<table border = &quot;1&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;>
<tr>
<td>First Cell</td>
<td>Second Cell</td>
</tr>
</table>
</body>
</html>


Known is handfull, Unknown is worldfull
 
Vbkris,

U didnt understand my point.What I want to eliminate is the space between the browser window and table.I mean the top left of the table should be the top left of broser window.

I hope u can understand my point.
 
<body topmargin=&quot;0&quot; leftmargin=&quot;0&quot; rightmargin=&quot;0&quot; bottommargin=&quot;0&quot;>


Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top