PDA

View Full Version : un-wanted horizontal scroll-bar on mac?



Jason_Michael
26th Aug 2008, 07:02 pm
Good afternoon people.

Does anybody know how to remove a horizontal scroll bar on a mac?

In the HTML i have the below code as the mark up for a scroll box, and it works perfectly in Explorer on a PC. With a vertical scroll-bar and NO horizontal scroll-bar.... which is what i want.

However, when viewing the page on a MAC, a horizontal-scroll bar appears- which i dont want.

<div class= "scroll_text" style="height: 250px; width:340px; text-align: left; overflow-x: hidden; overflow-y: scroll; background:#303030; overflow: scroll;">


Any ideas as to why that is? I would have thought that the 'overflow-x hidden;' would have worked?

David
2nd Sep 2008, 08:26 pm
From memory, this is a browser "feature". I remember seeing an article about it not long ago but can't remember where. Probably worth a Google.