| Author |
Removing the space at the top
|
|
| r39kap 2004-11-16, 6:53 pm |
| What I would like to do is make sure that my image starts at the very top of
the browser (butt against the browser bar) and doesn't leave a space at the top
and then start the table. Hopw I've explained correctly. thanks in advance.
| |
| jamie.heaney 2004-11-16, 6:53 pm |
| make sure your table has 0 borders first, then use this in your body tag <body
leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'> it will remove
all the borders. modify/page properties makes this easy in DW
| |
| .: Nadia :TMM :. 2004-11-16, 6:53 pm |
| Copy and paste the following just before the closing</head> tag in your
code. Will eliminate the default margins.
body {
padding: 0px;
margin: 0px;
background-color: White;
}
--
Nadia
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Tutorials | Ecommerce - YVStore | SEO Articles|
------------------------------------------------
Team Macromedia Volunteer for Dreamweaver
http://macromedia.com/devnet/mx/dreamweaver/
http://www.macromedia.com/support/d.../technotes.html
-----------------
"r39kap" <webforumsuser@macromedia.com> wrote in message
news:cn8g8r$clv$1@forums.macromedia.com...
> What I would like to do is make sure that my image starts at the very top
> of
> the browser (butt against the browser bar) and doesn't leave a space at
> the top
> and then start the table. Hopw I've explained correctly. thanks in
> advance.
>
| |
| Gary White 2004-11-16, 6:53 pm |
| ..: Nadia :TMM :. wrote:
>Copy and paste the following just before the closing</head> tag in your
>code. Will eliminate the default margins.
>
>body {
>padding: 0px;
>margin: 0px;
>background-color: White;
>}
Hmmm... may want to wrap it in <style> </style tags:
<style>
body {
padding: 0px;
margin: 0px;
background-color: White;
}
</style>
Gary
| |
| r39kap 2004-11-16, 6:53 pm |
| Fantastic, worked a treat. God I love this forum.
| |
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |