Forum Moderators: not2easy

Message Too Old, No Replies

can't get rid of scrollbar in Netscape

no scrollbar in IE, but DIV has scrollbar in NS - why?

         

Shadows Papa

4:44 pm on Oct 1, 2003 (gmt 0)

10+ Year Member



Arrrgh! The page is picture perfect in IE, but with Netscape, I get a scrollbar ON the page, the DIV scrolls. Why?
It shouldn't in my mind, doesn't in IE, but I get this stupid scrollbar in Netscape. Gee, the browser itself has one, why should there be one in the middle of my page?

Here's part of the CSS:

body {
Background-Image: url(../images/featheredstar2.gif);
Background-repeat: repeat;
Background-Attachment: fixed;
}

div.content {
background-color: white;
border-style: dashed;
border-width: 1px;
border-color: #4682B4;
margin-left: 45px;
margin-right: 45px;
}

The page has a background image, the middle, or content area is white background, dashed border.
I'm stumped. I did a search here and find nothing.....

Shadows Papa
<arrrgh>

Reflection

4:51 pm on Oct 1, 2003 (gmt 0)

10+ Year Member



You get a scroll bar in the middle of the page? Hmmm maybe post a bit of the html.

Shadows Papa

5:19 pm on Oct 1, 2003 (gmt 0)

10+ Year Member



Well, I shouldn't say "middle", it's on the right side of the DIV that has the "content" of the page. I "played" with the CSS and added "overflow: none" to the file as below and the scrollbar disappeared. Seems to be fine in IE as well. Why would I even get a scrollbar there? Why should I need that?

Shadows Papa

div.content {
background-color: white;
border-style: dashed;
border-width: 1px;
border-color: #4682B4;
margin-left: 45px;
margin-right: 45px;
overflow: none;
}