CSS - Internet Explorer Scrollbar Issues
Hi there.
I am currently attempting to layout a design that will, in the future, become a live website. The website is located here. I have tested this site using the following browsers: Opera 9.5 [works fine] Firefox 2 [works fine] Firefox 3 [works fine] IE 7 [ISSUE OCCURS] IE 6 [ISSUE + ANOTHER ISSUE OCCURS] Both my (X)HTML (transitional) and CSS (level 2.1) validate according to w3c. You can view the source code of my (X)HTML and CSS below: Code: html4strict <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> <title>Function T .:. Home</title> <style type="text/css" media="all">@import "css/master.css";</style> </head> <body> <div id="entire-page"> <div id="page-container"> <div id="ghost"></div> <div id="header"></div> <div id="navigation"> <div id="navigation2"></div> <div id="navigation1"></div> </div> <div id="content"> Lorem ipsum debet tritani forensibus et nam, ex solet splendide mea, at cum menandri consetetur conclusionemque. Ocurreret persecuti eum at, intellegat temporibus cu sea. Tale modus mei cu, mucius offendit id mea, id consul urbanitas vis. Ius te alii deseruisse, at mea veri illum perfecto. Per iudico commodo blandit ea, mel eu illum sonet efficiantur, tota delenit splendide at qui.<br/><br/> No vel ridens labores percipitur. Ad eum homero percipitur. Sit stet vero ex. In nec volumus explicari. <br/> <br/> Pro puto tempor cu, vix in populo doming legendos, ut has regione suavitate. Nec ea movet omnium assentior, ius solum feugiat no, ut est quem putant mollis. Eu simul suscipiantur has, equidem ornatus ea vel. Cu noluisse placerat nec, nostrum probatus eloquentiam cu sed. Lorem di**** et pri, magna ubique no sed, in solum decore quidam pro.<br/><br/> Ad blandit antiopam pri. Meliore necessitatibus et quo. Qui fabellas torquatos an. Id vel tantas recusabo, ex eos natum simul mentitum. Ea nostrud takimata iudicabit vel. <br/><br/> Id sit minimum patrioque ullamcorper, vix prompta intellegat at. Mea vidisse admodum denique in, at eam graecis expetendis referrentur, ancillae prodesset ut eam. Meliore luptatum appellantur duo eu. Cu dicam invenire has, ex affert pertinacia vis, ut impetus mandamus sea. Pri nisl atomorum ex, nam te eripuit numquam docendi. <br/><br/> Est stet albucius maluisset id, et habeo graece molestie mel, adhuc nonumy eloquentiam ea vel. Ubique takimata persequeris ne his, pro an augue feugiat efficiendi, eu eam unum nominavi mediocritatem. Corpora disputando eloquentiam ex quo, cu prima choro salutandi his. Has eirmod regione accumsan eu. Cum ea wisi scripta, veritus assentior complectitur pro ea, mea cu aeterno vocibus eligendi. Ei eam maiorum perfecto. <br/><br/> Et eam eius nostro. In alienum definitiones nec, sed wisi mentitum incorrupte ea, ei per quando appetere. Eu dicta vitae ignota vel. Eu qui quot aperiri adipiscing, eu vim novum deleniti, quod kasd eu has. Copiosae incorrupte neglegentur mea cu, sit adolescens elaboraret constituam te, ea sea tamquam molestie definiebas. Rebum harum labore pro ex, ex soluta contentiones vix, no usu esse nominati mandamus. <br/><br/> Et pro aliquando expetendis theophrastus. Mei ne errem consequat, mei ut sonet singulis indoctum. Alia nihil civibus per ei. Ei sed mucius perfecto elaboraret, invidunt neglegentur ei mel, at vide tota quo. <br/><br/> Id placerat phaedrum per. Nec ut persius legimus conceptam, ius no ludus clita consul. At atomorum voluptatum cum, duo cibo putant reprimique ne. Ea mei hinc eros noluisse, ad sea ipsum di****, alii debet tamquam te nam. <br/><br/> Essent labores explicari cu duo. Ius causae copiosae an. Ex omnium diceret maluisset vim. Ad mel vivendo disputationi. Hendrerit democritum id cum, quodsi molestiae duo te. <br/><br/> </div> <div id="content-bottom"></div> <div id="footer"> Home - Bio - Media - Contact - Reviews - Tutorials - Charts - Links <br/> All information Copyright 2008 Tom Winchester unless otherwise specified. All original artists <br/> and labels retain their full respective rights and royalties to all copyrighted material. Mixes are presented <br/> for promotional purposes only. Duplication of any material in part or in whole without the <br/> express written consent of Tom Winchester is strictly prohibited. </div> </div> </div> </body> </html> Code: css html, body { margin: 0px; margin-bottom: 0px; padding: 0px; background-image: url(../images/bgpattern.gif); background-repeat: repeat; } #entire-page { width: 100%; height: 100%; } #page-container { margin: auto; width: 750px; } #ghost { height: 15px; } #header { height: 110px; background-image: url(../images/headers/header1.gif); background-repeat: no-repeat; } #navigation { margin: 0px; padding: 0px; height: 40px; } #navigation2 { float: right; margin: 0px; padding: 0px; width: 375px; height: 40px; background-image: url(../images/navbar2.gif); background-repeat: no-repeat; } #navigation1 { margin-right: 375px; padding: 0px; height: 40px; background-image: url(../images/navbar1.gif); background-repeat: no-repeat; } #content { background-image: url(../images/contentbg.gif); background-repeat: repeat-y; padding-top: 0px; padding-left: 10px; padding-right: 245px; padding-bottom: 0px; font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Times; font-style: normal; font-size: 12px; color: #858585; } #content-bottom { height: 5px; background-image: url(../images/contentbgbottom.gif); background-repeat: no-repeat; } #footer { height: 80px; padding: 5px; text-align: center; font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Times; font-style: normal; font-size: 11px; color: #cfcfcf; } My problem is this: in IE7, the sight does a couple of things strange: 1) The site loads a bit slower than on the other browsers (not really a big issue...just seems to have something to do with the main problem), and 2) the vertical scrollbar is laggy to say the least. If you scroll up and down the page quickly it will have no idea where it is supposed to be at! On IE6, the browser creates an extra little (appx. 3px wide) space in between the two navigation bars. You can see the page's background pattern through this space. Further, the navigation bars are not pushed aside for this gap...the bg is merely visible ON TOP of the images. Please let me know if you have ANY idea as to what the issue may be. As far as I can see, my code is as simple as I can make it...so I have no idea what else to do. HELP!!!! THANKS!!!! -Tom Winchester- Similar TutorialsHey, I have just about finished this website here except for the footer issue in Internet Explorer. My main issue is that I'm limited to a Macbook Pro right now, I have VM Fusion but haven't been able to use my external harddrive with my virtual machine on it and have no other way to test in IE. Browsershots has it's limitations, haha. Anyway, it displays fine in WebKit and Firefox, but internet explorer is being real finnicky. If I have to I can resort to calling in a modified footer strictly for IE, but then I have to go design a footer for it down at the library so i can use on of their computers to test it. Thought I'd try posting a question here and see if anyone could spot something in my CSS that may not be working with IE. Thanks in advance, really appreciated. The link is http://www.laserbodysculpting.ca/beta/ The screenshots in IE are MSIE7.0 and IE6.0 . I'm using the following DIV structure. (http://pastebin.com/meef27b4) Code: <div id="footer"> <div id="fcont"> <div id="f1" class="fwrap"><h2>Newsletter</h2> ... </div> <div id="f2" class="fwrap"><h2>Map</h2> ... </div> <div id="f3" class="fwrap"><h2>Contact</h2> ... </div> </div> <div id="minifooter"> ... </div> </body> </html> Here is the CSS Code: #footer { width: 100%; height: 270px; position: static; clear:both; text-align: center; border-top:solid 1px #414243; background:#9a9a9a; letter-spacing: 0.2em; filter:alpha(opacity=90); -moz-opacity:0.9; -khtml-opacity: 0.9; opacity: 0.9; } #footer h2{ font-size: 15px; color: #414243; padding:0 0 .5em .1em; } .info { color:#fff; } .map { border: 1px #414242 solid; margin: 2px; } #footer h3{ font-size:10px; padding:0 0 .5em 0; letter-spacing:5px; color:#414243; font-weight:bold; } #fcont { width:100%; margin-left:200px; overflow:auto; } #minifooter { clear:both; width: 100%; height: 15px; padding-bottom:10px; border-top:solid 1px #000; background:#414243; color: #fff; letter-spacing: 0.2em; } #minifooter a:hover { color:#fff; } #f1 { display: inline; float:left; text-align: left; position: relative; margin-bottom: 10px; margin-top: 10px; width: 300px; } #f2 { display: inline; text-align: left; float:left; position: relative; margin-top: 10px; width: 300px; } #f3 { display: inline; text-align: left; float:left; position: relative; width: 300px; margin-top: 10px; } I have a horizontel list as my menu with a 1px border to the right of each item as a seperator. Each item has 10px padding to the left and right. In all browsers it shows up as expected in the middle of the menu items but in Explorer the border is way closer to the right, almost pushed up against the item to the right. Any help please. Hi, I thought I fixed this problem before. In the videos playlist at the bottom, video description (background black). It needs to be positioned 20 pixels down. You will understand it better if you view it in Firefox. http://pangeaadvisors.org/default.asp Code: #content #videos .playlist { float:left; width:442px; height:292px; margin:10px 0; background:#FFFFFF url(images/bg_videoplaylist.gif) repeat-x; background-position:-1px 0; border:1px solid #083684; position:relative; overflow:hidden; } #content #videos .playlist .entries { position:absolute; width:10000em; height:60px; } #content #videos .playlist .entries .video { float:left; width:422px; height:60px; font-size:14px; font-weight:bold; text-decoration:none; padding:20px; background:transparent url(images/player_entry.gif) 0 0 no-repeat; } #content #videos .playlist .entries .playing { background-position:0px -80px; } #content #videos .playlist .entries .paused { background-position:-432px -80px; } #content #videos .playlist .entries .progress { opacity:0.8; } #content #videos .playlist .entries em { float:right; color:red; font-style:normal; margin:14px; } #content #videos .playlist .entries .description { float:right; width:442px; height:212px; background:#000 url(http://flowplayer.org/img/player/btn/play_large.png) right bottom no-repeat; } #content #videos .playlist .entries .description p { color:#FFF; width:422px; height:192px; font-size:12px; font-weight:none; text-decoration:none; padding:10px; position:absolute; } My website, currently http://12.214.26.185 does not render correctly in IE. It renders in Mozilla and Konqueror. I am posting my css file. Any advice would be greatly appreciated. Hey guys. I found some CSS code that will causes the latest IE 6 browsers to display an error reporting window if the service is running and close IE. It works on two computers. A celeron 1.2GHz and an Athlon 2600+. Here is the original code that IE works fine with. Code: /*nav.css*/ #nav *{font: small-caps normal 98%/1em sans-serif;display:block;} #nav * a{color:#9fb594;display:block;} #nav_list,#nav,#nav_main{float:left;clear:none;} #nav_main{background-image:url('../image/nav_bg.png');background-repeat:repeat-y;width:122px;} #nav_foot{background-image:url('../image/nav_foot.png');background-repeat:no-repeat;height:177px;width:122px;} #nav_foot{font: small-caps normal .6em/1em sans-serif;} #nav_foot a{width:105px;margin-top:2px;vertical-align:bottom;} #nav * ul{list-style-type:none;padding:0;margin:0;} #sub_nav_list{background-color:#000;text-align:right;} .nav_item,.sub_nav_item,.selected,.sub_nav_item a{width:105px;} .nav_item,.sub_nav_item,.selected,.sub_nav_item a,#sub_nav_list,#nav_foot{float:left;clear:both;} .nav_item{height:2.2em;} .sub_nav_item a{padding-bottom:.5em;min-height:1em;} .selected a.nav_hlink{font:normal small-caps 900 98%/1em sans-serif;} #nav_main * a:hover{background-color:#333;} The last item, the hover, is what is changed. Code: /*nav.css*/ #nav *{font: small-caps normal 98%/1em sans-serif;display:block;} #nav * a{color:#9fb594;display:block;} #nav_list,#nav,#nav_main{float:left;clear:none;} #nav_main{background-image:url('../image/nav_bg.png');background-repeat:repeat-y;width:122px;} #nav_foot{background-image:url('../image/nav_foot.png');background-repeat:no-repeat;height:177px;width:122px;} #nav_foot{font: small-caps normal .6em/1em sans-serif;} #nav_foot a{width:105px;margin-top:2px;vertical-align:bottom;} #nav * ul{list-style-type:none;padding:0;margin:0;} #sub_nav_list{background-color:#000;text-align:right;} .nav_item,.sub_nav_item,.selected,.sub_nav_item a{width:105px;} .nav_item,.sub_nav_item,.selected,.sub_nav_item a,#sub_nav_list,#nav_foot{float:left;clear:both;} .nav_item{height:2.2em;} .sub_nav_item a{padding-bottom:.5em;min-height:1em;} .selected a.nav_hlink{font:normal small-caps 900 98%/1em sans-serif;} #nav_main * a:hover{background-color:#333; width:80%;margin:auto; } This works fine in Firefox, doesn't look too good. I'm trying to figure something out so that when it's actived it looks kinda like the buttons used in a lot of linux console setup programs. Like the nvidia driver installer and the slackware setup buttons. Trying to figure out how to make this crapy looking site look better. I guess stupid "animations" based on linux console isn't the best way to go :P Hey people. i have created a "fixed" toolbar for my website and runs fine in both safari and firefox... however in IE 6 and 7 the toolbar gets stuck and does not flow with the page. i used a fix which makes it apear in the right place this can be found he http://tagsoup.com/cookbook/css/fixed/ here is the website so far, try opening it in both IE and another brouser too see the difference. http://people.brunel.ac.uk/~dt08ajm/playgroundtest/ any ideas on how i can fix it? i can post the code if needed. thanks in advance. i have a div on a page that i want to be centered. i am using in css as Code: margin: 0 auto that works fine and is centered in firefox, but is left aligned in internet explorer. how to accompalish it in iexplorer ?? I am trying to see what is the problem at my css with internet explorer , banner is appearing over the text however in firefox, safari or opera it works fine. Please check it he ucables.com css style used is he ucables.com/account/styles/ucables.css Please can you help me to find what is the problem i dont know what internet explorer bug is causing this problem THank you in advance Hi, I would really appreciate some help sorting out an error that seems to only crop up on IE. http://www.formulation.org.uk/redesign Is fine on mac browsers (Safari/Camino/Firefox etc.). and fine on windows firefox. the problem appears to be with content wrap. It covers a majority of the banner and navigation bar background. I did manage to fix this with fixed positioning - however this caused adverse effects to the footer. Thanks in advance, Tom I am trying to see what is the problem at my css with internet explorer 6.0, all text is put at the bottom of the page, however in firefox, safari or opera it works fine. Please check it he ucables.com/search/iphone css style used is he ucables.com/account/styles/ucables.css Please can you help me to find what is the problem i dont know what internet explorer bug is causing this problem THank you in advance I have a div #footer at the bottom of a page. All works except in MSIE (v6) where ol' Bill Gates decides to duplicate the #footer: http://www.jobsinkent.com/v5c/home/index.php If I remove the float:left from #footer it displays fine (but out of position!!) ... ideas welcome!! Hi, for reasons unknown my template is being displayed towards the far right of the browser in Internet Explorer...It works fine in Firefox (page is centered) but I am rather confused as to why it is being displayed so strangely in IE? Help would be appreciated. Site: www dot 21healthconsult dot com CSS: Code: /* Generic Selectors */ div.wrapper { height: 100%; width: 950px; text-align: center; margin-left: auto; margin-right: auto; } body { font-family: Georgia, "Times New Roman", Times, serif; font-size: 14px; color: #000000; background-color: #FFFFFF; } p { width: 100%; text-align: left; } h1 { font-family: Georgia, "Times New Roman", Times, serif; font-size: 18px; font-weight: bold; color: #000000; } h2 { font-family: Georgia, "Times New Roman", Times, serif; font-size: 14px; font-weight: none; color: #000000; border-bottom: 1px solid #E0E0E0; } /**************** Pseudo classes ****************/ :link { color: #0066FF; text-decoration: none; font-weight: none; } li { list-style-type: disc; line-height: 150%; } li :link { color: #0066FF; text-decoration: none; font-weight: bold; } :visited { color: #0066FF; text-decoration: none; font-weight: none; } li :visited { color: #0066FF; text-decoration: none; font-weight: bold; } :hover { color: #0066FF; padding-bottom: 5px; font-weight: none; text-decoration: underline; } li :hover { display: block; color: rgb(0, 96, 255); padding-bottom: 5px; font-weight: bold; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #C6EC8C; } :active { color: #0066FF; font-weight: none; } /************************* ID's *************************/ #header { position: absolute; width: 900px; height: 50px; margin: 0; margin-top: 15px; padding: 0 0 50px 50px; /*top right bottom left*/ text-align: left; } #t_navigation { position: absolute; z-index: 10; width: 900px; height: 50px; margin: 0; margin-top: 48px; padding: 0 0 50px 300px; /*top right bottom left*/ font-weight: normal; font-size: 11; text-align: left; } #search_frame { position: absolute; z-index: 10; margin: 0; margin-top: 15px; padding: 0 0 0 300px; /*top right bottom left*/ width: 600px; } #search_box { background-color: #F0F0F0; width: 600px; height: 28px; } #search_box #s { float: left; padding: 0; margin: 6px 0 0 0; border: 0; width: 569px; background-color: #F0F0F0; font-color: #000000; } #search_box #go { width: 27px; margin: 3px 4px 0 0; font-color: #000000; float: right; } #l_navigation { position: absolute; z-index: 10; width: 210px; height: 600px; margin: 0; margin-top: 80px; padding: 0 0 50px 50px; /*top right bottom left*/ border-right: 1px solid #E0E0E0; font-weight: normal; text-align: left; } #centerDoc { position: absolute; z-index: 15; padding: 0 0 50px 300px; /*top right bottom left*/ margin-top: 80px; width: 900px; text-align: left; } OK basically this css code is causing problems in IE.5 OS/9 on the mac I was wondering if the Windows version caused the same problems when rendering these css buttons: #elButton a { color: white; font-size:10px; font-family:verdana; font-weight:bold; text-align:center; text-decoration: none; border:3px outset #99ccff; background-color: #3399ff; display: block; margin: 1px; width: auto; height: 2.5 em; padding: 3px 5px 0; } #elButton a:hover { background-color: #D43D2A; color:#ffffff; padding-left:5px; border:3px inset #ffffff; } ============================================== html code: <DIV id="elButton"> <DIV><A href="#" onclick="img(1)">Next</A></DIV> <DIV><A href="#" onclick="img(-1)">Prev</A></DIV> </DIV> THANKS GUYS !! I am having problems getting my menu to align, I found the menu system at. http://www.gazingus.org/html/Using_...HTML_Menus.html However when you try and center it using tables or divs you get the result you can see in the attached image. Strange thing it works fine in firefox, and sort of okay in opera, though its not centered and the menu is a little bugged. I just can't think what causing the problem and its annoying me. I've attached all the files in zip file for people to explore and see were i am going wrong. thanks OK, so IE 8 comes out, and it has the "compatibility mode" icon, to let everyone know the page is broken when the IE8 doesn't like the particular CSS. Through reading through tons of Microsoft documentation, however, I can't find anything that helps validate your CSS for IE8, or even tell you what it likes and what it doesn't like. It actually has some nice developer tools where it allows you to validate your CSS and HTML with W3C, but to no avail. You can be perfectly validated w/ W3C, and still the icon will show up saying it's broken for IE8 (and, in some cases, it actually is). Any one know of where I can find a resource to validate sites for IE8, so that that damn icon doesn't keep showing up, and so I can more easily figure out what the heck it is IE8 doesn't like about my site? I have my website look exactly how I want it on Firefox and Safari. I checked it on IE 7 and it looks all out of wack! My design is a 3 column design with a column on the left that has a menu, the middle column has my content so far, and the right column is reserved for banners and links. The problem with IE is the left and right column meet and overlap in the middle of the page. How can I fix this without messing it up for the other browsers? my site is at www. highartculture .com. Thank you very much. Any idea why in IE the images and form elements in the middle row of this table are 50% opacity, but none of the text is? The IE CSS: http://ezdispatch.org/css/ezd_ie.css The other CSS: http://ezdispatch.org/css/ezd.css As a note, The IE version of this page (see a larger version he http://ezdispatch.org/view_orders.php ) is already hacked beyond belief (ok, it's not THAT bad...but it's not cool either). Basically, to do the partially see-through background I used a .png with 50% alpha transparency (.grey & .important classes). The problem is that IE doesn't do PNG alpha transparency without their proprietary filters applied. Once I figured that out, it still didn't work. Turns out you can't attach the filtered png background to the tr...you must attach to the tds. So I did. Then I found out that the filtered background image stops propogation of clicks. You can fix the clicks that go to links by making the bg image 1x1...no problem. But, the table rows need to get clicks because they expand when clicked. To do that I added a clear 1x1 gif as the background image over the top of the filtered background image. For some reason that takes the click, and passes it through...even though there is still a filtered image. The reason for wanting opacity for the whole row (as you would see viewing the bigger page in Firefox) is either for rows that are "done" or rows that are "deleted" (rather than the ugly line-through). If you are confused...join the club. If you can find a solution, you are my hero. Good Evening Folks, I would like to discuss Transparent PNG files and Internet Explorer. I like to use 24-bit PNG files with transparency in my web work. I like to overlay transparent backgrounds onto images with text formatted over the top. I like to use transparent PNG's as backgrounds for buttons, text and boxes all over the place, I even like using them to mask out images. I am very keen on using 24-Bit transparent PNG files in web design. The only thing that really stops me or at least puts me off using them is compatability problems with IE6 and below. IE7 doesn't seem to have any problems with them. I have found away to make 24-Bit transparent PNG files work in IE6, It requires using a proprietary IE filter called AlphaImageLoader I am still experimenting with it, but It seems to work OK utilising a few @import hacks. But I can't make this filter work in IE5.5 or IE5, although Micro$oft's doccumentation says I should be able to make it work in 5.5. Anyway I could always use @import hacks to make IE5 browsers use GIF images instead or maybe even JPGs. Now to me this is a lot of mucking around, I accept that a lot of people still use IE6 but how many people are still using IE5.5 and IE5? Does anyone have any other theories or ideas on how to go about this? CAn anyone tell my why in firefox this code showes borders on all sides but in ie it only shows left and right borders? Code: <style type="text/css"> a:link { text-decoration:none; color:#000000; background:white; font-weight : bold; display:inline; border-color:#000000; border-style:solid; border-width:1px; padding-left:3px; padding-right:3px; padding-top:3px; padding-bottom:3px; } a:active { text-decoration:none; color:FFFFFF; background:background-color:#FFFFFF; font-weight:bold; display:inline; border-color:#FFFF00; border-style:solid; border-width:1px; padding-left:3px; padding-right:3px; padding-top:3px; padding-bottom:3px; } a:visited { text-decoration:none; color:#0000FF; font-weight:bold; display:inline; border-color:#000000; border-style:solid; border-width:1px; padding-left:3px; padding-right:3px; padding-top:3px; padding-bottom:3px; } a:hover { text-decoration:none; color:FFFFFF; font-weight:bold; background:background-color:#FFFFFF; display:inline; border-color:#FFFF00; border-style:solid; border-width:1px; padding-left:3px; padding-right:3px; padding-top:3px; padding-bottom:3px; } .navigationBorder { width:600px; } </style> <div class="navigationBorder"> <a href="http://www.2dwebdesign.com/index.html">Home</a> <a href="http://www.2dwebdesign.com/design.html/">Design</a> <a href="http://www.2dwebdesign.com/build.html/">Build</a> <a href="http://www.2dwebdesign.com/publish.html/">Publish</a> <a href="http://www.2dwebdesign.com/promote.html/">Promote</a> </div> |