CSS - Ie & The Dreaded Flickering Scrollbar
I have a div absolutely sized with a wrapper div sized to take up 100% of both the width & height of the afore-mentioned div. The wrapper div has it overflow set to auto. Inside is several divs & anchors making up a tree.
In the CSS the anchors have hover effects that only alters the background color. Everything seems fine, but the scrollbar flickers on each anchor mouseover. This only happens in IE. It seems that IE wants to recalculate the overflow on each mouseover. Has anyone had similar results? Or any suggestions to solving this irritating effect? Similar TutorialsBasically the home button is fixed and flickers where it is fixed and also where it is placed in the html code, when you hover over it. Also when you hover over the javascript sliders the image in the slider moves way to the right. Neither of these issues are happening in any other browser. I'm looking at FF9... I would really appreciate it if you could take a look at the issue and think of anything that could help - or point me in another direction... The website is: caradinleydesigns.com.au I can provide further bits if you need? THANKS ONE HUNDRED MILLION IN ADVANCE ( I can up it if need be....?!) I created this code for document lists, and have recently been trying to tighten up my code. But one issue I cannot figure out, is how to fix the flickering I get when viewed in IE. The flickering doesn't happen in Firefox. css style sheet example page html: Code: <a class="listurl" href="http://www.yahoo.com" target="_blank"><div class="listitem"><div class="listtitle"><ul><li> <strong>Link Example</strong><br> <br>Click here to open a pop-up window to yahoo.com </li></ul></div><div class="listimage" style="background-image: url(http://www.mycodez.org/images/icon-netlink.gif);"></div></div> </a><div style="clear:both;"></div> related css: Code: div.listitem { float: left; width: 500px; background-color: White; height: auto; a: expression(onmouseover=new Function("this.style.backgroundColor='#B0C4DE'; this.style.color='#000000';"), onmouseout=new Function("this.style.backgroundColor='#ffffff'; this.style.color='#000000';")); margin-bottom: 0px; cursor:pointer; z-index: 2 } div.listitem:hover { background-color: #B0C4DE; color: #000000; margin-bottom: 0px; z-index: 2 } div.listtitle { float: left; width: 400px; height: inherit; margin-top: 5px; margin-bottom: 0px; position: relative; vertical-align: middle; z-index: 1 } div.listimage { float: right; width: 100px; height: 60px; background-position: center; vertical-align: middle; margin-bottom: 10px; margin-top: 10px; background-repeat: no-repeat; z-index: 1; } any help will be greatly appreciated. Hi there, I have set up some scollbar colours for IE. I have some scrollable divs that are using the css, but the main scrollbar to the right of the browser does not have the css applied to it. This is my css: PHP Code: scrollbar-arrow-color: #ffffff; scrollbar-3dlight-color: #d4e5ab; scrollbar-darkshadow-color: #517107; scrollbar-face-color: #719e07; scrollbar-highlight-color: #add450; Any ideas why that is? Hi, I have a link in my page. When the user hovers over the link, the page is flickering. This is the code I have used Code: a { color: #42C0FB; background: inherit; font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; line-height: 1.8em; } a:hover { color: #6C757A; background: inherit; font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; } <a href="WelcomePage.asp?UserName=User_nm" id="Welcome" title="Home Page" target="_blank">Welcome to my Page</a> I am checking in IE 6 and IE 7. How to avoid the flickering, when user hovers over the link. Thank you Is it possible to use css + javascript to create a scrollbar with only an arrow for scrolling down and another arrow for scrolling up and nothing else like default windows? If you can provide some links, i will appreciate. thanks colored scrollbars for the following css isn't working anyone know why?
Code: /* style sheet (C) 2004 by Dr3am Designs, made by Dude */ body { background: #000000; scrollbar-face-color: #000000; scrollbar-highlight-color: #000000; scrollbar-shadow-color: #000000; scrollbar-3dlight-color: #000000; scrollbar-arrow-color: #D8DFE7; scrollbar-track-color: #000000; scrollbar-darkshadow-color: #000000; margin: 0px; padding: 0px; border: 0px; text-align: left; color: #D8DFE7; font-family: Verdana, Arial, Helvetica; font-size: 7pt; } hr { background-color: #000000; color: #D8DFE7; height: 1px; border-width: 0px; } a:link,a:active,a:visited { color: #D8DFE7; text-decoration: none } a:hover { text-decoration: underline; color: #D8DFE7; } li,ul { list-style-type: square; background-image: none; list-style-position: inside; color: #D8DFE7; } input { background: #D8DFE7; color: #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border: 1px solid #666666; border-style: outset; text-align: center; text-indent: 2px; } textarea, select { background: #D8DFE7; color: #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border: 1px solid #666666; border-style: outset; text-align: center; text-indent: 2px; } form { margin: 0px; padding: 0px; } td { background-color: #000000; color: #D8DFE7; font-family: Verdana,Arial,Helvetica; font-size: 7pt; } img { border: 0px; } now strangely it is working he http://www.dr3amdesigns.com/contact.php for the textarea scrollbar, but not for the page itself or the main page http://www.dr3amdesigns.com/ - any help, please? How can I fix to have scroll bar in IE? It does have scrollbar in FF. It's mostly the main div. Any help? CSS Code: Original - CSS Code div#logo { position: absolute; top: 10pt; left: 20pt; width: 150pt; height: 150pt; /*border-width: medium; border: blue 4px dashed;*/ } div#news { font-family: verdana, arial, helvetica, sans-serif; font-size:10pt; position: absolute; top: 160pt; left: 20pt; width:150pt; height: 200pt; /*border-width: medium; border: red 4px dashed;*/ } div#main { font-family: verdana, arial, helvetica, sans-serif; font-size:10pt; position: absolute; top: 160pt; left: 180pt; width: 500pt; /*border-width: medium; border: green 4px dashed;*/ } /* navigation BEGIN */ div#topBar { font-family: verdana, arial, helvetica, sans-serif; font-size:10pt; position: absolute; top: 10pt; left: 180pt; width:500pt; height: 150pt; /*border-width: medium; border: magenta 4px dashed;*/ } @media screen { div#topBar { position: fixed; } * html { overflow-y: hidden; } * html body { font-family: verdana, arial, helvetica, sans-serif; overflow-y: auto; height: 95%; padding: 0 0.05em 0 0.1em; /* top right bottom left*/ } * html div#topBar { position: absolute; } } /* navigation END */
Hello every one, Am sameer pandurangi and new to web development. I wanted to create a css for SCROLLBAR with rounded corners . Actually i dont know if there is any such property for this in scroll bar. Am able to change the color through css but am not getting the rounded corners for that. So i hope there is someone out there with some good idea. Thanks in advance. hi, http://cyrusnetworkslive.com/products.php?sub_category_id=ph100ce10&brand_id=mo1 How can I get rid of vertical scrollbar, I want only the horizantal one. I am doing something like the in my css. Code: <style type="text/css"> div { background-color:#FFFFFF; width:950px; overflow: auto } </style> Hi, Why does the following not change my scrollbar colours? PHP Code: body { font: 14px Arial, sans-serif; color: #18387B; background: #687BA3; margin-top: 5px; margin-left: 5px; SCROLLBAR-FACE-COLOR: #FF9900; SCROLLBAR-HIGHLIGHT-COLOR: #FF9900; SCROLLBAR-SHADOW-COLOR: #999999; SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #000000; SCROLLBAR-DARKSHADOW-COLOR: #666666; } I've searched the web hi and low yet I have not found any answers. I am using an iframe (it's a love-hate relationship) for my website. I have my index page loaded up with a flash .swf which influences the iframe to switch pages when the user clicks on any of the provided links. *PROBLEM* One of my links consists of a blogger- formulated with 'cryptic blogger code' which I have no intention on learning- just working around. However, no matter how hard I try and mess around with the blogger page's html code, I cannot get rid of the x-axis scrollbar- it appears when it is not needed at all and I am unsure of doing anymore messing around for fear of messing up the code. I've also tried adjusting the actual iframe script but still no results. Please- if any html/css demi-gods/goddesses can help me get rid the the iframe's horizontal scrollbar BUT keep the vertical one, you'll be my best friend :P Here are the websites: (ps- tell me what you think- and it isnt finished) URL <- actual site URL <- blogger page (you can see where i've tried to edit it but still no results) -Jason (i posted this in the html section hoping some html guys would help me- but it was a dud ) Hi guys, I'd like to find out if there is any way to change the color of the scrollbar in a listbox using the css. And also, is there a way to change the width of the scrollbar as well? Thanks in advance. In the html below (see also http://www.creatief-denken.be/opl47k.html) I have in IE a horizontal scrollbar and a vertical scrollbar. In the #contentRight div I use the command "overflow: auto" in order to let the text scroll vertically. I want to get rid of the horziontal scrollbar but I don't want to use the command "overflow-x: none" and "overflow-y: auto", because then the vertically scrolling disappears completely on a MAC (OSX). I have tried already in many ways (change the width of the div's) to let the horizontal scrollbar disappear but it doesn't work. Is there an easy way to get rid of this horizontalscrollbar? This is the HTML: Code: <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="Adobe GoLive 4"> <style type="text/css"><!-- .tekst { color: #4c5ea1; font: 11px Arial, Helvetica, sans-serif, Arial, Helvetica, sans-serif; text-align: justify; margin-top: 0px; line-height: 16px;} #contentRight {position:relative; width:490px; top:-10px; right:0px; z-index:100; voice-family: "\"}\""; voice-family:inherit; width:505px; margin-left: 20px;} /* Again, "be nice to Opera 5". *//*#contentRight {width:450px;}*/ #contentRight p {width:420px; font:12px/16px arial, helvetica, saborder-left-width: 10px; margin: 0px 0px 10px 0; padding-right:0px; padding-left:0px;} #contentRight img{ border-bottom-style: solid; border-bottom-color: #9DEFC7;border-right-style: solid; border-right-color: #9DEFC7; border-left: 15px; border-left-style: solid; border-left-color: #9DEFC7; border-top-style: solid; border-top-color: #9DEFC7; } #contentRight div { font-size: 11px/16px arial, helvetica, sans-serif; height: 335px; overflow: auto; width: 465px; } H1 { color: #0C0F7E; font-weight: 400; font-size: 32px; font-family: Arial; text-align: left; text-decoration: none; line-height: 32px; margin-bottom: -5px;margin-left: 0px;} --> </style> </head> <body bgcolor="white" text="black"> <table border="0" bordercolor="red" width="100%" height="100%" align="center"> <tr height="100%"> <td align="center" height="100%" valign="top"> <table width="680" border="0" align="center" cellpadding="0" cellspacing="0"> <tr height="435"> <td colspan="3" height="435" width="510" bgcolor="#9DEFC7"> <div id="contentRight"><br> <div class="tekst"> <p>bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <br><br> bla bla bla<br>bla<br>bla bla bla<br>bla<br>bla bla bla<br>bla<br>bla bla bla<br>bla<br>bla bla bla<br>bla<br> bla bla bla<br>bla<br>bla bla bla<br>bla<br>bla bla bla<br>bla<br>bla bla bla<br>bla<br>bla bla bla<br>bla<br></p> </div> </div> </td> </tr> </table> </td> </tr> </table> </body> </html> Hi guys, Currently, the only CSS I know of to edit the scrollbar is Code: <style type="text/css"> body { scrollbar-face-color: #9B9A9A; scrollbar-shadow-color: #171717; scrollbar-highlight-color: #171717; scrollbar-3dlight-color: #171717; scrollbar-darkshadow-color: #171717; scrollbar-track-color: #171717C; scrollbar-arrow-color: #171717; } </style> </head> However, I want a little more customization. Basically, the only thing I want to show is the actual bar in the middle that scrolls up and down. Nothing else. So, what I want to do is make everything else the normal color of the page, and make the bar in the middle a light color. The only problem is, the function scrollbar-face-color edits the bar itself, AND the arrow boxes above and below it. Is there are a more specific function to edit just the bar only? Thanks. I'm trying to get the content on this site http://www.jarretporter.com/thaiorchid to expand down the page, and not under the footer. However, when there is little to no content, as currently on the Menu page, I would like for the footer to stay glued to the bottom of the page. If you'll view the Home and Contact pages you'll see what I'm referring to. Here's the code: Code: html, body{ margin:0; padding:0; height:100%; } body{ background: #000000 url('imgs/bg-tile.jpg') repeat-x 0px 0px; color: #cdbc8d; font-family: georgia; font-size: 1em; text-align: center; } #container{ position: relative; margin: 0px auto; padding: 0px; width: 100%; height: auto !important; height: 100%; min-height: 100%; } #header{ position: relative; margin: auto; width: 800px; height: 145px; background: url('imgs/orchid2.png') no-repeat top center; clear: all; } #nav-glow{ margin: auto; padding: 0px; width: 800px; height: 100px; background: url('imgs/glow.png') no-repeat center 5px; text-align: center; clear: all; } #nav{ margin: 0px auto; padding: 0px; width: 100%; height: 55px; text-align: center; } #nav ul{ margin: 0px auto; padding: 0px; width: 600px; height: 55px; list-style-type: none; } #nav ul li{ margin: 0px; padding: 0px; float: left; } #nav ul li a{ padding: 0px; width: 150px; height: 50px; float: left; } #content{ position: relative; margin: auto; padding: 0px 0px 50px 0px; width: 500px; font-family: georgia; font-size: 1em; color: #ae9e72; text-align: left; line-height: 1.5em; clear: all; } #footer{ position: absolute; bottom: 0 !important; bottom: 0px; margin: 0px; padding: 20px 0px; width: 100%; color: #cdbc8d; background: #fff url('imgs/foot-tile.jpg') repeat-x 0px 0px; font-family: verdana; font-size: .78em; text-align: center; } Here's the gist of the layout: Code: <div id="container"> <div id="header"> </div><!-- end header --> <div id="nav-glow"> <div id="nav"> </div><!-- end nav --> </div><!-- end nav-glow --> <div id="content"> </div><!-- end content --> <div id="footer"> </div><!-- end foot --> </div><!-- end container --> Hey everyone, I'm making a photo gallery for a client. What I need is the overflow-x to be hidden, and overflow-y to be visible, but even when i set overflow-y to be visible, it appears with a scrollbar. My code is below... Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> #galleryContainer{ position:absolute; height:140px; background-image:url(/images/galleryBack.png); background-repeat:no-repeat; width: 536px; } #galleryShow{ position:absolute; width:478px; height:113px; margin-left:28px; margin-top:14px; overflow:hidden; } #galleryView{ position:absolute; width:10000px; } .galThumb{ float:left; height:113px; width: 152px; z-index:60; text-align:center; } #leftArrow{ position:absolute; top:52px; left:7px; } #rightArrow{ position:absolute; top:53px; left:506px; } .galleryArrow{ width:23px; height:37px; z-index:40; } </style> <script src="/js/scriptaculous-js-1.8.3/lib/prototype.js" type="text/javascript"></script> <script src="/js/scriptaculous-js-1.8.3/src/scriptaculous.js" type="text/javascript"></script> <script language="javascript"> galleryLocation = 2; function slideGallery(gallMove,gallIncrement){ new Effect.Scale('thumbImg' + galleryLocation, 70); new Effect.Scale('galleryThumb' + galleryLocation, 94); galleryLocation = galleryLocation + gallIncrement; /*adjust center*/ new Effect.Move('galleryView', { x: gallMove, y: 0}); new Effect.Move('galleryThumb' + galleryLocation, { x: 0, y: -20}); new Effect.Scale('thumbImg' + galleryLocation, 150); new Effect.Scale('galleryThumb' + galleryLocation, 114); } function adjustCenter(){ new Effect.Scale('galleryThumb2', 114); new Effect.Scale('thumbImg2', 150); } </script> </head> <body onload="adjustCenter()"> <div id="galleryContainer"> <div id="leftArrow" class="galleryArrow" onclick="slideGallery(163,-1)"></div> <div id="galleryShow"> <div id="galleryView"> <?php for($i=1;$i<=14;$i++){ echo " <div id='galleryThumb" . $i ."' class='galThumb'> <img src='/images/cupcakeThumbs/galleryThumbs/" . $i . ".JPG' id='thumbImg" . $i . "'/> </div> "; } ?> </div> </div> <div id="rightArrow" class="galleryArrow" onclick="slideGallery(-163,1);"></div> </div> </body> </html> Thoughts? I'm fairly new to CSS, and have been using it to add styles to a personal profile page on another website. I noticed recently that in any pages I've used scrollbar codes, the word "scrollbar" would occasionally change to "AdMchaa" and then change back in a few days. I was always on the same computer and same IE 6 browser when I noticed this, with the same settings as far as I can tell. I figured it was a site glitch until I noticed it just now on a website I've just started working on - it even happened in an example where I'd used ampersand codes for the brackets so the code would display on the page, and again in textareas - <style type="text/css"> body { AdMchaa-face-color: COLOR; AdMchaa-highlight-color: COLOR; AdMchaa-3dlight-color: COLOR; AdMchaa-darkshadow-color: COLOR; AdMchaa-shadow-color: COLOR; AdMchaa-arrow-color: COLOR; AdMchaa-track-color: COLOR; } </style> Yesterday the codes read fine and worked. Any info on this would be greatly appreciated! Hi, I'm trying to rewrite my pages using divs instead of tables. The site is with header and footer, menu on the left and content in the rest. I learned a lot from the forum and the footerdemo page; menu and content are stretched to the bottom, even if there's not enough text. The footer is always at the bottom of the screen, as it should, not at the bottom of the page. These are my questions: - when there is more content then space between header and footer, there will be a scrollbar. However, the content and thus the scrollbar continue behind the footer, instead of stop at the top of the footer. I dont want the content and scrollbar to do this, though when the content is to long, there should be a scrollbar. So the content should be between the header and footer and not also behind the footer. (hope you understand what I mean) - the scrollbar is not at the right border of the page (at the right side, but not at the border). How can I force this? Here is the html code <html> <head> </head> <body> <div id="page"> <div id="header"> </div> <div id="menu"> </div> <div id="content"> </div> <div id="voettekst"> </div> </div> </body> </html> And here is some css code: /* BODY */ html, body { height:100%; max-height:100%; overflow:hidden; padding:0; margin:0; border:0; } /* PAGE LAYOUT */ #page { padding:0; margin:0; } #header { position: absolute; top: 0pt; left: 0pt; width: 100%; height: 50pt; overflow:hidden; z-index: 5; display: block; margin: 0pt; padding: 0pt; border-bottom: 1pt solid #333; } #menu { position: absolute; left: 0pt; top: 50pt; bottom: 20pt; width: 180pt; height: 100%; overflow:auto; z-index:4; margin-bottom: 20pt; } #content { position: absolute; top: 50pt; left: 180pt; height: 100%; overflow: auto; z-index: 3; padding: 20pt; margin-bottom: 20pt; } #footer { position: absolute; bottom: 0pt; left: 0pt; width: 100%; height: 20pt; overflow: hidden; z-index: 5; display: block; padding-top: 5pt; border-top: 1pt solid #333; } Hope someone can help me with this. Thanks Here's the bug I found with Firefox: when you use code like this:
css Code: Original - css Code .scrolling { height: 100px; overflow: auto; } .scrolling Firefox gives it the same width as the unscrolled version, forcing you to scroll right to read everything. Even css Code: Original - css Code overflow: scroll; overflow: scroll; produces a horizontal scrollbar, although the division is now the correct width. But I've found a css-only way around this: css Code: Original - css Code .scrolling { height: 100px; overflow: -moz-scrollbars-vertical !important; overflow: auto; } .scrolling I know, it's not kosher to use nonstandard code, but it works on both IE and Firefox. Try it! Does anyone know how to fix this so that my scrollbar is transparent and the image behind it shows through? (The scrollbar seems to go transparent past the background picture in the frame to the background colour of the main page; I'm using an IFrame in a table) Here's my code in the CSS: body { SCROLLBAR-FACE-COLOR: #40FF40; SCROLLBAR-HIGHLIGHT-COLOR: #40FF40; SCROLLBAR-SHADOW-COLOR: #40FF40; SCROLLBAR-3DLIGHT-COLOR: #5D5347; SCROLLBAR-DARKSHADOW-COLOR: #5D5347; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #40FF40; } And here's my IFrame: <iframe src="home.htm" name="main" width="388" height="225" frameborder="0" ALLOWTRANSPARENCY="true" style="FILTER: chroma color=#40FF40)"></iframe> Thank you so much. Any help would be greatly appreciated. And also, does anyone know why any filters I try out don't seem to work? eg. a:hover {FILTER: progid: DXImageTransform.Microsoft.Blur( PixelRadius=5,MakeShadow=false); } or a:hover {FILTER: blur(Color=#000000, OffX=1,OffY=1)} |