milov.nl

Interaction design • webdevelopment • web art • photography

milov.nl : forum : coding : 'no scrollbar in IE?'

no scrollbar in IE? huphtur, 011230 07:22
when the content of a page is smaller then the IE browsers window, theres still an (empty useless) scrollbar on the right. is there a way to get rid of it?
sc-66-27-2-18.socal.rr.com
Re: no scrollbar in IE? milov, 011230 11:53
<style type="text/css">
<!--
body { overflow:hidden; }
-->
</style>
 
kf-nawij-tg01-0979.dial.kabelfoon.nl
Re: no scrollbar in IE? milov, 011230 16:07
You can also try overflow-x:hidden; or overflow-y:hidden; (not sure if these validate, but they work in IE6).
kf-nawij-tg01-0979.dial.kabelfoon.nl
Re: no scrollbar in IE? NDF, 020103 16:39
<BODY scroll="no">

Works for me!!
webcacheB01a.cache.pol.co.uk
Re: no scrollbar in IE? Jeroen, 020129 23:23
I prefer the CSS one. Don't tell me why :)
ip503ca1e3.speed.planet.nl
Re: no scrollbar in IE? Jeroen, 020212 22:25
Mmmmm and is it also possible to disable the X scrollbar and not the Y scrollbar?
ip503ca1e3.speed.planet.nl
Re: no scrollbar in IE? milov, 020212 23:04
Yep, it's possible, using overflow-x. To disable X scrollbar and not Y scrollbar:
body { overflow-x:hidden; }
 
Or to disable Y scrollbar and not X scrollbar:
body { overflow-y:hidden; }
 
Note: these are probably IE-only (not w3 standard)...
kf-nawij-tg01-0274.dial.kabelfoon.nl
Re: no scrollbar in IE? toine, 020412 23:04
On a side note, if an IFRAME has a vertical scrollbar, how should it's width be determined? IE6 does it differently from IE5, Mozilla 0.9.9 and Opera 6...
b86254.upc-b.chello.nl
Re: no scrollbar in IE? Eric Newport, 020414 09:52
Unfortunately, a great deal of those commands will NOT work in some Netscape versions. Even NS6 isn't even close to being "easy" to design for.

But if you're only designing for IE you can go to http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp?frame=true to see a complete list of every html tag, css command, ect. I find it very useful.
ChanuteKs.com
Re: no scrollbar in IE? Patrick, 020528 17:04
The problem is that if you disable the scrollbar and you design and it works in 1024 then someone is set at 800 - they have half their page cut off. I have this problem in a site that is designed for 1024 and for some reason - in IE on Mac a very useless scrollbar appears - after the javascript menu has loaded - SO the menu appears partially under the useless scrollbar. I guess I could test for size and have 2 different style sheets - but that seems like a bunch of monkeying around.
207.241.31.65
Re: no scrollbar in IE? ,Unknown,biwols, 020802 02:31
Try this, It will make the scroll bar move without useing the bar it's self. You can use the <body scroll="no"> to remove the scroll bar then add this script at the end of your HTML before the </body> tag.
(u must have up and down arrow pics for this script)



<div id="staticbuttons" style="position:absolute;">

<a href="javascript:" onmouseover="myspeed=-thespeed" onmouseout="myspeed=0"><img

src=" UP PIC SRC HERE " border="0"></a><br>

<a href="javascript:" onmouseover="myspeed=thespeed"

onmouseout="myspeed=0"><img

src=" DOWN PIC SRC HERE " border="0"></a>
</div>

<script>


var Hoffset=70 //Enter buttons' offset from right edge of window (adjust depending on images width)
var Voffset=80 //Enter buttons' offset from bottom edge of window (adjust depending on images height)
var thespeed=8 //Enter scroll speed in integer (Advised: 1-3)

var ieNOTopera=document.all&&navigator.userAgent.indexOf("Opera")==-1
var myspeed=0

var ieHoffset_extra=document.all? 15 : 0
var cross_obj=document.all? document.all.staticbuttons : document.getElementById? document.getElementById("staticbuttons") : document.staticbuttons

function positionit(){
var dsocleft=document.all? document.body.scrollLeft : pageXOffset
var dsoctop=document.all? document.body.scrollTop : pageYOffset
var window_width=ieNOTopera? document.body.clientWidth+ieHoffset_extra : window.innerWidth+ieHoffset_extra
var window_height=ieNOTopera? document.body.clientHeight : window.innerHeight

if (document.all||document.getElementById){
cross_obj.style.left=parseInt(dsocleft)+parseInt(window_width)-Hoffset
cross_obj.style.top=dsoctop+parseInt(window_height)-Voffset
}
else if (document.layers){
cross_obj.left=dsocleft+window_width-Hoffset
cross_obj.top=dsoctop+window_height-Voffset
}
}

function scrollwindow(){
window.scrollBy(0,myspeed)
}

function initializeIT(){
positionit()
if (myspeed!=0){
scrollwindow()
}
}

if (document.all||document.getElementById||document.layers)
setInterval("initializeIT()",20)

</script>
65.101.103.133
Re: no scrollbar in IE? JiMmEkE, 020907 10:16
yes very cool this scrollbar but now my middle wheel mouse is also disabled. So i can't scroll with it anymore.
how can i activate the mouse wheeler whitout showing that nasty standard window scroller on the right ?
e162071.upc-e.chello.nl
Re: no scrollbar in IE? milov, 020907 11:14
Well, if you really want to discourage people from using the scrollbar (which might not be appreciated by people who don't have a mousewheel), you could always colour the scrollbar the same as the background color... That way you don't have to disable it and the mousewheel will still work:
body
{ background-color:#666666;
scrollbar-face-color:#666666;
scrollbar-shadow-color:#666666;
scrollbar-highlight-color:#666666;
scrollbar-3dlight-color:#666666;
scrollbar-darkshadow-color:#666666;
scrollbar-track-color:#666666;
scrollbar-arrow-color:#666666; }
 
kf-nawij-tg01-1451.dial.kabelfoon.nl
Re: no scrollbar in IE? JiMmEkE, 020908 17:06
hel thats cool.
i've just pasted the css code of it in my page same idea.
now i came here to find an other awnser. but you gave me the same. funny.
thx any way for replying.
the problem now is that the page gets about 20 pixels smaller because of the bars.
and because of that my scroll arrows go over my typt messages.
looks messy.
anybody got an awnser on that one.
e162071.upc-e.chello.nl
CAN I MAKE AN IMAGE INTO A SCROLL BAR? attbi.com,aeboarder3000,FHC_Drumline, 020909 20:08
hey,
im designing the webpage for our drumline and percussion ensemble and am trying to incorporate as much percussion equpiment as possible into the page.......

---Can i make the scroll bar be a drumstick or something if i have the gif files on my comp?---

please help me out with this.......aeboarder3000@attbi.com
206.114.36.7
Re: no scrollbar in IE? JiMmEkE, 020909 22:44
well same awnser i guess hide the old scroll bar. cut your drum stick in two and put them in place of the arrow.gif

should work with the code from above
e162071.upc-e.chello.nl
CSS fix John Webber, 021027 21:22
Many thanks to milov for his CSS fix. I tried to remove scrollbars using javascript:

<head>

<script language="_JavaScript">

<!-- Begin

function hidden()

{document.body.style.overflow='hidden';}

function unhidden()

{document.body.style.overflow='';}

// End -->

</script>

</head>

<body onfiltered="hidden()">

</body>



That didnt work so I went looking for the answer, stumbled into this thread, and fixed the problem.
Thanks again.

John
www.footbags.net
chcgil2-ar2-4-64-103-122.chcgil2.dsl-verizon.net
Re: no scrollbar in IE? hkhkh, 021104 11:19
hkhk
azubi.init7.net
Re: no scrollbar in IE? Lukas Oborsky, 021114 22:25
It is a very simply: it is enough to define your CSS like BODY {overflow:auto}. Maybe there has to be a Strict DTD defined in your HTML (HMTL 4.01 Strict or XHTML 1.0 Strict).
alfa.krystalka.com
Re: no scrollbar in IE? biwols, 021117 20:52
What about people that don't have a mouse wheel?, they wonn't be able to scroll.
65.101.103.170
chroma Filters? biwols, 021117 21:06
<span style="width: 400; height: 200; font-family: Veranda; background: Black; Filter:Glow(Color=#YELLOW, Strength=4)">
<b><i>Does any one know how to use Chroma for CCS?<br>
I can't get it to work.</b></i> </span>
65.101.103.170
chroma Filters? biwols, 021117 21:08
[span style="width: 400; height: 200; font-family: Veranda; background: Black; Filter:Glow(Color=#YELLOW, Strength=4)"]
[b][i]Does any one know how to use Chroma for CCS?[br]
I can't get it to work.[/b][/i][/span]
65.101.103.170
Re: no scrollbar in IE? biwols, 021117 21:09
Oh, and why doesn't this board read scripts?
65.101.103.170
Re: no scrollbar in IE? jp_fx, 021121 08:09
thanks for the code!
202.174.134.4
Re: no scrollbar in IE? hanuman, 021219 08:37
>>It is a very simply: it is enough to define your CSS like BODY {overflow:auto}.

Worked like a charm. Thank you, Lukas Oborsky.
anhq43v8y372e.bc.hsia.telus.net
Re: no scrollbar in IE? A Wilderbeast, 030112 12:11
can you make the main scrollbar not appear at all??????
dialup.212-50-177-188.karoo.KCOM.COM
Re: no scrollbar in IE? kevin, 030120 17:56
yes just follow the previous advice and use this css:

<style>
body
{
overflow-x:hidden; overflow-y: auto;
}
</style>
cache-mtc-aa10.proxy.aol.com
Re: no scrollbar in IE? kevin, 030120 17:58
sorry for double posting but to John Webber, the reason your javascript mightnot have worked is because you should have put

body onLoad="hidden()"
cache-mtc-aa10.proxy.aol.com
Re: no scrollbar in IE? G, 030127 05:49
AWESOME!@ WORKS ON TEXTAREAS TOO! CSS FOREVER!
223-47.dslpool.net
Re: no scrollbar in IE? it-em.co.za,werner,werner, 030205 10:05
does any anyone know if there is a way to get the widht of the scrollbar at the right
na.sdn.net.za
widht of the scrollbar at the right... Calm_Pear, 030205 16:20

<html>
<head>
<title></title>
<style type="text/css"><!--
.without { overflow-x:hidden; overflow-y: auto; }
.with { }
--></style>
<script language="javascript" type="text/javascript">
//<![CDATA[
<!--
function test(){
document.body.className = "without";
var w1 = document.body.clientWidth;
document.body.className = "with";
var w2 = document.body.clientWidth;
lbl.innerText = w1 - w2;
}
//-->
//]]</script>
</head>
<body onload="test()">

<div id="lbl"></div>

</body>
</html>
 

I don't know if this works in browsers other than IE, and I always thought that the width was 20px...
node-c-0406.a2000.nl
Re: no scrollbar in IE? , 030224 03:36
which is a better language to incorporate with HTML, and why?:
-JavaScript
-CSS
-PHP

I appreciate you reply, i am looking to develope some DHTML sites soon and need to know which language to follow. thx alot
AC96E511.ipt.aol.com
Re: no scrollbar in IE? Which Languages to use? - Answer… logspirit, 030228 00:05
JavaScript is CLIENT SIDE SCRIPTING - it runs on the surfer's computer... Good to spread the computing load to the client (your surfers)... BUT! They can shut it off!!! Good for non critical scripts - formatting, rollovers, 'bells & whistles' that give Your site some user interaction - if the script is critical to the operation of Your site LET YOUR SURFERS KNOW!!! Instruct them as to how to enable JavaScript. For a FREE Introductory 5 week JavaScript class see: http://class.scriptschool.com/javascript/101/ (Which I Authored - but many folks say it is very good! Includes a forum for Your questions.)

CSS is strictly for formatting. By using an EXTERNAL CSS 'style sheet' You can alter the look of all Your sites' pages without changing each page one at a time.

PHP is SERVER SIDE scripting. It runs on the server BEFORE the page is sent to the surfer. Especially good for dynamic pages - those which automatically update from various data sources, like XML feeds. It is good to incorporate DATABASE operations especially MySQL but PHP works well with many databases or even just simple server side files. Has 'session variables' which work like temporary cookies for - 'keeping state' - sharing data from page to page on your site during a browsing 'session', but unlike cookies, they do not require your surfer's permission. Good for shopping carts, search engines, translations, spell checking, dynamic graphics, sending automatic email through scripts, secure entries, back end database access, ftp, etc. etc. etc. For an excellent FREE introductory 16 week class on PHP: http://www.scriptschool.com/php/ (Which I did NOT author. Has a forum for Your questions.)

I hope this is helpful... if a bit off topic!!! Perhaps I'll re-post it again under a new title...
155.p2.dialup.gru.net
You guys really help out Ephialtes, 030302 21:44
Thanks for the info...saved me a lot of searchin...btw visit www.pixelnations.com if u like animatin and graphics
host217-36-5-182.in-addr.btopenworld.com
Re: no scrollbar in IE? Stephen Gardner, 030303 03:44
Thanks a lot Kevin! I tried everythign these guys posted and only

body
{
overflow-x:hidden; overflow-y: auto;
}

worked. You're a god save because this was really pissing me off. =P By the way, my site that had the problem is http://ww.StephenGardner.tk My weblog. =P
43.124.35.65.cfl.rr.com
Re: no scrollbar in IE? eternal soro, 030307 19:31
i dont want the vertical scroll please someone give me that tag!
adsl-67-119-137-95.dsl.lsan03.pacbell.net
Re: no scrollbar in IE? Ethan, 030307 21:33
That rules!!!
That body style works for pages placed in iframes also!

Here you go eternal soro, just swith the x and y.
:)

body
{
overflow-y:hidden; overflow-x: auto;
}

216.136.112.184
Re: no scrollbar in IE? - New Question earthlink.net,critters0,Claudia, 030307 22:47
This is great, but I have a question - how do I remove the scrollbar in the textarea box in a form without removing the scrollbar for that page??? Is it possible?
user-0c93f2m.cable.mindspring.com
Re: no scrollbar in IE? - New Question milov, 030308 00:16
Just add the overflow style to the textarea itself:
<textarea style="overflow:hidden;"></textarea>
kf-nawij-tg01-1183.dial.kabelfoon.nl
Re: no scrollbar in IE? - New Question earthlink.net,critters0,Claudia, 030308 05:53
milov,

It worked! Yea!!! Thank you, thank you - bless you so much that you have to give some away!!!!
user-0c93f2m.cable.mindspring.com
Tanx Web -X-, 030328 21:13
Tanx people for all this informatien, just great!
c28109.upc-c.chello.nl
Re: no scrollbar in IE? Ruben Goethals, 030401 11:13
Hi, everyone, reading this thread, I suppose this belongs here:
I want the same thing: no scrollbars, only not in the main document itself, but in a embedded document with the tag <object>.
Here is the code:
<object style="position:absolute;left:50px;top:270;" align="left" border="0" width="240" scroll="no" height="153" 
DATA="http://www.meteodata.at/HTML/be/be_prog.html"></OBJECT>
 
Mind that I can't change the html file because it is not mine.
I tried everything above: overflow, scroll="no", JavaSCript, but the scrollbars keep being visible.
Anyone ?
I suppose i have to do something like this in JavaScript, but cant find exactly what:
document.object.all.body.overflow=hidden
  ??????????

Thanks..
212.67.178.138
Re: no scrollbar in IE? Michel, 030412 18:01
Very much thanks to all editors :) I've now created a nice site with your help...

Thanks... again :)
node-d-cb0b.a2000.nl
Re: no scrollbar in IE? unicast.com,dpeterson,Dave, 030522 21:47
I have an iframe. I'd like to remove the iframes vertical scrollbar and instead use the main browser window scrollbar. Can I easily do this? Thanks!
63.72.206.226
Re: no scrollbar in IE? artisticdesco.com,rachel,Rachel Webb, 030524 08:19
Thanks so much to everyone that posted the CSS format for hiding scrollbars. I racked my brain and broke a few pencils trying to get the javascript way to work. I just love css.

By the way totaly unrelated does anyone no how I can make a PHP submit form stay at the form after a person hits submit rather than being directed to a thankyou page?

Rachel
1Cust235.tnt1.sherman.tx.da.uu.net
Re: no scrollbar in IE? Kenneth, 030526 21:03
I have an iframe. I'd like to remove the iframes vertical scrollbar and instead use the main browser window scrollbar. Can I easily do this? Thanks!

Take a look at this link:

http://www.faqts.com/knowledge_base/view.phtml/aid/1076
cpe.atm2-0-102138.0xc2c06a1b.hrnxx7.customer.tele.dk
Re: no scrollbar in IE? jb, 030529 06:04
I believe frames have always allowed disabling the scrollbars right in the frameset document, with something like "scrolling=no." I used to have a frameset site and when a new guy decided to unframe it, the scrollbars popped up. Thanks for the code to do it without frames.

24-168-64-118.si.rr.com
no bottom scrollbars Larry, 030603 04:47
scrolling="no" doesnt help... because the question was how do disable the horizontal scroll and keep the vertical in an iframe and no one has seem to answer it yet - also overflow-y:hidden doesnt work in an iframe.
1Cust141.tnt2.wilmington.oh.da.uu.net
Re: no bottom scrollbars milov, 030603 11:49
Make sure the source document shown *in* the iframe contains <body style="overflow-x:hidden;overflow-y:auto;">... No use adding it to the <iframe> tag.
webkracht.xs4all.nl
Re: no scrollbar in IE? rediffmail.com,ssbhaler2,sucheta, 030617 11:39
how to remove the scrollbar or minimize it without deleting the information on page?
203.129.225.199
Re: no scrollbar in IE? cathy, 030618 19:07
Can anyone tell me how to get rid of the track color on a scrollbar? I've seen sites that have a scrollbar but a see-through track. I'm not talking about a transparent track, because that would still have color. ???
pc-24-151-87-200.wins2.ct.charter.com
Re: no scrollbar in IE? bubbA, 030620 23:47
Thanks for the hint...I never knew....
reverse2.cokecce.com
Re: no scrollbar in IE? DarkLour, 030626 07:12
cool beans thanks for the tips , my first time to this site, did a search for "no scrollbar" and found this.. i'll be sure to return and check out the rest of the site. thanks :)
dpc6682009011.direcpc.com
Re: no scrollbar in IE? d'dsa, 030627 10:09
sdad
62.248.109.228
Re: no scrollbar in IE? trimontrea.com,zkamal,zk, 030708 19:49
hey! i am trying to something a little different. i want to disable the mouse wheel. does anybody have any idea how to do that?
96-115.dscga.com
Re: no scrollbar in IE? gmx.de,ayhandoger,ayhan doger, 030715 12:57
thanx milov for:

<textarea style="overflow:hidden;"></textarea>

the code to hide the scrollbars in textareas-
great!
149.219.195.224
Re: no scrollbar in IE 5.0 caesar.nl,r.vinckers,Rogier, 030721 14:55
I have a frame with scrollbars "auto". I want to use some script to know if there is a vertical scrollbar visible. Is that possible in IE 5.0?

159.46.248.218
Re: no scrollbar in IE? aol.com,OoOPinkPiggyOoO,melissa, 030721 22:32
How can i have just the bottom scroll bar gone but then still have the one at the right??
cache-mtc-aa10.proxy.aol.com
Re: no scrollbar in IE? Ghis, 030801 11:49
Does someone know an equivalent of:
<textarea style="overflow:hidden;"></textarea>
for Netscape?
thanks
clara.renault.fr
no scrollbar in Opera 7 ? adoxe, 030827 20:54
Since I know most of what is talked in here, I thought there must be at least one guru which will know what's different with Opera...

a simple style like "overflow: hidden" works great to hide scrollbars for both IE and NS but seems to work only half the time in Opera... I'm using some "mobile" <div> to animate some stuff in the BG. The problem occurs when my boxes (<div>) goes out of the screen : in IE and NS, everything is fine but in Opera, the scrollbar appears and then disappear when the <div> is moved somewhere else (inside the screen in fact)

Check it out if you got Opera @ : http://trance.kingdom.cjb.net/

Thank a bunch, this one is simple for those who knows a bit in Opera I gues, but kind of hard for me... ;)

adoxe


17-118.tr.cgocable.ca
umm....HI! Jessica, 030829 06:33
Hey,Just wanted to say that I LOVEEEEEEEEEEEE this page's color,Love this
black and gray thingy going on.and the codes they have here.if anybody wondering HOW to make a link or make the contents load in an iframe read the following....

to make a link using html: <a href=URL>LINK</a><BR>
to make the contents load in an iframe: <a href=URL TARGET=IFRAME NAME>LINK</a><BR>

Thanks just wanted to help hehehe,bbye mwah!

cache-rb05.proxy.aol.com
Re: no scrollbar in IE? Anne van Kesteren, 030830 12:11
Just for the record:

It should be
html{
/* styles */
}
 

And overflow-y and overflow-x will be part of the CSS3 specification: http://www.w3.org/TR/css3-box/#the-overflow-x
ip3e83e02a.speed.planet.nl
Re: no scrollbar in IE? Joe, 030912 07:47
Why would you desing only for IE? The reaon you find it hard to design for Netscpe 6x up is that they are standards compliant and IE is not. The scrool bars are M$ proprietary css and not standards based. That is why it does noW never .wil work in browsers other than IE windoze
user-0c93o85.cable.mindspring.com
Re: overflow-x:hidden doesnt work! Adam, 031002 04:26
I dont know if I'm doing something wrong, but overflow-x:hidden doesn't seem to work at all in IE6, I'm surprised no-one else has come across this?!?! I specified <body style="overflow-x:hidden;overflow-y:auto;"> in the body of the src page in the IFrame, and the bottom scrollbar is still appearing.

PS. Joe, IE had a MUCH better CSS implementation than Netscape for a LONG time. Even the most simple of attributes such as the a:hover & a:visited were available in IE YEARS before Netscape. While no the topic, one of the things I particularily liked about IE was that it worked! Netscapes random crashes and unexplained behaviour is unacceptable.

194.004.dsl.syd.iprimus.net.au
Re: no scrollbar in IE? Milen, 031006 15:10
Hi, I understand how to hide the scroll bars, but what I'm wondering is if it is possible to do a mouseover on the main scrollbar arrows *up/down* which will enable it to move without having to click? Any suggestions?
c-67-168-204-50.client.comcast.net
Re: no scrollbar in IE? lani, 031006 21:25
hi.. i'm just wondering of how the script goes if i don't want my banner on top of the page to have a scrollbar yet having a scroll bar in the rest.

or to rephrase.. is there any script that i can adjust the height of scrollbar so that the scrollbar starts after my banner..

Hope you guys can understand what i'm trying to say
imsbbcf09.netvigator.com
Re: no scrollbar in IE? hgj, 031026 17:55
ghj
h24-83-99-41.vf.shawcable.net
Re: no scrollbar in IE? Cavalera, 031026 23:21
I tried everything but nothing seems to work for me.
I get only a horizontal scrollbar when it is shown in me frameset. When i open the document without the frameset it shows everything perfectly.
64.150-136-217.adsl.skynet.be
Fix Iframe bookmark scroll hotmail.com,adg1116,Balk2K, 031028 11:26
I have an iframe that is positioned absolutely, floating a little way down the screen. Whenever a target/bookmark link is clicked within it, the iframe scrolls to the right place but it drags the main window down with it so that the line that is bookmarked it at the top of the browser window. Could I stop this so that the bookmarked line is at the top of the iframe but the main window doesen't move?
d-236-147.stlucia.uq.net.au
Re: no scrollbar in IE? yahoo.com,itzda1nonlybrian,brian, 031106 04:01
hell yea adam thanks a lot for the code: <body style="overflow-x:hidden;overflow-y:auto;">...cause of that i hid both x and y scrollbars and made my xanga page in a separate box (boxed xanga) ive been wonderin how to do that for the longest time...thanks a lot player! :)
adsl-64-169-116-65.dsl.lsan03.pacbell.net
Re: no scrollbar in IE? dejeunee, 031120 22:28
how can i change my srcoll bar?

isas.jclibrary.org
Re: no scrollbar in IE? dejeunee, 031120 22:30
i mean like change the color and shit

isas.jclibrary.org
Re: no scrollbar in IE? dejeunee, 031120 22:32
and also i know this is about scrollbars but i also dont knoe how to make a banner!!! HELP
isas.jclibrary.org
Re: no scrollbar in IE? bigfoot.com,126995,homiee, 040218 07:26
I added

overflow-x: hidden

didn't work

I tried some of the javascripts mentioned here

didn't work either

only <body scroll="no"> worked for me
but it doesn't help much since it disables both scrollbars

sucks

CBL212-235-4-17.bb.netvision.net.il
Re: no scrollbar in IE? Steve MacLellan, 040219 04:40
overflow-x: hidden; wouldn't work for me either, in IE 6.x but it worked fine in Netscape 7.01

So I removed the DTD at the top of the html document. This puts IE 6.x into Quirk-mode and then it works fine.

Regards,
Steve MacLellan


u137n69.eastlink.ca
Re: no scrollbar in IE? OrlimRe, 040227 06:12
hey thanks a lot...
this lol is a while ago I guess...
but still thanks I found exactly this foum through Google and it helped a lot :) thanks again!
adsl-68-253-253-69.dsl.emhril.ameritech.net
Re: no scrollbar in IE? Brandon Aguilar, 040301 06:39
I was having what I thought was an overflow issue for the longest time. Nothing seemed to work... NOTHING. That's when I tried removing the horizontal scrollable as a quick fix, but even that wasn't working... even using all the methods mentioned here. I found out the problem was the DOCTYPE at the top of my page! Somehow it had gotten corrupted and only read:
<!DOCTYPE HTML
 

So I just deleted the entire line, and all has worked great since! No need to remove the scrollable after all!
Maybe others are having this same problem?
ip68-6-221-115.sd.sd.cox.net
how do you get rid of the highlight/base color? malcolm, 040302 00:16
I'm trying to make it so the scrollbars on my journal page float over the background image instead of over a block of shaded color.

I've tried all I know or could guess...

1)
scrollbar-base-color = "no";
scrollbar-highlight-color = "no";
2)
scrollbar-base-color: transparent;
scrollbar-highlight-color: transparent;

and some other stuff...none of it works. Help me please.



vl132-232.vl132.GasoU.edu
how do you get rid of the highlight/base color? malcolm, 040302 00:17
I'm trying to make it so the scrollbars on my journal page float over the background image instead of over a block of shaded color.

I've tried all I know or could guess...

1)
scrollbar-base-color = "no";
scrollbar-highlight-color = "no";
2)
scrollbar-base-color: transparent;
scrollbar-highlight-color: transparent;

and some other stuff...none of it works. Help me please.


http://www.greatestjournal.com/users/strangebehavior


vl132-232.vl132.GasoU.edu
Re: no scrollbar in IE? GUY, 040303 05:21
In textArea I want to hide the scroll bar if the data inserted in that box is less than a specific number of characters.How can i check that
202.54.137.119
Re: no scrollbar in IE? yahoo.com,tjnuckelt,tjnuckelt, 040308 21:20
u r a bunch of gay geeks
rrcs-se-24-73-73-8.biz.rr.com
how do you change a xanga scroll bar color aol.com,siggypiggy0,cameron, 040308 23:29
how do you change the color of a xanga scroll bar
CPE-65-25-212-117.mn.rr.com
Re: no scrollbar in IE? shockwaved.com,niklas,niklas, 040316 01:19
thanx, wonderlful to find help here
this did it/// thanx Brandon Aguilar

top of my page! Somehow it had gotten corrupted and only read:

<!DOCTYPE HTML
So I just deleted the entire line, and all has worked great since! No need to remove the scrollable after all!
Maybe others are having this same problem?
x1-6-82-02-df-31-da-93.k429.webspeed.dk
Re: no scrollbar in IE? Firago, 040316 03:29
is there any way that i can center a frameset, but have teh spacing and background picture remain teh same?
rdu168-175-202.nc.rr.com
Re: no scrollbar in IE? John, 040317 07:31
Thanks for the very useful posts here.

This snippet was exactly what I was looking for:

<textarea style="overflow:hidden;"></textarea>

Thanks a lot!
John
http://www.colorshade.com
wbar3.chi1-4-41-109-089.chi1.dsl-verizon.net
scrolling up wards sivakumar, 040319 10:45
there is one frame,in that some buttons are there ,in that i given style="overflow-x:hidden;" but the scroll bar is still moving upwards. what should i do for not to scroll.pls reply soon ,its very very urgent.
203.197.250.134
Re: no scrollbar in IE? Twitch, 040408 01:37
If you wanted to use a css or cascading style sheet to hide your scroll bar but would like it to appear if needed. Instead of using
<style type="text/css">
<!--
body { overflow:hidden; }
-->
</style>
which will hide it even when needed
Replace (hidden) with (auto). This will fix your prob.
Heck. I found out myself just by messing with the css file and thought.... If hidden = nothing, auto should make it automatic. duh. lol
122.67.33.65.cfl.rr.com
Re: sivakumar Twitch, 040408 01:53
To answer your question Sivakumar. In the iframe tag it should look like this.

<iframe src="....." title="...." scroling="yes,no,auto" name="the name of the frame">
<!-- Alternate content for non-supporting browsers -->
Your browser does not support iframes. You will be redirected in 5 seconds.
<meta http-equiv="refresh" content="5";url=#>
</iframe>

If you would like them to be redirected to a url if their browser does not support frames you would type the whole meta thing.
That's it. The 5 means it will take 5 seconds for it to redirect. I also recomend that you put a link to the other site in case it does not redirect them.
122.67.33.65.cfl.rr.com
Re: no scrollbar in IE? WitchCraft, 040412 21:38
Fix for horizontal scrollbar in internet explorer 6.* and above

Put this in and goodbye ugly bar. Why can't microsoft make a fix for this error anyway? ;)

<body style="overflow-x:hidden;overflow-y:auto;" scroll="yes">
65.92.248.73
Re: no scrollbar in IE? coolgoose.com,iwantgaurav1,Gaurav, 040415 06:26
<body style="overflow-x:hidden;overflow-y:auto;">

works in IE6 well but not in IE5, in IE 5 both vertical and horizantal scrollbars r getting disable. any solution?
210.18.122.159.sify.net
Vertical HELLO, 040510 00:27
How do I get a vertical scrollbar w/out a horizontal one?
ip68-98-128-144.dc.dc.cox.net
Re: no scrollbar in IE? marcus, 040511 18:05
how do i get the scroll bar up for google and all site so that i know what i have typed in before. oh yer, i was readinng other people's questions about this and there is a code but i tried typing it in the the address bar but it doesnt work.
spr1-bror1-4-0-cust138.lond.broadband.ntl.com
Re: no scrollbar in IE? san, 040516 14:15
I set <bosy scroll=no> in my system as giving the table width=800 and height=434. it seems nice in mine. but in other 1024's one fourth space is left blank. how i solve this without having scroll bars. i set all the images correct to be filled in 800. plz help...
195.229.241.169
Re: no scrollbar in IE? Shawn, 040519 22:34
The overflow: hidden; bit doesn't work for me in IE6 when my DOCTYPE is set to XHTML 1.0 Transitional.

Here's the page I'm working on (it validates):

http://www.nerdburn.com/css/

It works like a charm in Mozilla, but I get a horizontal scrollbar in IE (because to align #switcher to the right I used a negative margin on one side, and 100% on the other).

Does anybody know why this might be? If so, how might I fix it?
dsl-nvan-209-115-184-209-van.nucleus.com
Re: no scrollbar in IE? TeB@, 040521 20:08
thx..overflow:hidden; works fine:)
qn-hvk-019.cable.inet.fi
Re: no scrollbar in IE? nyp.edu.sg,020706t,Vic, 040531 04:52
Thks to the <textarea style="overflow:hidden;"></textarea> , I have solved my prob removing the scroll bar in the text area.

=_)
palo6.pacific.net.sg
Re: no scrollbar in IE? Deepak, 040611 20:33
Please tell me solution to remove Horizantal Scroll bar
202.91.67.179
Just horizontal scrolling in IFRAME Snax, 040711 22:42
I am designing a picture gallery and was wanting to use an iframe to show thumbnails but I can't get it to scroll just left and right ive tried :

<style type="text/css">
body { overflow-y:hidden; }
</style>

ive also tried using different combinations of <div> and <style> editing, nothing works. I dont want vertical scrolling at all just left and right. i would appreiciate any help. Thanks.
dialup-4.161.8.126.Dial1.Cincinnati1.Level3.net
Re: no scrollbar in IE? Craig, 050323 22:54
i have been tryin to work out how to hide the horizontal scrollbar from an iFrame all day, never even thought it would be the DTD but i deleted that and it worked.

Thanks
manc-cache-5.server.ntli.net
Re: no scrollbar in IE? zsa, 050404 13:56
How do I get a vertical scrollbar w/out a horizontal one?
<body style="overflow-x:hidden;overflow-y:auto;">


works in IE6 well but not in IE5, in IE 5 both vertical and horizantal scrollbars r getting disable. Does anyone know the solution?




a29049.upc-a.chello.nl
Re: no scrollbar in IE? Kirk Bentley, 050407 02:28
To remove the horizontal scroll in internet explorer and still keep your doctype...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">;

you must add scroll="yes" to your body tag and add overflow-x:hidden and overflow-y:auto to your css...

works a treat.
61.88.24.75
Re: no scrollbar in IE? Reza Ghorbani, 050407 13:07
WOW !!! That's Coooool ! T.N.X 4 all your Helps !

Best Wishes
217.218.46.242
Re: no scrollbar in IE? David O'Sullivan, 050427 01:01
Grrrr have tried every thing here but I am not very experienced at all this so there maybe something I am putting in the wrong place or something. I have a layer over the top of a table that has the text in it on www.withpanache.co.uk/about.html

It is currently coming up with a scroll bar I need on the vertical but a redundant one on the vertical and try as I may I cannot get rid of it and its driving me INSANE! I am makig this i InDesign so there is a #layer1 line controlling everything in the layer which is as follows:

#layer1 { visibility: visible; position: absolute; top: 170px; left: 165px; width: 490px; height: 259px; overflow: scroll; clip: rect(auto auto 260px auto); }

changing 'overflow: scroll' to 'overflow-x: hidden; ovcerflow-y: scroll' makes things work ok in IE6 but not Mozilla/Firefox.

Any clues anyone?
user-178.lns4-c7.dsl.pol.co.uk
Re: no scrollbar in IE? David O'Sullivan, 050427 01:04
p.s. actually now, as those of you thathave firefox, maybe able to see, I have gotten rid of the horizontal bar using the 'overflow-x: hidden; ovcerflow-y: scroll' but its gotten rid of the vertical one too! Please help!
user-178.lns4-c7.dsl.pol.co.uk
Re: no scrollbar in IE? Erik Caraballo, 051007 17:09
Hey can anyone tell me how to write an 'if-else' condition with the "and" symbol in PHP?

ex:

If ($this_forum = great "AND" $people_here= cool){

echo "YOUR AWESOME"

} else {

echo "DOH!"
}

I forgot the AND symbol... what is it? PLEASE someone tell me... yes I know I am a moron for forgeting... lol

host-24-225-179-84.patmedia.net
Re: no scrollbar in IE? Calm_Pear, 051009 10:00
and = &&
h103091.upc-h.chello.nl
Re: no scrollbar in IE? ruc, 051127 10:03
what should I write to let the scroller with images biwols wrote scroll another frame?
or what should I write so the images will follow as the page scrolls down?
pc4.net174.koping.net
Re: no scrollbar in IE? hotmail.com,bababoom,someone, 060215 04:30
what? i dont get you
d64-180-15-1.bchsia.telus.net
Pages: 1