Hello,

I am quite new, in Dreamweaver CS4 I have 2 a 3 sites with lot's text as information. The customer do not want have a scroll bar viewing on this particular site location. I was wondering how can I exclude the scroll bar viewing in the browsers with keeping text scrolling if the text is too long by mouse over i.e.?

see below the CSS code:

}
#BodyText {
    position:absolute;
    left:265px;
    top:90px;
    width:400px;
    height:555px;
    z-index:3;
    color: #FFF;
    text-align: justify;
    font: normal 14px Gill Sans, Gill Sans MT, sans-serif;
    padding-right: 10px;
    font-family: "Gill Sans", "Gill Sans MT", sans-serif;
    font-size: 14px;
    overflow: auto;

and the site source code;

<div id="master">
  <div id="Background">
    <div class="menu" id="BodyText">
      <p>2010 Nieuws construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction</p>
      <p> Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction</p>
      <p>Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction. Under construction Under construction Under construction Under construction Under construction Under construction Under Under construction Under construction Under construction Under construction Under construction Under construction UnderUnder construction Under construction Under construction Under construction Under construction Under construction UnderUnder construction Under construction Under construction Under construction Under construction Under construction Under</p>
    </div>

Thanks so much indeed!

Recommended Answers

All 2 Replies

Change overflow: auto; to overflow: hidden;

If this is for the main body/HTML of the page, it may not work in all browsers as it's kinda up to the browser if the scroll bar will always appear.

Or was this not what you were referring to?

Thanks I am aware about your suggestion...but I would like have the scroll bar not be display in the browsers. The customer don't like the scroll bar in the layout. Is it possible to have only down and up arrows? Only the text must be able scroll when it is longer. Pls see the attached scroll bar viewing.png

Thank you so much already for your kind help!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.