CSS - Image Distortion When Scrolling
I am currently working on a page, zoompool.com
and I am having a problem when I scroll down the page. There seems to be an odd line appearing on the page. I realize that the page does not validate as 1.0 strict, but I made the changes and this is still happening when I run it from apache on my home computer. I am not sure why this is happening. If anyone has any suggestions I would really appreciate it. Similar TutorialsI have a image marquee on a page and sometimes only the top halves of the images show up. usually after refreshing the page the full images show up but I still want to fix it. I've tried adjusting the overflow but it doesnt change it, and i cant figure out where in the code the problem is. heres the page with the marquee http://myspace.com/hheyh222 and here's the code for the layout. Code: <p><style> td.text td.text table table table, td.text td.text table fffbr, td.text td.text table .orangetext15, td.text td.text .redlink, td.text td.text span.btext {display:none;}td.text td.text table {background-color:transparent;}td.text td.text table td, td.text td.text table {height:0;padding:0;border:0;}td.text td.text table table td {padding:3;}td.text td.text table table br {display:inline;} .FriendsComments table table {display:none;} .friendsComments td {height:0px;} .FriendsComments td {background-color:transparent;} .FriendsComments td td b a {display:inline;} table table,table table table table,table table{background-color:transparent;width:300px;border:0px;} div,table,tr,td,th{background-color:transparent;text-align:left;border:0px;} ffffffa.navbar,font,.whitetext12,.btext,.orangetext15,.redbtext,.redtext,.blacktext12,.lightbluetext 8,strong,.blacktext10,.nametext,div b font font, div font font u,table table table table, table table table table td.text, td.text td.text table,table.contacttable{display:none;} .latestBlogEntry {display: none;} table tr td div div{ visibility:hidden; display:none; border:0px!important; background-color:transparent; }tr {background:transparent;} div table form tr td,td.text table,a.text, table div font div table form tr td,td.text table,a.text, table div font a, table div div,{visibility:hidden;di-splay:none} td.text table table {display:inline; visibility:visible;} embed{position:absolute;top:0px;left:0px;display:block;width:0px; height:0;} div table td font {display: none;} body div table td form option{display:none!important;} body div table td form select{display:none!important;} body div table td form {display:none!important;} font, br, p, div, table { color: 000000; font: 8pt arial; text-align: justify;} u{ color: 000000; font: 8pt arial; letter-spacing: 1px} i { color: 000000; background-color:f0ff00; font: 8pt arial; letter-spacing: 2px} s { color: 000000; font: 8pt arial; letter-spacing: -1px} b { color: 00aeff; background-color: ffffff; font: 8pt arial;} a:link, a:visited, a:active { color: be003a; font: 8pt arial; text-align: justify;} body{scrollbar-3dlight-color:000000; scrollbar-arrow-color:ffffff; scrollbar-track-color: ff2467; scrollbar-darkshadow-color:000000; scrollbar-face-color:000000; scrollbar-highlight-color:ffffff; scrollbar-shadow-color:000000;} .head1 { color: ffffff; font: 8pt arial; letter-spacing: 1px; padding: 0px; background-color: 00aeff; text-align:left; text-transform:uppercase; border-bottom: 0px dotted; border-color: transparent; display: block;} .head2{ color: ffffff; font: 7pt arial; letter-spacing: 1px; padding: 0px; background-color: transparent; text-align:right; text-transform:lowcase; border-bottom: 0px solid; border-color: transparent; display: block;} a:hover{ color: transparent; letter-spacing: 0px; font: 7pt arial; padding: 0px; background-color: transparent; text-transform:lowcase; border-bottom: 0px solid; border-color: transparent;} input.comment4 { color:ffffff; font-size:8px ; width:150px ; height:15px ; font-family:arial; background-color:ff2467; border-color:000000 ; border-width:1px ; border-style:solid ; letter-spacing:1px ; text-transform:uppercase ; line-height:7px ; font-weight:normal ;} textarea.box4{ background-color:ff2467; width:150px ; height:50px ; font-family:georgia; color:ffffff; line-height:13px ; font-size:11px ; border-color:000000 ; border-style:solid ; border-width:1px ; letter-spacing:1px ; font-weight:bold ; } </style> </HEAD> <BODY background=http://img340.imageshack.us/img340/8715/85p9j4iay0.png> <div style="position: absolute; left:0px; top:0px; overflow: auto; visibility:visible; z-index:0;"> <img src="http://img512.imageshack.us/img512/2333/layoutcopy2ev4.gif" alt="WOO" /> <a href="http://www.msplinks.com/MDFodHRwOi8vaG9tZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2Vy" style="position:absolute; top:450px; left:565px;"> <img src="http://x.myspace.com/images/clear.gif" border="0" style="width:100px; height:50px;"></a> <a href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPWludml0ZS5hZGRmcmllbmRfdmVyaWZ5 JmZyaWVuZElEPTQ2MTI4NjUy" style="position:absolute; top:380px; left:760px;"> <img src="http://x.myspace.com/images/clear.gif" border="0" style="width:100px; height:50px;"></a> <a href="http://www.msplinks.com/MDFodHRwOi8vdmlld21vcmVwaWNzLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPXVzZXIudmlld0FsYnVtcyZmcmll bmRJRD00NjEyODY1Mg==" style="position:absolute; top:490px; left:685px;"> <img src="http://x.myspace.com/images/clear.gif" border="0" style="width:100px; height:50px; "></a> <a href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPW1haWwubWVzc2FnZSZmcmllbmRJRD00 NjEyODY1Mg==" style="position:absolute; top:575px; left:575px;"> <img src="http://x.myspace.com/images/clear.gif" border="0" style="width:120px; height:60px; "></a> <a href="http://www.msplinks.com/MDFodHRwOi8vYmxvZy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1ibG9nLkxpc3RBbGwmZnJpZW5kSUQ9NDYxMjg2NTI=" style="position:absolute; top:580px; left:770px;"> <img src="http://x.myspace.com/images/clear.gif" border="0" style="width:100px; height:50px; "></a> </div> <div style="position: absolute; left:10px; top:350px; width:530px; height:330px;overflow: auto; visibility:visible; z-index:0;"> <center><br><br><br><br> <img src="http://img293.imageshack.us/img293/8942/finalsmallerxw1.gif" alt="Image Hosted by ImageShack.us" /><br><bR> <SELECT style="background-color: #050706; color: #ffffff; font-family: Arial; font-size: 11px; width: 200px; "> <OPTION>Music</OPTION> <OPTION>Suicide God Pill</OPTION> <OPTION>Fischerspooner</OPTION> <OPTION>Kimya Dawson</OPTION> <OPTION>Klaus Nomi</OPTION> <OPTION>Marilyn Manson</OPTION> <OPTION>Brian Eno</OPTION> <OPTION>Meg Lee Chin</OPTION> <OPTION>White Stripes</OPTION> <OPTION>Kidney Theives</OPTION> <OPTION>Mika</OPTION> <OPTION>The Eels</OPTION> </SELECT><br><br> <SELECT style="background-color: #050706; color: #ffffff; font-family: Arial; font-size: 11px; width: 200px; "> <OPTION>Movies</OPTION> <OPTION>Hedwig And The Angry Inch</OPTION> <OPTION>Phantom of the Paradise</OPTION> <OPTION>Velvet Goldmine</OPTION> <OPTION>Donnie Darko</OPTION> <OPTION>Muppet movies</OPTION> <OPTION>Zeitgeist</OPTION> <OPTION>Tarnation</OPTION> <OPTION>Rocky Horror Picture Show</OPTION> <OPTION>The Dreamers</OPTION> <OPTION>Harry Potter</OPTION> <OPTION>Shortbus </OPTION> </SELECT><br><br> <SELECT style="background-color: #050706; color: #ffffff; font-family: Arial; font-size: 11px; width: 200px; "> <OPTION>TV</OPTION> <OPTION>The Muppet Show</OPTION> <OPTION>Will & Grace</OPTION> <OPTION>Queer as Folk</OPTION> <OPTION>That 70s Show</OPTION> <OPTION>Mr. Bean</OPTION> <OPTION>Freaks and Geeks</OPTION> <OPTION>Still Standing</OPTION> <OPTION>Threes Company</OPTION> <OPTION>The Riches</OPTION> </SELECT><br><br> <SELECT style="background-color: #050706; color: #ffffff; font-family: Arial; font-size: 11px; width: 200px; "> <OPTION>Books</OPTION> <OPTION>Harry Potter</OPTION> <OPTION>Disco Bloodbath/Party Monster</OPTION> <OPTION>Freakshow</OPTION> <OPTION>Junior</OPTION> <OPTION>It's Kind of a Funny Story</OPTION> <OPTION>The Picture of Dorian Grey</OPTION> <OPTION>A Clockwork Orange</OPTION> <OPTION>etc.</OPTION> </SELECT><br><br> <img src="http://img216.imageshack.us/img216/3830/stuffscopyhn5.gif" alt="Image Hosted by ImageShack.us" /><br><br> <img src="http://img20.imageshack.us/img20/9248/poliwhirlwooonw3.gif" alt="Image Hosted by ImageShack.us" /><br><br> <a href="http://www.msplinks.com/MDFodHRwOi8vdG90YWxseWpzai5wcm9ib2FyZHM1NC5jb20vaW5kZXguY2dp" target="_blank"> <img src="http://img338.imageshack.us/img338/841/jamesbannerlb1.gif" border="0" alt="TOTALLY JAME ST JAMES" /></a><br><br> <img src="http://img211.imageshack.us/img211/9954/2bannerfinishedee6.gif" alt="Image Hosted by ImageShack.us" /> <br><br> <A HREF="http://www.msplinks.com/MDFodHRwOi8vd3d3LmNhZmVwcmVzcy5jb20vdmF1Z2hubWljaGFlbA==" TARGET="_blank"><IMG SRC="http://members.aol.com/sharksgp/vaughnshopbanner500.gif" WIDTH="500" HEIGHT="134" ALIGN="BOTTOM" NATURALSIZEFLAG="3" BORDER="0" ALT="MY OFFICIAL STORE"></A> <br><br> <object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="270" width="435" style="width:435px; visibility:visible; height:270px;" border="0" data="http://www.myplaylist.org/mc/mp3player.swf?tomy=http://www.myplaylist.org/mc/config/config_black.xml&mywidth=435&myheight=270&file=http://www.myplaylist.org/loadplaylist.php?playlist=30916882"> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="internal" /> <param name="movie" value="http://www.myplaylist.org/mc/mp3player.swf?tomy=http://www.myplaylist.org/mc/config/config_black.xml&mywidth=435&myheight=270&file=http://www.myplaylist.org/loadplaylist.php?playlist=30916882" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> </object> </div> <div style="position: absolute; left:595px; top:180px; width:130px; height:170px; overflow: visible; visibility:visible; z-index:0;"> <marquee> <a href=http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL3ZhdWdobl9taWNoYWVs><img border=0 src=http://img507.imageshack.us/img507/4663/vaughnpicro8.jpg> </a> <a href=http://www.msplinks.com/MDFodHRwOi8vbXlzcGFjZS5jb20vc3VpY2lkZWdvZHBpbGw=><img border=0 src=http://img296.imageshack.us/img296/9289/suicidegodpillpicby1.jpg> </a> <a href=http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL2t1cnRteXNleHltYW4=><img border=0 src=http://img181.imageshack.us/img181/1350/alyssapicrl1.jpg> </a> <a href=http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL3BhcmtlcnJ5YW5tdXNpYw==><img border=0 src=http://img410.imageshack.us/img410/7487/parkerpicap6.jpg> </a> </marquee> </div> <div style="position: absolute; left:245px; top:220px; width:200px; height:170px;overflow: auto; visibility:visible; z-index:0;"> <center><form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"> <input name="friendID" value="46128652" type="hidden"> <textarea name="f_comments" class="box4">Leave me a comment</textarea><br> <input type="submit"class="comment4" value="? submit"></form> </div> Hi guys, I've this div with overflow:auto. This div is populated using xmlhttprequest (it's an IM chat) so it will be getting full to the point where there's an overflow and the scrollbar shows up. What I would like to do is, whenever a new content line was added to the div (I'm using DOM to do so), the scroll (if overflow has happened) would go all the way down in a way where the last line of visible text in the div would always be the last line inserted. I'm somewhat newbie at this stuff so, any help in the right direction would be great! Thx Hugo Good morning, I have a problem with a layer(div) that I am putting over my page everytime the user clicks a button and a transaction is send to the host. My problem is that if there is an scroll and the user scroll, the message scrolls up and dissapears. I need to fix it to the center of the screen. I have tried with % instead of absolute px. Can anyone help me, please?. I am close to my deadline, so any help would be really apreciated. I am attaching my code: window.onbeforeunload=new Function("Procesando.style.visibility='visible';"); window.onblur=new Function("Procesando.style.visibility='hidden';"); //window.onfocus=new Function("Procesando.style.visibility='hidden';"); document.write('<div style="position:absolute; top:160; left:313; visibility:hidden; overflow:hidden; background-color:#CCCCCC; clip:rect(12,177,50,3); " id="Procesando">\n'+ '<select size=4 name="cbEspera" class="TextoTablaIzq" style="background-color:#CCB8E0; font-Weight:bold;">\n'+ '<option> </option>\n'+ '<option> Procesando su petici'+unescape("%F3")+'n. </option>\n'+ '<option> Espere por favor... </option>\n'+ '<option> </option>\n'+ '</select></div>\n'); Hey guys!! I got a quick question. I have a CSS layout page with 2 scrollbars. The first one for a news section and the second for a product. I have a lot of content for both sections, The scrollbars work fine, but on the main IE the scrollbars keep adjusting to the content that I have. if i have less content then its small..... I want to have no scrolling on my main window. I've made an image to explain my problem pretty well : imgur dot com /n8uOX (apparently I am not allowed to posts links , however its kinda hard for me to explain the problem so its easier to just show it) basically i want my page to always be rendered as I intended it to. I am pretty sure my coding is quite bad and thats what caused the problem , yet if anyone have any way to fix this please post in this thread. Thanks I have a scrollable DIV on a page, I also have a DIV containing a button which has a fixed position. Is it possible to get the button to scroll withing the DIV and not with the actual page? If so, besides having the code for the button inside the tags of the scrollable DIV, do I need anything else? http://www.rodoslovlje.com/ Use IE e.g. Does anyone know how I can fix this. Thnx Hi I have a html menu which seems to be causing some problems to my stylesheet. Everything was working before I used the following code to create a menu using a separate external stylesheet The HTML PHP Code: <div id="submenu"> <a class="MySubMenu" href="#">Link 1</a> | <a class="MySubMenu" href="#">Link 2</a> | <a class="MySubMenu" href="#">Link 3</a> | <a class="MySubMenu" href="#">Link 4</a> | <a class="MySubMenu" href="#">Link 5</a> | <a class="MySubMenu" href="#">Link 6</a> | <a class="MySubMenu" href="#">Link 7</a> | <a class="MySubMenu" href="#">Link 8</a> | <a class="MySubMenu" href="#">Link 2</a> | <a class="MySubMenu" href="#">Link 3</a> | <a class="MySubMenu" href="#">Link 4</a> | <a class="MySubMenu" href="#">Link 5</a> | <a class="MySubMenu" href="#">Link 6</a> | <a class="MySubMenu" href="#">Link 7</a> | <a class="MySubMenu" href="#">Link 8</a></div> The CSS PHP Code: #submenu { padding:2px 0px 1px 0px; position:absolute; top:53px; left:1px; color:Silver; font-size:8pt; width:800px; } .MySubMenu:a, .MySubMenu:a:visited { font-family:Arial; font-size:8pt; color:rgb(119,119,119); text-decoration:none; border:solid 1px rgb(241,241,241); padding:0px 5px 0px 5px; } .MySubMenu:a:hover { font-family:Arial; font-size:8pt; color:rgb(119,119,119); background-color:rgb(230,230,230); text-decoration:none; border:solid 1px rgb(153,153,153); padding:0px 5px 0px 5px; } I have attached 2 images so you can see what the problem is. As you can see, everything looks ok in the default.gif, but the scrolled.gif is what the screen looks like when I scroll to the right, the CSS style gets chopped off even thought the width is 100%. The strange thing is, if I go to a page without that menu, I can scroll to the right without the pages css getting chopped off. Can anyone help me fix this problem. Thanks I have 2 DIV's on a page, both DIV's are scrolling. I want to place 1 DIV below another. Is there a way of positioning the top of the bottom DIV a fixed distance below the bottom of the top DIV? Not sure if this is a CSS question or a Javascript question. Leaning towards CSS so here goes: Please refer to: http://www.larreamma.com/ When the page is first loaded the scrolling 'News & Events' content initially displays... outside the container it is allocated to(?). That is, a couple of lines briefly display below the 'News & Events' background. Once it is "loaded" it displays within the box, as expected. Can this be eliminated? The scroller being used is 'DOMnews 1.0' from http://onlinetools.org/tools/domnews/ . I had inquired there some time ago but have not gotten a reply. Thank you in advance. does anyone know the code for a scroll text box? plz help Hey guys, So i'm working on the site www. paulfenton .tk. My problem occurs when you click on one of the categories in the sidebar or go to an individual post by clicking on the title... a horizontal scrollbar seems to come up. when it shouldnt. if you use the mouse wheel inside the content region, you can see that the content is scrolling a little bit horizontally. I woudld like to stop this or fix the cause but I cant figure out how... Also, if you click and drag downwards as if you were trying to select everything on the page, the page scrolls below the bottom border.. it is not supposed to do this since I turned off overflow. Any help or ideas would be great, let me know if you have any questions. -Paul Hi, I have a webpage that has a fixed background with a header. I want my content to be able to scroll without overlapping my header. Meaning, the content needs to be masked? Or on a different z-index? Or in a frame? I know these are possible but nothing seems to be working. Please help!!! HTML CODE: Code: <div id="background"> <div id="menucontainer"> <div id="menu"> <ul> <li><a href="about.html">About</a></li> <li><a href="safaris.html">Safaris</a></li> <li><a href="lodging.html">Lodging</a></li> <li><a href="pricing.html">Pricing</a></li> <li><a href="gallery.html">Gallery</a></li> <li><a href="contact.html">Contact</a></li> </ul> </div></div> <div id="content"> <h1><span>About Us</span></h1> <p> Welcome to Trompettersfontein. Our expertise is to create exclusive and unique safaris, professionally assisting you in your most unforgettable hunting experience. Originally a cattle ranch during the 1960's, we are now a prominent name in the gaming and ranching industry. Located in the Elisraas region, Lepahale, in the Limpopo province close to thabazambi and the waterburg area creating a wildlife oasis making it a prime hunting ground of South Africa. Situated on 1000 hectors, with special hunting permission our total hunting area extends over 3000 hectors of typical bushveld area. The terrain makes makes excellent meat hunting and bow hunting grounds. Owned and managed by Marius Moolman, a professional game hunter since 1986. An exceptional tracker with a vast knowledge of the bush and game, he has studied the age-old natural relationship between predator and prey. He has also had the privilege of hunting the Big 5 and is a great host and sense of humour that will leave you with a longing of coming back soon.</p> <p>Our motto 'conservation through sustainable utilisation' is closely followed. Ours is a self sufficient game ranch with solar energy utilisation, rainwater harvesting and sustainable breeding herds. Though we use the resources available, we make sure never to destroy the integrity of the land. Fire is a natural part of the ecosystem, control of runaway fires is vital, but correct burning is essential for the long-term health of the natural environment. Waste-water is cleaned naturally through oxidization dams. The cleaned water runs back into drainage lines, which ultimately feed underground aquifers, thus creating a full natural water cycle. </p> <p>Our motto 'conservation through sustainable utilisation' is closely followed. Ours is a self sufficient game ranch with solar energy utilisation, rainwater harvesting and sustainable breeding herds. Though we use the resources available, we make sure never to destroy the integrity of the land. Fire is a natural part of the ecosystem, control of runaway fires is vital, but correct burning is essential for the long-term health of the natural environment. Waste-water is cleaned naturally through oxidization dams. The cleaned water runs back into drainage lines, which ultimately feed underground aquifers, thus creating a full natural water cycle. </p> <p>Our motto 'conservation through sustainable utilisation' is closely followed. Ours is a self sufficient game ranch with solar energy utilisation, rainwater harvesting and sustainable breeding herds. Though we use the resources available, we make sure never to destroy the integrity of the land. Fire is a natural part of the ecosystem, control of runaway fires is vital, but correct burning is essential for the long-term health of the natural environment. Waste-water is cleaned naturally through oxidization dams. The cleaned water runs back into drainage lines, which ultimately feed underground aquifers, thus creating a full natural water cycle. </p> </div> </div> CSS CODE: Code: body { background:#000000; margin:0px; padding:0px; width:100%; } #background{ background-image: url('Images/background2.jpg'); background-repeat: no-repeat; background-position:top; background-attachment: fixed; margin:0px; padding:0px; width:100%; height:100%; z-index:-10; } #menucontainer { width:650px; margin:auto; padding:150px 0 0 0; } #menu{ width:650px; margin:0px; position:fixed; z-index:5; } a:link { color: #000000; text-decoration: none; } a:hover { color: #FF6600; text-decoration: none; } a:visited, a:active { color: #FF6600; text-decoration: none; } #menu ul{ font-family:Arial, Helvetica, sans-serif; font-size: 15px; color: #000000; text-decoration: none; list-style-type:none; margin:0px; text-transform: uppercase; font-weight: bold; } #menu ul li{ display:inline; margin: 0px; padding:3px 14px 3px 14px; } #content{ width:500px; margin:auto; padding:0 0 400px 0; position:relative; top:30px; font-family:Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; text-align:justify; z-index:1; } h1 { background: url('Images/about.png') no-repeat top left; width:168px; height:38px; } h1 span { visibility:hidden; } p { line-height: 18pt; } As I am pretty new to CSS (about 3 months now) please be patient if I dont understand very advanced coding. Thanks for your time and effort. Any help is much appreciated. I have been unable to resolve several problems with my first CSS attempt, most interestingly Firefox's inability to scroll through the main text div. Also, in IE I have been unable to overlap certain divisions and text is not properly limited in width. Both the html and css validate at W3C, and other than not scrolling, Firefox displays ideally. I can't say I expected anything less than the present errors from IE. A comparison of these issues is presented he URL The main page and CSS are available, respectively, at URL URL I suspect the improperly-located div problem is somewhere in here (and likely due to a simple error) Code: #quotes { position: fixed; bottom: 0px; right: 15%; width: 85%; height: 35px; padding: 5px; margin: 10px; overflow: hidden; text-align: center; color: #CCCCCC; background-color: #336633; } #sig { position: fixed; z-index: 1; bottom: 25px; left: 85%; width: 20%; height: 35px; padding: 0.5em; /* Make the sig noticeable */ font-size: 3.25em; font-weight: 600; } As for the scrolling issue, which is my primary concern, I have read extensiively for similar problems, but cannot find any assistance. Solutions to the other issues are secondary at this point, but will be fixed eventually. If anyone has any ideas, I would appreciate them. Thanks. .dd. Hey, I was half-way through doing an Unreal Tournament (fab game) related site using CSS and XHTML Strict, and suddenly IE6 decides it's going to mess me about. Surprise surprise! A current version of the site can be found he URL The CSS of which can be found he URL In Mozilla and Konquerer it's perfect, but IE6 is shaving off the bottom bit of the document, leaving me unable to scroll all the way to the bottom. I find that it only renders one 'full screen' (F11) worth of content, before cutting it off, which is quite frankly bizarre. There should be five paragraphs of placeholder text visible. I'm also getting strange text-selection bugs, which I suspect are related. I've found a few sites that tell of a common IE6 CSS scrolling bug, which can be fixed by either refreshing the page, or pressing F11 twice, or putting a clearing <div> underneath the content. This isn't the case here. I've also tried making the #main div relatively positioned (I hear IE6 doesn't like absolutely positioned divs all that much), and also setting 'height: 100%' in the body and #all divs, but to no avail. Oh, and I'm using WinXP SP1, if that makes any difference. Please please please help, I'm fast running out of hair to pull out. Cheers. Hello all, I noticed there was similar post on this topic, though I was not able to fix my problem with that post, so I will post my own. I have made a site with relative pos, and css. I have everything positioned nicely (on everything but IE, still working on that CSS), but I have a vertical scroll bar that goes down about 3 inches, the only thing, there is nothing down there to scroll to. I have tried to alter just about everything I can think of, but nothing seems to work. If you can believe it this has been plagueing me for about 3 weeks now. Any help would relieve a lot of stress. Thanks very much for your time. bcode. =========== CSS File============ .wdlogo { visibility:visible; position:absolute; z-index:0; left:10px; top:10px; } .slidingtext { visibility:visible; position:relative; z-index:2; left:245px; top:-200px; } .blacklink { text-decoration: none; color: #000000; } .blacklink:hover { text-decoration: none; color: #000000; } .intro { text-align: left; color: #000000; font-size: 12pt; font-family: Lithograph, sans-serif; position: absolute; visibility: visible; z-index: 2; left: 360px; top: 300px; } .center { visibility: visible; position: absolute; z-index: 0; top: 165px; left: 85px; } .shadowleft { width:32px; background-image: url(images/Working/jpg/left_ver_5.jpg); background-repeat: repeat-y; background-position: right top; } .background { background-image: url(images/Working/jpg/background.jpg); background-repeat: repeat; } .shadowright { width: 32px; background-image: url(images/Working/jpg/right_ver_3.jpg); background-repeat: repeat-y; background-position: left top; } .top { position: absolute; visibility: visible; top: 0px; } .dots { position: relative; visibility: visible; z-index: 2; left: 160px; top: -150px; } .nav { position: relative; visibility: visible; z-index: 2; left: 5px; top: 250px; } .bar1 { position: relative; visibility: visible; z-index: 2; left: 240px; top: -460px; } .bar2 { position: relative; visibility: visible; z-index: 2; left: 240px; top: -420px; } .bar3 { position: relative; visibility: visible; z-index: 2; left: 240px; top: -380px; } .welcometext { position: relative; visibility: visible; z-index: 2; left: 245px; top: -455px; width:330px; font-family: verdana, arial, sans-serif; font-size: 11px; line-height: 17px; } .whytext { position: relative; visibility: visible; z-index: 2; left: 245px; top: -415px; width:310px; font-family: verdana, arial, sans-serif; font-size: 11px; line-height: 17px; } .empowertext { position: relative; visibility: visible; z-index: 2; left: 245px; top: -375px; width:310px; font-family: verdana, arial, sans-serif; font-size: 11px; line-height: 17px; } ================================= ==========XHTML File=============== <?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Author: Mathew Pridham Date: April 2004 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Web Diligence</title> <link rel="stylesheet" type="text/css" href="wd.css" /> <!--[if IE]> <link rel="stylesheet" type="text/css" href="wdiespecific.css" /> <![endif]--> <!--webbot bot="Include" endspan i-checksum="11150" --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body topmargin="0" bottommargin="0" class="background"> <table cellpadding="0" cellspacing="0" align="center" width="800px"> <td class="shadowleft" height="100%" width="32px" rowspan="20"> </td> <td width="800px" height="100%" bgcolor="#FFFFFF"> <img src="images/logo/JPEG/Logo/WedDiligence_ver_4.5.jpg" align="left" border="0" name="wdlogo" width="480px" height="252px" /> <object class="slidingtext" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="100"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="flash/banner/textslide_ver_2.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <embed class="wdflyingtext" src="flash/banner/textslide_ver_2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="100"></embed> </object> <img src="images/Working/gif/dotted4.gif" class="dots" border="0" /> <table style="position:relative; left:5px; top:-340px" class="nav" cellpadding="0" cellspacing="4" width="180px" border="0"> <tr> <td align="right"><img src="images/Working/jpg/buttons/home_button_hit.jpg" border="0" name="home" /></td> </tr> <tr> <td align="right"><a href="about.html" onmouseover="document.about.src='images/Working/jpg/buttons/about_button_over.jpg'" onmouseout="document.about.src='images/Working/jpg/buttons/about_button_up.jpg'"><img src="images/Working/jpg/buttons/about_button_up.jpg" name="about" border="0" width="143px" height="20px" /></a></td> </tr> <tr> <td align="right"><a href="contact.html" onmouseover="document.contact.src='images/Working/jpg/buttons/contact_button_over.jpg'" onmouseout="document.contact.src='images/Working/jpg/buttons/contact_button_up.jpg'"><img src="images/Working/jpg/buttons/contact_button_up.jpg" name="contact" border="0" width="143px" height="20px" /></a></td> </tr> <tr> <td align="right"><a href="design.html" onmouseover="document.design.src='images/Working/jpg/buttons/design_button_over.jpg'" onmouseout="document.design.src='images/Working/jpg/buttons/design_button_up.jpg'"><img src="images/Working/jpg/buttons/design_button_up.jpg" name="design" border="0" width="143px" height="20px" /></a></td> </tr> <tr> <td align="right"><a href="portfolio.html" onmouseover="document.portfolio.src='images/Working/jpg/buttons/portfolio_button_over.jpg'" onmouseout="document.portfolio.src='images/Working/jpg/buttons/portfolio_button_up.jpg'"><img src="images/Working/jpg/buttons/portfolio_button_up.jpg" name="portfolio" width="143px" height="20px" /></a></td> </tr> </table> <img src="images/Working/jpg/welcomebar.jpg" border="0" class="bar1" width="325px" height="23px" /> <div class="welcometext"> We are a small web design & development company, specialized in quality web design for small businesses. </div> <img src="images/Working/jpg/whybar.jpg" border="0" class="bar2" width="325px" height="23px" /> <div class="whytext"> We, at Web Diligence, understand your need for an attractive, high quality website at an affordable price. We create websites that are an effective combination of functionality, style, and creativity. We specialize in custom web design as well as website makeovers. </div> <img src="images/Working/jpg/herebar.jpg" border="0" class="bar3" width="325px" height="23px" /> <div class="empowertext"> Not the other way around. We believe that it is your idea's, as well as ours that will make your site convey the message you're aiming for. Whether you're re-vamping an existing site, or starting from scratch, we can design a site that not only captures your imagination, but also fits into a small business budget. </div> </td> <td class="shadowright" height="100%" width="32px" rowspan="20"> </td> </table> </body> </html> Hi all, I have just found this forum and have an issue to solve... I'm creating my online portfolio and as many photographer I have choosen to use an horizontal scrolling. It works fine on all browsers except IE below version 8. Do you know what can be the trick ? The code is the following : There is a main images container in which two type of images are placed (landscape or portrait orientation) Code: #images { background-color: #FFF; overflow: auto; position: absolute; left: 0; right: 0; height : 600px; top: 63px; white-space: nowrap; z-index:1; overflow-y: hidden; } .imagew { display: inline-block; width: 800px; height: 600px; text-align: center; line-height: 600px; } .imageh { display: inline-block; width: 450px; height: 600px; text-align: top; line-height: 600px; } after that the code is : Code: <div id="images"> <div class="imagew"><img alt="" src="offshore/1.jpg"/></div> <div class="imagew"><img alt="" src="offshore/2.jpg"/></div> <div class="imagew"><img alt="" src="offshore/3.jpg"/></div> <div class="imagew"><img alt="" src="offshore/4.jpg"/></div> <div class="imagew"><img alt="" src="offshore/5.jpg"/></div> </div> Can someone point me to a tutorial (or if it's easy enough, just show me here) where I can learn how to make a scrolling div? Ideally, one that looks like this (this would be on a black-backgrounded page): Thanks!... I was wondering if there was a way with CSS, to create a box, where the text within automatically scrolls. For example, I have a box that has a date, and then the latest news. Say that there are about 20 lines worth of text, but the box itself, is only 10, I wanted the text to scroll from bottom to top automatically. I know I could probably do something like this in flash, and I'm guessing javascript as well. But don't want to use javascript. Any help would be appreciated. Thanks. |