You are here: Re: Limiting content width - DIV or BODY? « HTML « IT news, forums, messages
Re: Limiting content width - DIV or BODY?

Posted by Michael Laplante on 02/01/12 11:46

"Jonathan N. Little" <lws4art@centralva.net> wrote in message
news:4456d211$0$3708$cb0e7fc6@news.centralva.net...
> Michael Laplante wrote:

> so with pixels position placed blocks within the document the text may or
> MAY NOT fit properly when printed.

I agree. However, in theory, a print stylesheet would "redesign" the page
for print. I've been experimenting with print stylesheets. Essentially I
turn off all the graphic elements, and re-size the center container and the
text containers. However, I run into one of two issues:

In Gecko browser, DIV elements don't print across pages. But, if I get rid
of the DIV, I then encounter the margin problem in IE.
I haven't figured out a way around this and haven't come across any
references that offer a fool proof way around it either.

> You can either design with more flexible layout where placement is
> proportional to the text or if you must have precision printing use PDF.

Agree that PDF seems to be the only sure way right now.

> In Gecko browsers, (Firefox, SeaMonkey, Netscape, et al.) If you hit CTRL
> + just twice the menu text grows larger than the block element LI so the
> bottom of the text is chop off. I'd call that broken. The height is
> constrained with absolute values rather than proportional to the text.

Aah, there's something I didn't know. I can set up containers that will
re-size and maintain their relative vertical spacing with changing text
size. How do I do this? (URL to a tutorial?)

> BTW your markup a hodge-podge of deprecated markup and CSS.

No argument. Thass why I'm here. . . :)

M

 

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

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