You are here: Re: vertical centering in css « HTML « IT news, forums, messages
Re: vertical centering in css

Posted by Neredbojias on 10/01/06 11:43

With neither quill nor qualm, google@rbtbowers.com quothed:

> I am trying to get text vertically centered on a web page using css.
> My html is below. One question I have is why the vertical positioning
> is different in Print Preview in ie6 than in the browser window. The
> text is much higher on the page when printed out than it appears in
> the browser window.
>
> I am using <br> to vertically position the lines of text relative to
> each other. I put the font size and style in the body rather than
> in the css because I want different styles and sizes of text on
> different lines. If there is a better way to do that, perhaps in the
> css, please let me know how it is best done.
>
> Also, my background image is cut off at the bottom in the browser
> window, but looks fine when printed out. There are also no scroll
> bars. I realize you don't see my image in the html below, but in
> general, why doesn't the browser take into consideration the vertical
> size of the background image and either adjust the size of the window
> or add scroll bars accordingly?
>
> Thanks in advance for the help,

http://www.neredbojias.com/zyxix/vcsc/vcsc.html

Background images are not considered in fluid design.

--
Neredbojias
Contrary to popular belief, it is believable.

 

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

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