You are here: Re: Setting DIV Height « HTML « IT news, forums, messages
Re: Setting DIV Height

Posted by Jeff Bowman on 12/23/06 03:03

"Bergamot" <bergamot@visi.com> wrote in message
news:4v16psF19onp4U1@mid.individual.net...
> Regardless of the type of container, setting a fixed height rarely works
> well with text elements, especially when the height is set in px units.

FWIW, the only time the control emits table markup is if the FillColorBegin
and FillColorEnd properties aren't the same--IOW a gradient is called for,
such as in this particular example. And that's only because I'm pretty sure
it's not possible to stretch a background image--but I could be wrong.

If there's no background image there's no need for a fixed height and
therefore no need for a table.

Maybe I should be asking instead if there's a way to stretch a background
image?



> Take a look in Firefox with text zoomed up a couple notches and see what
> happens.

Yep, spotted that one already. Same considerations as above apply.

I may end up having to just warn users of the control about the design
issues associated with setting a gradient fill, although I hope it doesn't
come to that last resort.

 

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

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