You are here: Re: [CSS] overflow: scroll; « HTML « IT news, forums, messages
Re: [CSS] overflow: scroll;

Posted by Chris F.A. Johnson on 01/16/82 11:56

On 2006-08-23, Martin Pöpping wrote:
> Hello,
>
>
> I have a problem with overflow scroll. When I use it like in this div tag:
>
> div#content{
> padding-left: 5px;
> padding-right: 5px;
> position: absolute;
> border: solid 1px #526e86;
> height: 610px;
> top: 0px;
> width: 480px;
> left: 190px;
> text-align: justify;
> overflow: scroll;
> }
>
> It works fine in general, but I have the problem that the scrollbars are
> _always_ shown. Also if they are not needed.

overflow: auto

> For example the text in my div-tag is always smaller than the width of
> the div-tag (480px). Therefore there is always an inactive horizontal
> scrollbar shown.
>
>
> Is there a way to avoid that?

Many problem disappear if you remove width specifications with
fixed px sizes.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

 

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

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