[thelist] A simple question (I hope) about Dreamweaver margin s

Chris.Marsh at Callserve.com Chris.Marsh at Callserve.com
Wed Jan 12 10:25:19 CST 2005


All

> It looks ok on my machine.

It doesn't on mine.

[..]

>> Under page properties, I've set the left margin to 50 and the right
>> margin to 50, but no dice.
>> 
>> Any ideas? Here's the link: http://www.elc-pa.org/eagleclip.htm

Sell Dreamweaver and use TextPad ;)

Specifically, the following will do what you want. I don't know why your
code does not display the margins correctly, although marginwidth may be
deprecated. In any case, CSS is the way to go rather than HTML tag
attributes for styling.

<html>
<head>
<title>Reading Eagle Clip</title>
<style type='text/css'>
body
{
margin: 50px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
[..]
</body>
</html>

HTH

Regards

Chris Marsh

_______________________________________________________________________
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the email immediately. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. 

Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

Finally, the recipient should check this email and any attachments for the presence of viruses. Callserve Communications accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service.


More information about the thelist mailing list