Kashi:
Link to an external stylesheet (using DW's CSS editor), or embed a
stylesheet in your code (between <head> and </head>) with the following
style in it (embedded shown for cut-n-paste convenience) (assuming you want
zero margins) -
<style type="text/css">
<!--
body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; padding:0px; }
-->
</style>
you could also try
body { margin : 0px 0px 0px 0px; padding:0px; }
or
body { margin : 0px; padding:0px; }
as a shorthand method.
This will take care of the margins in IE4+ and NN6. To take care of NN4x,
you will need to use MODIFY | Page Properties... and set the two right hand
margin fields (marginwidth and marginheight) to 0.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Kashi*" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
Hi.
I'm working on a site and keep getting Margin width and height errors.
I'm testing the pages and they appear to be ok i n IE5-6 but in Netscape
the margins seem to disappear.
Any incite at all would be great!
Thanks for your time!
http://www.abrilliantbasket.com/temp/
kashi* |