Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Setting Right Margin

Reply
Thread Tools

Setting Right Margin

 
 
Fred
Guest
Posts: n/a
 
      06-13-2006
I'm looking for a straight forward way to set the right margin -- similar
to using <DIR> for the left margin.


 
Reply With Quote
 
 
 
 
Fred
Guest
Posts: n/a
 
      06-13-2006
Many thanks, Jonathan!! That's a great help to me.
Sorry, I missed your post and didn't thank you earlier.

"Jonathan N. Little" <(E-Mail Removed)> wrote in message
news:87e27$4488130e$40cba7bf$(E-Mail Removed)...
> 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



 
Reply With Quote
 
 
 
 
Fred
Guest
Posts: n/a
 
      06-13-2006
I just wanted to thank you again, Jonathan. Such a simple way to set the
right margin and you have explained it in such an easy-to-follow way that
even a beginner like me can do it!

Many thanks!

Fred

"Jonathan N. Little" <(E-Mail Removed)> wrote in message
news:87e27$4488130e$40cba7bf$(E-Mail Removed)...
> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to have margin-left: 10%; margin-right: 10%; only sometimes?? Cal Who ASP .Net 4 05-17-2010 12:17 PM
How to have margin-left: 10%; margin-right: 10%;" only sometimes Cal Who ASP .Net 1 05-16-2010 08:53 PM
Epson 4000 - margin to margin? nobody Digital Photography 6 03-28-2005 05:17 PM
Making a margin on the right Cogito HTML 20 05-31-2004 01:56 PM
margin-right in IE6 chlori HTML 2 07-14-2003 10:48 AM



Advertisments