Reply to Re: Setting Right Margin

Your name:

Reply:


Posted by Chaddy2222 on 06/08/06 13:35

Jonathan N. Little wrote:
> 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>
That looks good.
By the way my new design is now complete, well at the moment it is
anyway, http://freewebdesign.cjb.cc
But, I will say though that setting margens and padding seams to be one
of the harder things to get right, both in CSS and web design
generally.
Oh on the subject of padding, to the op, you may need to set that as
well.
Depends on the look that you are going for though.
--
Regards Chad.
Free web design for community groups and organisations!
http://freewebdesign.cjb.cc/more-info.html

[Back to original 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

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