Link to home
Start Free TrialLog in
Avatar of dedsi
dedsiFlag for Sweden

asked on

margins

In IE you can use a 'command' inside the body-tag that makes it possible for the html-author to decide the distance from the html-code and the margins. It could look something like this:

<body topmargin="0" leftmargin="5">

However, I havent been able to get this to work with Netscape Communicator. I know that it can be done because I have seen other pages that has gotten this effect when viewed in Netscape but looking in the source-code havent helped me so far.

My question is as follows: How can I make this work in both Netscape and IE?

/dedsi
Avatar of dedsi
dedsi
Flag of Sweden image

ASKER

Edited text of question
ASKER CERTIFIED SOLUTION
Avatar of jbirk
jbirk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dedsi

ASKER

Hi Jbirk,

that command was exactly the one I was looking for and it seems to work fine in Netscape Communicator 4.x. and in IE. Its one thing though, do you know what versions of Netscape and/or IE that supports these commands? It work with version 4.x (both browsers) but do you know about the older versions? I will give you your points even if you cant answer this as soon as you have commented this comment.

/dedsi
Avatar of jbirk
jbirk

Well, netscape 3 does NOT support this command.  I cannot run IE 3 since I have IE 4 installed so I do not know if it will support that command or not.  My educated guess is no, it will not support that, but it's only a guess.

Glad I could help!
-Josh