...

View Full Version : div with scroller



esthera
10-26-2010, 07:21 PM
i'm using to make my div scroll
#body
{
font-family: 'Times New Roman' , Times, serif;
font-size: 15px;
color: #000000;
width:650px;
height:435px;
overflow:auto;
padding-right:10px;
padding-left:10px;
}

in firefox the scroller shows within the div and in ie it's out of the div - -how do I make it in the div for both

Apostropartheid
10-26-2010, 08:15 PM
Assuming that this is applied to regular div, it shouldn't be doing this. Link please.

esthera
10-27-2010, 06:21 AM
http://www.s home atefila.org/new/

please remove spaces

Apostropartheid
10-27-2010, 03:34 PM
On the body element, add the attribute dir with the value rtl.

esthera
10-27-2010, 05:29 PM
how can i get it within the box but on the right side

Apostropartheid
10-27-2010, 06:04 PM
A sort of hack is to apply the direction property with the value ltr to #body and get rid of your width property via CSS. That changes the side of the scrollbar in IE.

santhoshj400
10-30-2010, 10:34 AM
A sort of hack is to apply the direction property with the value ltr to #body and get rid of your width property via CSS. That changes the side of the scrollbar in IE.
Hi,
Give
overflow:scroll ;
this makes div as scroll try it

Apostropartheid
10-30-2010, 04:49 PM
Hi,
Give
overflow:scroll ;
this makes div as scroll try it

Did you even look at the website or read the problem?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum