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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table layout question 1

Status
Not open for further replies.

jimberger

Programmer
Jul 5, 2001
222
GB
Hi,

I want to have a gray background and a white table so i have done

<body bgcolor=gray>
<table style="color:white" cellspacing=0 border=0>
<tr><td></td></tr>
</table>
<body>

however i want the table to start at the very top of the page but when i do this there is a small gray gap between the top of the page and the table. how do i make the table start at the very top of the page?

i realise i can do this by setting position to absolute but i am trying to aviod using this.

many thanks for your help
jim
 
Better yet, to go with the latest developments in the field:
Code:
<body style="margin: 0; padding: 0; background: gray;">
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top