You are here: Re: Setting Right Margin « HTML « IT news, forums, messages
Re: Setting Right Margin

Posted by Jonathan N. Little on 06/08/06 12:08

Fred wrote:
> Thanks, Jukka!! Unfortunately, I am sub-newbie.... sub-sub-newbie to be
> exact...... which translates to .... I don't know what the heck "note" (in
> <div class="note">...</div>) means.
>
> Can you give me an example? See how the text in this message is 1/8-inch
> never touches the left or right margin? Exactly how do you code a page to
> give the same margin?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Your Title</title>

<style type="text/css">
BODY { margin-right: 2em; }
</style>
</head>
<body>
<p>Now the whole document well have a right margin of about 2 'M'
character widths adjust as desired</p>
</body>
</html>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация