Scrollbars are often a visual nuisance, and are rarely necessary to display the MetaLocator interface on your Web site. There are a few factors that can cause the browser to add a scrollbar, and this article explains the various items to consider when attempting to eliminate a scrollbar around your search interface. Generally speaking, scrollbars are created by the browser when something is too large for its container. MetaLocator does it's best to fit within most web sites, but on narrow or short layouts, some adjustments might be necessary to create a seamless interface.
Scrollbars Around the InterfaceItems that can impact height, in the order of most-probably-responsible-for-scrollbars first:
- Frame Added Height. Found under "Style Settings". This is the number of pixels added to the bottom of the Interface. This is done so that the interface can grow once search results are displayed without creating scrollbars. If your Interface's map or other settings cause it to grow outside these rather comfortable limit, increase this number to reserve more vertical space for the Interface.
- Layout Settings. These options include the map width and height and the directory width and height. If these total to create an interface larger than the space available within the container in which the Interface code was pasted, a scrollbar will be induced. Mitigate this issue by either possibly increasing the size of the containing element on your Web site, or decreasing these options to create a smaller interface which fits in the available space.
- CSS. Custom CSS provided under Style Settings can certainly cause scrollbars and would need to be evaluated on a case-by-case basis. Generally, if adjustments have been made to the CSS which created scrollbars, who ever made those adjustments is likely best suited to correct the problem.