A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: <div> in combi with text padding right?

  1. #1
    Senior Member
    Join Date
    Nov 2004
    Posts
    114

    <div> in combi with text padding right?

    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?

  2. #2
    Retired Mod aversion's Avatar
    Join Date
    Jun 2000
    Location
    insomnia
    Posts
    7,917
    padding-right: 400px;

    should work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center