PDA

Click to See Complete Forum and Search --> : <div> in combi with text padding right?



m_lardenoye
03-14-2007, 05:28 PM
hi

i have a text block (div), with scroll bar. i want the scroll bar to be on the far right side, but the space between the text and the scroll bar should be at least 400 pixels.

css is now

#tekstbox {
color: #000000;
text-align: left;
height: 440px;
width: 950px;
overflow:auto;
margin: 0px;
padding: 0px;
position: absolute;
top: 230px;
left: 40px; }


padding doesnt not work...
padding-right:400;

anybody?

aversion
03-14-2007, 06:08 PM
padding-right: 400px;

should work.