Log in

View Full Version : CSS Scroller Question



allielopez
07-10-2009, 02:08 PM
Hey Everybody,

Question for you....I have a css scroller box on this page:

http://www.hollywoodbeachhostel.com/


I am on a MAC and see the scroller box perfectly with none of the text getting cut off. But a co-worker on a PC and also I saw on Browser Shots that the last sentence you see before you scroll down gets cut off at the middle.

They want to try and have this fixed (more for aesthetics then for anything else). I have tried padding but it doesn't seem change anything. Can something like this be controlled?

I don't think so but I thought I would ask first.

Thank you!!!!

hyde360
07-10-2009, 02:13 PM
Have you tried this:



overflow: hidden;


This sometimes stops content overflowing outside the div container, I've had a similar issue to you before when I was doing a friends website... So hopefully it might work for you... If it doesn't then let me know :)

allielopez
07-10-2009, 04:43 PM
Hmmmm...didn't seem to work because it hid the scroll bar all together. : (

SlidingHorn
07-10-2009, 05:01 PM
Try adding:


* html #content {
overflow: visible;
}

You have to reset the overflow for IE. Place it after your current #content rules

allielopez
07-10-2009, 05:05 PM
They want it on this section of text? They don't like that last sentence getting cut off at the middle but I didn't think that was something that css could control.

Especially across different browsers. I always thought that depended on your browser, monitor settings, etc.