Html scroll bar -- affect link rankings?

By space confinements, placing an html scrollbar like:

<div style="height:40px;width:300px; font-family: Arial, Helvetica, sans-serif; overflow: auto; padding: 5px 0 0 5px;"></div>

Might this affect rankings for the internal links placed inside?

Is your plan to place the links within the div tag? If so as long as they are valid links within the html code and not inserted dynamically via javascript then I think you should be ok.

After you make the change monitor your traffic and impression to see if there is any negative impact though just to make sure they are not having any problems with the code.

no javascript - I’m becoming javascript averse

Engines are smart and can certainly tell if you use a DIV to hide something. If it has a height and width I can’t see it being an issue given how much of the web is now AJAX drive.

As far as Google’s concerned, you have a <div> that has some links in it, and it’s got some CSS applied. As long as you haven’t got anything potentially dodgy like hidden content aimed at search bots, it really couldn’t care less about the actual display, and certainly won’t pay any attention to the fact that for some people it will invoke an internal scrollbar.

  • Appreciate the input. (though in reality, unaware of, if mobile devices like phones can do the scroll thing - the scrollbar still makes sense in this case)

Remember that behaviour for overflow:auto; is not defined. Desktop browsers generally use a scrollbar, but it isn’t Written that that should be the case.

Opera Mobile simply expands the element to contain all text whether you use overflow:auto; or overflow:scroll; – it won’t create an internal scrollbar on an individual element, because it would be pretty much unusable within the context of operating a mobile phone browser.

Might this be considered “dodgy”:

overflow: -moz-scrollbars-vertical;
overflow-x: hidden;
overflow-y: scroll; 

That simply eliminates the horizontal scroll bar, to clean things up.