This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > November 2004 > Removing the space at the top





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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.
Murray *TMM*

2004-11-16, 6:53 pm

Send money, please.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"r39kap" <webforumsuser@macromedia.com> wrote in message
news:cnag1u$cs8$1@forums.macromedia.com...
> Fantastic, worked a treat. God I love this forum.



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews