Forums
This topic is locked
Layers, Please Help
Posted 16 Feb 2003 18:17:44
1
has voted
16 Feb 2003 18:17:44 sudhir hira posted:
Why is it, that once I set my layers in dreamweaver and I preview it in netscape and ie the postiion of the layer is moved or different to what I set it at Replies
Replied 17 Feb 2003 09:04:09
17 Feb 2003 09:04:09 Marja Ribbers-de Vroed replied:
Did you set your page margins to 0 (zero)?
All browsers have a default margin, but the value is not the same in each browser.
To get predictable results for layer positioning, it is important that you set the page margins to zero using the CSS technique. So place the following in the HEAD section of your page and the page should be fine:
<style type="text/css">
<!--
body {margin: 0px}
-->
</style>
Hope this helps.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
All browsers have a default margin, but the value is not the same in each browser.
To get predictable results for layer positioning, it is important that you set the page margins to zero using the CSS technique. So place the following in the HEAD section of your page and the page should be fine:
<style type="text/css">
<!--
body {margin: 0px}
-->
</style>
Hope this helps.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 18 Feb 2003 11:15:43
18 Feb 2003 11:15:43 sudhir hira replied:
Thanks Alot MarjaR. Will test it!