| | |
|
|
|
Houston, we have a problem......... |
| message from neophyte weaver on 18 Jul 2004 |
Problem linking a photo to another page. link check sez link is broken because "left margin is not supported in Netscape....." What am I doing wrong? Is my problem too basic?
|
| Murray *TMM* replied to neophyte weaver on 17 Jul 2004 |
DW is right. Margin code in the body tag is deprecated in favor of CSS, and
if you do use them, Netscape4x does not use the same inline margin settings
that the rest of the world does.
So - <body leftmargin="0" marginleft="0"> would give you left margins of
zero in both IE and NN4x, and DW would give you two errors - one that
marginleft is not supported in IE, and one that leftmargin is not supported
in NN4x.
The solution is to use CSS -
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; }
|
| BigHead replied to neophyte weaver on 17 Jul 2004 |
url?
t
"neophyte weaver" <webforumsuser@macromedia.com> wrote in message
news:cdcmbf$mch$1@forums.macromedia.com...
because "left margin is not supported in Netscape....." What am I doing
wrong? Is my problem too basic?
|
|
Archived message: Houston, we have a problem......... (Macromedia Dreamweaver)