Reply to Re: Beginner's question: How to limit page width?

Your name:

Reply:


Posted by Jukka K. Korpela on 01/18/07 23:18

Scripsit dchris@netcom.ca:

> My web page is at www.dcproof.com. I used Front Page to create it.

Copy the texts you have there into a safe place and start afresh. You need a
new start, not patches. Read a book or tutorial on web design first.

> How
> do I limit the page width without using breaks so that text does not
> go across the entire page

That's easy once you've done the homework. You will have learned how to use
very basic CSS, and then you can add there, for example

body { max-width: 40em; }

Make sure you have a correct DOCTYPE declaration at the start so that
browsers will work in "standards" mode. Note that the above rule is ignored
by IE versions up to IE 6 inclusively, but this isn't a big issue. This is
about optional styling, and you get a reasonably good and rapidly increasing
browser coverage. There's really no need to start learning clumsier
techniques that can simulate this simple setting in older browsers.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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