Help - Search - Members - Calendar
Full Version: Two problems with a Scroll Box
HTMLHelp Forums > Web Authoring > General Web Design
tharpdevenport
As seen here:

http://auntieizzy.150m.com/index.html

(using Internet Explorer 7, WindowsXP)


Problem 1:
You can't see the bottom of the scroll bar.


Problem 2:
I can't get that scroll bar to touch the right side. I am wanting it to go all the way to to the cell's padding, with is 20px right side. I tried adjusting the width of the Scroll Box to the same width as the TABLE -- 62%, but it encompassed the whole horizantal width of the page. So then I tried adjusting the width in pixels, but over 500px and it starts to fudge over onto the buttons in 800x600 screen display.


What to do. What to do. wacko.gif
Darin McGrew
The script element that comes before the doctype declaration throws MSIE into quirks mode. That can't help. See also Activating Browser Modes with Doctype.
tharpdevenport
The script element is part of the code the site provider puts in automatically when the page loads; I have no control over that. The Scroll Box works fine on every other level, so I would assume that is not doing it but rather I am not doing something right.
tharpdevenport
Never mind Problem 1. After some creative thinking I realized something and it worked. The problem surprisingly simple:


I had set padding inside the Scroll Box, but I neglected was MARGINS for the Scroll Box; fixed it right up.
Darin McGrew
QUOTE
The script element is part of the code the site provider puts in automatically when the page loads; I have no control over that.
Sure you do. You could use a provider that doesn't break your markup.
pandy
QUOTE
I can't get that scroll bar to touch the right side. I am wanting it to go all the way to to the cell's padding, with is 20px right side.


Looks like there's where it is.
tharpdevenport
You're right Pandy. Making the Padding equal on all four sides, then setting hte Scroll Box width to 100% solved he problem. Though for some reason 100% Height doesn't work the same, so I had to adjust the percentage to something lower.


Maybe yu guys can tell me something else. The buttons are flip images and they work, but I have to wait with the mouse over one for the fliped image to appear; it doesn't happen right away. Then the buttons each work when I do that to each, but after a while it stops working. What's up with that?
Darin McGrew
I can't help with the rollover stopping working after a while, but to avoid the delay without preloading images, see Fast Rollovers Without Preload.
tharpdevenport
I ahve no preload script on the page. Though I used that on another site, with the same kind of flip buttons, and still came up with the same delay.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.