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

Remove space above and below table 1

Status
Not open for further replies.

natesin

MIS
Mar 13, 2001
128
US
I have an interesting issue and I am unable to find the answer. I created a background to of 2000px X 5px in with a white center of 750px in Photoshop. This works like a champ. When I create a table in Dreamweaver 8, I pt it all the way at the top, give it a different background, and then preview on my test server. When I preview it, I see what is approximately 20px worth of space.

How do I get rid of that spacing?

Thanks!!

Natesin...

I am Nate, for I have sinned.
 
That's probably the margins and padding for the browsers view port.

Try adding this between your head tags.
Code:
<head>
[blue]<style>
html,body{
margin:0px;
padding:0px;
}
</style>[/blue]
</head>

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Vacunita,

That worked..
...so simple.

Thanks for such a quick response!!

Natesin...

I am Nate, for I have sinned.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top