PDA

View Full Version : Horizontal Scroll


BIG David
08-25-2005, 02:36 AM
I'm starting to find my way through the <div id="Scroller"> but there is still one thing...
Can anyone tell me why my text box has an horizontal scroll when none of the text is actually overflowing on the sides?

domedia
08-25-2005, 04:34 AM
David, you forgot to post your html/css :)

BIG David
08-25-2005, 01:21 PM
Here it is for the CSS style sheet:

<style type="text/css">
<!--
#Scroller {
overflow: auto;
height: 149px;
width: 368px;
left: 331px;
top: 311px;
}
.Style1 {
font-size: 10px;
color: #FFFFFF;
font-family: Geneva, Arial, Helvetica, sans-serif;
line-height: 12px;
padding-right: 8px;
}
-->
</style>

And here is the <div> :

<div id="Scroller">
<table bgcolor="#000000" height="149" width="368" border="0" cellspacing="0" cellpadding="10">
<tr>
<td valign="top">
<p align="justify" class="Style1">dfsfasdfsadfasfasdf sagfasdfg as sdfgasdfg as sfd xfcv
tgsfzsergef as gdfbertqwevfdhwetreg ergawe fger gw ergfr egq QT WEFGQ ujgazerhh
etr aertheah r thaerth aehdff hter er hsergeaeerhhaehe th atha aerg ae ear ae earygea rh
dfsfasdfsadfasfasdf sagfasdfg as sdfgasdfg as sfd xfcv tgsfzsergef gdfbertqw evfdh
wetr eg ergawe fger gw ergfr egq QT WEFGQ 34 SDFVGSEdy j ujgazerhh etr aertheah r
thaerth aehdff hter er hsergeaeerhhaehe th atha aerg ae ear ae earygea rh
dfsfasdfsadfasfasdf sagfasdfg as sdfgasdfg as sfd xfcv tgsfzsergef as
gdfbertqwe vfdhwetreg ergawe fger gw ergfr egq QT WEFGQ
34 SDFVGSEdy ujgazerhh etr aertheah r thaerth aehdff hter er hsergeaeerhhaehe th
atha aerg ae ear ae earygea rh.wetr eg ergawe fger gw ergfr egq QT WEFGQ 34
thaerth aehdff hter er hsergeaeerhhaehe th atha aerg ae ear ae earygea rh
dfsfasdfsadfasfasdf sagfasdfg as sdfgasdfg as sfd xfcv tgsfzsergef as
gdfbertqwe vfdhwetreg ergawe fger gw ergfr egq QT WEFGQ
34 SDFVGSEdy ujgazerhh etr aertheah r thaerth aehdff hter er hsergeaeerhhaehe th
atha aerg ae ear ae earygea rh.</p>
</td>
</tr>
</table></div>

domedia
08-25-2005, 02:42 PM
Just remove height and width for your table. Not needed and deprecated code anyways.
<table bgcolor="#000000" border="0" cellspacing="10" cellpadding="0">

..and viola! ;)

BIG David
08-25-2005, 10:32 PM
THANK YOU SO VERY MUCH!

I've been on that glitch for close to 5 hours now! But it only works on Safari. It still gives me a horizontal scroll in IE.

Is there something else that may cause this?

Oh and by the way... it's VOILA, not viola!!!
Merci beaucoup.

_david

ranjan
08-25-2005, 11:19 PM
IE 5.2 on mac? If yes there is no solution I know of. Its a dead browser anyways

domedia
08-26-2005, 12:14 AM
IE 5.2 on mac?
..never has a browser given me so many grey hairs..
It got all the CSS rave when it came out (superior CSS support compared to it's equivalent from the team making the IE5 version for PC), but it has it's own little family of CSS bugs which makes it really annoying lol.

BIG David
08-26-2005, 01:59 AM
Basically you're telling me that anyone using IE on PC will not see the horizontal scroll in their screens? Or will its origine (being on MAC) effect other browsers in other computers?

Thanks again.
_david

ranjan
08-26-2005, 07:16 AM
The IE on macs are completely different than their counterparts on Windows.

If done properly the scroller will not have a horizontal scroll. Post a URL and we can check it for you on windows