![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I tried to search the forum because I am sure that this has been asked before but I cannot find it. I am using tables for the layout of a page and I have set the borders to zero to hopefully snap it to the top and left. Everything looks good in Safari but when viewed in IE I get a small white border and I do not know how to get rid of it. Page is at www.morfam.com Thanks in advance for the help, Pete |
#3
| |||
| |||
|
|
That's the default browser margins. Use this: - copy and paste the following just before the </head> tag. Iin this case you won't need the page property settings at all. Remove them from your current body tag. style type="text/css" !-- body {head padding: 0; margin: -10px 0 0 -10px; /*/*/margin: 0 0 0 0; /* */ background-color: White; } -- /style -- Nadia --------------- :Free Templates !! Dropdown Menu Designs: http://www.DreamweaverResources.com :Templates: Free Nav Bar Sets: :Tutorials : Ecommerce : SEO Articles : ----------------- "moreyp" <webforumsuser (AT) macromedia (DOT) com> wrote in message news:ccii8e$s0d$1 (AT) forums (DOT) macromedia.com... I tried to search the forum because I am sure that this has been asked before but I cannot find it. I am using tables for the layout of a page and I have set the borders to zero to hopefully snap it to the top and left. Everything looks good in Safari but when viewed in IE I get a small white border and I do not know how to get rid of it. Page is at www.morfam.com Thanks in advance for the help, Pete |
#4
| |||
| |||
|
|
The proper code is shown below (update your snippet, Nadia!) - style type="text/css" !-- body {head padding: 0; margin: 0 -10px 0 -10px; /*/*/margin: 0 0 0 0; /* */ background-color: White; } -- /style |

![]() |
| Thread Tools | |
| Display Modes | |
| |