You are here: Re: Basic formatting HTML question « HTML « IT news, forums, messages
Re: Basic formatting HTML question

Posted by Fred on 05/10/06 22:03

Thanks, JK!!

"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote in message
news:Xns97BE9A994D7D5jkorpelacstutfi@193.229.4.246...
> "Fred" <testing@testing1212mouse.com> wrote:
>
> > On a page with all text, when the lines wrap at the right, some words
butt
> > right up to the very edge of the screen. This makes it look like the
text
> > runs off the screen, even though it doesn't.
>
> You seem to think that the page is viewed in fullscreen mode. That's
surely
> possible, but you should think in terms of a _window_ or, most
appropriately,
> _canvas_ (the part of window or paper or other presentation area that is
> allocated for rendering the document).
>
> > I think I have seen code that makes the text take up only a certain
amount
> > of the screen -- say 95%. Can someone pls give me a hand on this?
>
> That would be possible, but you really don't want that. In most browsers,
> there is small but usually sufficient padding between the page content and
> the canvas edge. Have you done something to remove it?
>
> But if you think the default padding is insufficient, you can use a little
> piece of CSS to suggest something slightly different, e.g.
>
> <style type="text/css">
> body { margin: 0;
> padding: 0.4em 1em 0.4em 1.5em; }
> </style>
>
> This sets the top and and bottom padding to 0.4em, right padding to 1em
and
> left padding to 1.5em, which should be (more than) sufficient. The em unit
> roughly corresponds to 2 or 2.5 times the average width of a character.
>
> Followups rationalized.
>
> --
> Yucca, http://www.cs.tut.fi/~jkorpela/
> Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
>
>

 

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

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