Reply to Re: Limiting content width - DIV or BODY?

Your name:

Reply:


Posted by BootNic on 04/29/06 09:38

> "Michael Laplante" <nowhereman@twilightzone.net> wrote:
> news:qdy4g.2673$Yy5.1872@edtnps89....
>
> I'm trying to produce a "print friendly" version of a page. I used:
>
> <body style="width: 75%; margin-left: auto; margin-right: auto;">
>
> In Netscape and FF, this produced a page with a margin about it
> nicely centered on the page.
> However, IE's output is clear across the page with no margins.
>
> Best way to solve this problem?
>
> Use a div instead?
> Use a table for a brute force method?
> Tweak my <body> tag somehow for IE?
>
> I'm relatively new to CSS.

Are you using any kind of Document Type?

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

--
BootNic Saturday, April 29, 2006 2:37 AM

If the facts don't fit the theory, change the facts.
*Albert Einstein *

[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

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