Hiding Borders

message from Fortune Hunter Z on 15 Jul 2004
I am putting together a design that is set up inside a table. The background
colors and images are dark blue, which is causing my problem. When you look at
the page you see the white lines where the borders of the table are coming
together, which looks bad.

I set the borders to "0", but it will not run flush against the other table
elements. Specifically, I hate the white lines above and below the top
navigation. To see the page the way it looks now please go to...

http://www.michaeltemple.com/New/Template.htm

Any advice how to get rid of these borders would be appreciated. Thanks

Fortune Hunter
 
darrel replied to Fortune Hunter Z on 15 Jul 2004
Make sure you've set cellpadding and cellspacing to 0 on all of your tables.
 
Durwood Edwards replied to darrel on 15 Jul 2004
Yes, in my experience you need to explicitly declare those two attributes.
or you will get the spacing you are seeing. I don't believe that it has
anything to do with the actual borders
Durwood
"darrel" <notreal@hotmail.com> wrote in message
news:cd6648$di9$1@forums.macromedia.com...
 
~Flash~ replied to Fortune Hunter Z on 15 Jul 2004
<STYLE type="text/css">
body {
padding: 0;
margin: 0 -10px 0 -10px;
/*/*/margin: 0 0 0 0; /* */
background-color: White;
}
</STYLE>

Add the above code to the head of your document... or just load the page in
dreamweaver and hit "Ctrtl - J" and set the margins to "0"

Flash
 

Archived message: Hiding Borders (Macromedia Dreamweaver)