HTML - Div With Overflow Out Of Screen
Hello,
I wan't to make a div filled with images in one single line, overflowing out of the visible content-part. I wan't to be able to move it left to right and back using jQuery (so that part should be covered). A sprite is not an option because of the images being links (Lightbox and stuff). CSS "overflow:hidden" and "display:in-line;" don't seem to work. Please help! Similar TutorialsI placed all my adsense ads into iFrames but when I resize the window small all the ads are pushed to the middle of the screen. How can I make them stay put. I tried working with divs too but it makes the ads the highest layer and it makes an invisible border stretching across the screen and I cant click anything thats in that border range. heres some of my code: <html> <head> <link rel="stylesheet" type="text/css" href="style2.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <center> <head> <title>BIO</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> </tr> </table> <!-- End ImageReady Slices --> <iframe src="/adsense.htm" width="120px" height="600px" frameborder="0" style="position:relative;Left:1173;bottom:865" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe> <iframe src="/adsense2.htm" width="120px" height="600px" frameborder="0" style="position:relative;Left:-92;bottom:865" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe> <iframe src="/adsense3.htm" width="728px" height="90px" frameborder="0" style="position:relative;Left:50;bottom:518" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe> <iframe src="/adsense4.htm" width="336px" height="280px" frameborder="0" style="position:relative;Left:195;bottom:1560" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe> </body> </center> </html> So I have this table, and I'm trying to get the overflow to work, but it's not working. Everytime I put a bunch of words it just streches and goes out of the specific height I want it to be at. Can someone help me? Make it where it overflows? Ppllleeassee. Here's my code. <table id="maintable"> <tr> <td colspan="2" width="303px" height="155px" class="words" overflow="auto"> 1111 </td> <td colspan="1" width="150px" height="155px" class="words"> 555 </td> <td colspan="1" rowspan="2" width="150px" height="205px" class="words"> 888 </td> </tr> <tr> <td colspan="1" rowspan="4" width="150px" height="300px" class="words"> 222 </td> <td colspan="1" rowspan="2" width="150px" height="150px" class="words"> 333 </td> <td colspan="1" rowspan="2" width="150px" height="150px" class="words"> 666 </td> </tr> <tr> <td colspan="1" rowspan="2" width="150px" height="125px" class="words"> 9999 </td> </tr> <tr> <td colspan="2" rowspan="4" width="300px" height="150px" class="words"> 4444 </td> </tr> <tr> <td colspan="1" width="150px" height="125px" class="words"> 777 </td> </tr> </table> <style type="text/css"> table#maintable { background-color:#222222; border: 2px solid #FF0099; } table#maintable td { padding: 5px; border: 1px solid #FF0099; vertical-align: top; text-align: left; } .words { color: #FFFFFF; } </style> Hello, I have one problem with overflow in IE, the problem results from having height of my div determined in % I guess. If I change it to fixed size in px I have no problems Here is the code : Code: <style type="text/css"> ... div.text { font-size: relative; width:85%; height:57%; overflow-y:scroll; } ... </style> <div class="text"> .... </div> I need the size of this div to be set in % and overflow to work, can I do that in any way ? (this woks nice in firefox, however not in IE6) Thank you!! Hi, i want to add a horizontal overflow to the div element that holds the UL. each LI is displayed along side each other using Float:left. however, when they reach the end of the page it starts a new line. how can i get it so it doesnt start a newline, but carrys on in a line and can be scroll-able? thankyou Code: bodywrapper { width:930px; margin:auto; margin-top:20px; background:url(../images/layout/main_body_bg.jpg) repeat; } /*Image Gallery*/ #gallery ul { margin-left:-30px; margin-bottom:0; margin-top:-10px; } #gallery ul li { display:block; float:left; height:100px; width:100px; padding-top:10px; padding-right:10px; } .thumbnails { outline:none; border:none; } .thumbnails_link { outline:none; } I have a small problem with my site that I am having trouble fixing. When I add a
Quote: overflow: auto; , it goes under the nav box to the left, and adds a scroll bar. Here is a screenshot: ----- ----- Here is my CSS code: Code: #content {background:#92979c url(images/content-tail.gif) top repeat-x; padding:0 9px 0 10px; min-height: 100%; overflow: auto;} Here is the HTML: Code: <html> <head> <title>JACKASS JUNIOR</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body id="page3"> <div id="main"> <!--header --> <div id="header"> <div class="row1"> <!--<br /><br /><br />--> </div> <div class="menu"> <ul> <li class="active"></li> </ul> </div> <div class="submenu"> <ul> <div style="margin: 1.2% auto;"> <div class="marquee"><marquee><b><font color="#454545">--- NEWS: JACKASS JUNIOR HAS BEEN LAUNCHED! PLEASE ENJOY OUR VIDEOS! ---</font></b></marquee></div></div> <li class="last"></li> </ul> </div> </div> <!--header end--> <div id="content"> <div class="container2"> <div class="col-1 col-pad padding1"> <div class="box1"> <div class="tail-right"> <div class="corner-right-bottom"> <div class="corner-left-bottom"> <div class="corner-right-top"> <div class="corner-left-top"> <div class="indent"> <ul class="menu2"> <li><a href="#"><span><span>LINK</span></span></a></li> <li><a href="#"><span><span>LINK</span></span></a></li> <li><a href="#"><span><span>LINK</span></span></a></li> <li><a href="#"><span><span>LINK</span></span></a></li> <li><a href="#"><span><span>LINK</span></span></a></li> <li><a href="#"><span><span>LINK</span></span></a></li> </ul> </div> </div> </div> </div> </div> </div> </div> <br /> </div> <div class="col-2 margin-extra"> <div class="box3"> <div class="tail-right"> <div class="corner-right-bottom"> <div class="corner-left-bottom"> <div class="corner-right-top"> <div class="corner-left-top"> <div style="clear: right;"> <div class="indent"> <h3><span><span>CONTENT</span></span></h3> <div class="indent2"> <!--CONTENT--> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="clear"></div> </div> </div> <!--footer --> <!--footer end--> </div> </body> </html> It's really messy- Once I get this problem fixed I will organize it. Thanks for any help A little out of my depth here, and my site is based on a DW template. I have a photo section with thumbnails, that is expanding. I have gone from 10 rows to 30, and in the process broken something. I have compared the code from my original 10 rows to the 30 and cannot find anything that would cause the issue, so am hoping for some help. http://www.uniquefinishing.co.uk/photopages/photos.html On the top horizontal menu, click on "Videos", then "photos". See the table has dropped? This is the only consistent replication of the issue I can find. If you now keep clicking on the same "photos" link on the top menu, it randomly drops and fixes itself occasionally. This happens randomly from any page to the "photos" page. Where should I be looking? Hi Everyone, I have a div element on a page that has as a child a large node (content is "Ajax'd" into this child). The containing DIV has overflow : auto so that the user can scroll up and down the large content. The function of the containing DIV is simply to provide scrollability and the dimensions of that DIV shouldn't affect the dimensions of it's content. When I use an IFRAME to provide the scrollability, resizing the IFRAME is fine. The desired effect is to make this look like an IFRAME in effect, it is in effect supposed to look like a desktop app with a multiple document type pane. This is a crap idea I know, but it's outwith our hands. So we can't radically change the way that the produt looks at the moment. When I use the DIV, then resizing this must cause the browser to recalculate all of the childrens widths which takes ages. Does anyone have any suggestions apart from using an IFRAME for this ? What I want is to be able to resize the containing element without recalculating the widths of all its children. The document div with the scroll bars is held inside a Dojo ContentPane widget with resizable borders hence the noticeable redraw lag when the user changes the size of something. many thanks, Woody. I'm making a game and this is my current code: <html> <head> <title></title> <style type="text/css"> </style> <form> <input type="button" value="abc" onclick="move()"> </form> <img name="img1"> <!--http://bluebutton.info/images/home-button.gif--> <script type="text/javascript"> function c() { document.images['img1'].src = "http://bluebutton.info/images/home-buton"> document.images['img1'].width = 150 document.images['img1'].height = 150 document.images['img1'].style.position ="absolute" } function move() { var obj='img1'; move('img1',-0.5,0); } </script> </head> <body> <body onload="c()"> <body onkeypress="move()" <body </body> </html> It tells me I have a stack overflow at line 23 which is: move('img1',-0.5,0); Any suggestions of how to fix this or just clean up the code? When entering content into my table I've found that if I enter so much that the page needs to be extended, it will mis-align everything on the page, even the background image referenced in the <body> tag. It happens in both Firefox and IE8. It only pushes the content a few pixels to the left. If I remove content so the page doesn't have to be extended, everything is aligned correctly. Is there any reason this might be happening? The correct alignment The messed up allignment *update: I don't know what I did but the problem was fixed in IE8 but not firefox, also I have tried the "html { min-height: 100%; margin-bottom: 1px; }" trick along the one specific to firefox and neither worked. I made this website using HTML in frames. I opted not to use a style sheet because at the time it seemed to be easier. www.arriagalawoffice.com The image map works beautifully on practically every browser except IE (I use Firefox) and I can't figure out what's wrong. It can't be the code because it works in other browsers, any suggestions? Also, I used the <div> tag to create the content with the white background within the frame. Scrolling, size, and alignment works well in Firefox but gets messed up in IE. HELP! Okay a simplified version of my problem is this: I have a small table of 2x2, with the right two cells merged. I have content in the right cell in the form of text. The cell has the following formatting: overflow: hidden; and the text has the following formatting: position: relative; left: -91px; vertical-align: top; text-align: justify; The left cells are 182px wide, so the text looks like it is centered with respect to the entire table, with the overflow into the left two cells being cut off. The problem now is, I only want the text covered by the top left cell to be cut, and I want the text in the bottom left cell to still be visible. I tried using the 'clip:' property, but you cannot specify a non-rectangular area so it's of no help to me. There is an image in the top left cell, and nothing in the bottom left cell, so the other way to fix my problem would be to find some way of having the overflow appear BEHIND the other elements, so that the image would cover the text, and the empty cell would not. It laggs. Meaning it isnt fluent. The site is working fine with all browsers except in IE8 ? In IE I only get a fluent scroll experience when I place the cursor ON TOP of the scroll bar.. now I know this cant be good, so tell me, do I need to add code for IE to recognize my scroll wishes? Have a look at the site here. thank you o btw, for the ones who have helped me in the past have a looksy here! Im growing in knowlegde thanks to you, very much appreciated, feel free to review it and help me improve my coding (because I know it sucks) Hey All, I sliced a PNG and ended up with a table that overflows and screws up the whole page. Here's what it's supposed to look like: http://www.uark.edu/ua/oep/web2/index.php And here it is stretched out by the content area: http://www.uark.edu/ua/oep/web2/headlines.php?so=da Help? Thanks! J Darnielle I have a situation where I have to create a site of fixed width and (gulp) fixed height (I know, I know... client insists). So I've got a 'main content' div that is set to Overflow:Auto with css, so it provides a scroller inside the not-very-tall page, allowing me to accommodate a reasonable amount of text without forcing the vertical height to grow. However, the content div is in the middle of the page and the content inside the div makes use of code fragment anchors (y'know, 'href="#thisHeading"' type links). They work, but the browser puts the jumped-to text at the top of the viewport, NOT at the top of the scrolling div, so the correct bit of text is hidden above the level of the scroller's top edge. Is there a way around this? TIA Hello everyone! I've got a pretty strange problem. I have a div with overflow: hidden and it works fine in all the browsers except Safari. In Safari, if you have a Macbook, you can scroll the contain of the div using two fingers. However, there is no problem like this on the iTunes site. Here is my code: HTML Code: <div style="width: 480px; height: 320px; overflow: hidden; position: relative"> <img src="http://new.yogamen.net/uploads/games/crazy/1.png" style="float: left" /> <img src="http://new.yogamen.net/uploads/games/crazy/2.png" style="float: left" /> <img src="http://new.yogamen.net/uploads/games/crazy/3.png" style="float: left" /> <img src="http://new.yogamen.net/uploads/games/crazy/4.png" style="float: left" /> </div> this issue is urking me, i must be missing a style. what can i do to get this page top box to cooperate. HTML 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"> <!-- .contentTopBox { margin-bottom: 5px; margin-left: 15px; margin-right: 15px; border: 1px solid; background-color: #999999; height: 112px; } .contentTopBoxRightPortion { background-color: #333333; float: right; padding: 5; text-align: center; overflow: hidden; background-color: #333333; width: 180px; } .contentTopBoxLeftPortion { float: left; width: 79%; padding-top: 35px; overflow: hidden; padding-left: 10px; padding-right: 10px; } .contentTopBox .siteHeader { color: #666666; color: #666666; background-color: #Fefefe; border: 1px solid; font-weight: bold; font-size: 130%; padding-left: 15px; padding-top: 5px; padding-bottom: 5px; display: block; overflow: hidden; width: auto; } --> </style> </head> <body> <div class="contentTopBox"> <div class="contentTopBoxLeftPortion"><span class="siteHeader">Page Title</span></div> <div class="contentTopBoxRightPortion"><img src="mals/lib/3-wolf-rock-2.gif" alt="3 wolves carved into a rock" width="170" height="100" /></div> </div> </body> </html> on the right of the box is a 120px nav bar, and on the left is an ad banner. those arent included on this page. this bar fills in the content box area inbetween the navs. the problem im having is when viewed at 1680x1050 the bar works fine, but when the browser is crunched down towards 800x600 the image on the right flops(wraps) below the title header as if there is some percentage of width that finds itself running into the contentTopBoxRightPortion box. what i need; on the right, I need the image to be solid in place, with 5px padding around it, that takes care of the right side. and on the left i need the siteHeader bar to expand accordingly(max width atlease 1600 px for 2000px monitor) , with approximately 10px of padding on the left and the right, no matter what the browser size. Also i would like the siteHeader bar to automatically find the middle (vertical align-middle) related to varying heights that the contentTopBox may be set to to accommodate varying rightPortion images. Everything was working fine on FF when i had a 2 column table, except on IE7 of course, but i really DONT LIKE TABLES, and want to do away with them i have tried span tag vs. div tags, and clearing divs, and of course every type of float and overflow, and switching the location of the left column and right column code in the html, so i must be missing something, and am spending way too much time on this otherwise simple issue :-). what am i missing? So I just decided to redesign my website, and I learned the wonders of "position: absolute" and the left, right, top, and bottom CSS tags. But of course, with that comes some issues (and other things, like me having to think about people with different browsers/resolution settings than me). Some of my problems are as follows (captions of the problem are under the images) When the text overflows here, it just leaves the <div> tag... well... multiple <div> tags. This one takes the body <div> with it.. but doesn't let the bottom page image extend down. Top filler image doesn't extend all the way, body <div> doesn't connect properly to fade images. So as you can see, my big problem is the overflow, which really needs to be fixed. Don't know what the problem is with Opera there, but it's something else that should be checked out. So anyway, here's my code for the website. If you have any ideas for how to improve it/make it work better, then I'm happy with that. Don't worry about validation right now, though. I'm saving that for later. HTML Code: <html> <head> <title>Home - Alex Crooks Webdesign</title> <style type="text/css"> body { margin: 0px; background-color: #035b07; font-size: 10pt; color: white; font-family: verdana, arial, sans-serif; } a { text-decoration: none; color: white; } a:hover { text-decoration: underline; color: white; } img { border: 0px; } .navlink { font-size: 16pt; font-variant: small-caps; font-weight: bold; } #navlinks { text-align: right; vertical-align: middle; padding: 5px 10px 0px 10px; } #topleft { position: absolute; top: 0px; left: 0px; float: left; width: 141px; height: 228px; background-image: url(topleft.gif); z-index: -11; } #topfiller { position: absolute; top: 0px; width: 100%; height: 155px; background-image: url(topfiller.gif); z-index: -12; } #left { float: left; position: absolute; left: 0px; width: 65px; height: 100%; background-image: url(leftfiller.gif); z-index: -13; } #bottomleft { position: absolute; bottom: 0px; left: 0px; float: left; width: 137px; height: 134px; background-image: url(bottomleft.gif); z-index: -11; } #bottomfiller { position: absolute; bottom: 0px; width: 100%; height: 67px; background-image: url(bottomfiller.gif); z-index: -12; } #nav { margin: 100px 0px 0px 65px; margin-top: 100px; height: 40px; width: auto; background-image: url(navbg.gif); color: white; } .sep { vertical-align: middle; width: 2px; height: 25px; padding: 0px 5px 0px 5px; } #bodyright { position: absolute; top: 273px; right: 200px; bottom: 104px; height: auto; width: 22px; background-image: url(bodyright.gif); z-index: -7; } #body { padding: 5px 5px 5px 5px; position: absolute; top: 273px; right: 221px; bottom: 104px; left: 200px; width: auto; height: auto; background-color: white; color: black; z-index: 0; } #bodybottom { float: left; position: absolute; left: 246px; right: 221px; bottom: 87px; left: 200px; width: auto; height: 17px; background-image: url(bodybottom.gif); z-index: -7; } #bodycornerleft { position: absolute; bottom: 87px; left: 200px; width: 46px; height: 18px; background-image: url(bodycorner1.gif); z-index: -6; } #bodycornerright { position: absolute; right: 205px; bottom: 87px; width: 17px; height: 17px; background-image: url(bodycorner2.gif); z-index: -7; } </style> </head> <body> <div id="left"></div> <div id="top"> <a href="index2.html"><img style="padding: 5px 0px 0px 5px;" src="crookslogo.png" /></a> <div id="topleft"></div> <div id="topfiller"></div> </div> <div id="nav"> <div id="navlinks"> <a class="navlink" href="">Home</a> <img class="sep" src="navseparate.gif" /> <a class="navlink" href="">Features</a> <img class="sep" src="navseparate.gif" /> <a class="navlink" href="">Blog</a> <img class="sep" src="navseparate.gif" /> <a class="navlink" href="">Clients</a> <img class="sep" src="navseparate.gif" /> <a class="navlink" href="">Products</a> </div> </div> <div id="content"> <div id="body"> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent ac enim sapien, vel tristique sapien. Vivamus erat purus, feugiat non porttitor id, cursus at sapien. Curabitur eleifend, leo facilisis consequat faucibus, ante eros bibendum tellus, et dictum nibh mi laoreet turpis. Proin pellentesque, nulla et ornare pretium, ipsum lectus faucibus mi, sed dictum purus ipsum a ante. Aenean nibh odio, porttitor a volutpat ut, euismod vitae nisi. Integer urna turpis, ultrices ullamcorper porttitor in, placerat ut metus. Sed venenatis nisl in elit faucibus non consectetur quam commodo. Pellentesque ut augue massa, ac iaculis elit. Integer eu quam nisi, non faucibus neque. Donec sit amet magna at nulla commodo cursus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec tellus mauris, congue ut lobortis nec, adipiscing eu arcu. Suspendisse congue consectetur ante at porttitor. Maecenas sapien nibh, porttitor non pellentesque sed, sodales eu dui. </p> <p> Nullam sodales malesuada lorem, et cursus velit malesuada nec. Phasellus vestibulum elit quis nunc semper vel accumsan dui lobortis. Nunc viverra tortor tincidunt dolor congue quis porta tortor auctor. Sed porta neque ac libero tristique varius. Nam id nisi lectus. Integer consectetur magna id erat volutpat adipiscing. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer risus sem, interdum sed eleifend at, tincidunt in odio. Vestibulum euismod mauris eget magna semper sit amet feugiat risus varius. Mauris non neque et arcu ultricies venenatis a non mauris. Nulla facilisi. Donec sem turpis, porttitor et posuere id, posuere eget diam. Vestibulum et aliquam nibh. Phasellus quis ligula mauris, non porttitor sapien. Duis eu est id elit blandit vestibulum quis non urna. Maecenas enim augue, cursus faucibus tincidunt eget, cursus sed sem. Curabitur dictum dolor id massa bibendum vel tincidunt nunc volutpat. Nunc lobortis augue vitae ante porta eget mattis nisl faucibus. Ut sodales lorem vel dolor malesuada bibendum. Maecenas eget neque in elit semper rhoncus. </p> <p> Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec aliquet semper volutpat. Suspendisse vitae sapien pulvinar mi egestas ornare quis nec sapien. Pellentesque nec ipsum ligula, sed ultricies lectus. Duis eu ipsum et dui vehicula luctus. Sed mollis rutrum dui elementum consectetur. Nunc viverra tortor quis tellus semper a imperdiet nisl suscipit. Nullam et dolor at purus dignissim faucibus eu vitae quam. Proin lacus ante, tempus ut ullamcorper id, mattis vitae eros. Vivamus mauris lorem, interdum at ultrices in, ultrices non metus. Phasellus convallis lobortis sem, sit amet convallis ante dignissim in. Nullam id mollis nibh. Pellentesque lobortis convallis erat, suscipit lobortis velit euismod ultricies. </p> <p> Cras mollis imperdiet dignissim. Nulla sit amet elementum dolor. Curabitur luctus vestibulum sodales. Quisque eu odio velit, et pretium diam. Maecenas porttitor metus et mauris mattis sit amet facilisis odio sagittis. Aenean at turpis ac sapien ultrices pellentesque vel id erat. In ultrices pharetra erat, pulvinar molestie nisi hendrerit id. Mauris nunc eros, consequat in ultrices sed, malesuada non magna. Etiam dictum ultricies blandit. Vestibulum augue ipsum, malesuada a ullamcorper vel, porta accumsan nunc. Quisque dapibus posuere neque, sit amet lacinia justo tempus nec. Curabitur sit amet tortor nulla. Sed enim quam, facilisis eu dapibus quis, vestibulum at erat. Cras placerat sagittis eros, ac faucibus tellus ultricies vitae. </p> <p> Aenean commodo enim facilisis tellus lacinia sit amet vulputate est condimentum. Vivamus viverra vehicula felis sed rhoncus. Donec sed imperdiet est. Proin molestie velit nec urna lacinia vel fermentum sem tincidunt. Maecenas rutrum sollicitudin varius. Donec et ligula semper eros euismod interdum. Aenean ultricies magna sed nisl consectetur venenatis. Nullam quis orci sapien. Curabitur pellentesque lacinia ante, id pharetra risus sagittis id. Etiam metus turpis, rutrum vel faucibus nec, feugiat rutrum nibh. Donec fringilla sagittis ligula, nec varius felis dapibus eu. Curabitur felis quam, fermentum non eleifend ac, faucibus vel libero. In nec leo ut nulla sagittis scelerisque nec in orci. </p> </div> <div id="bodyright"></div> <div id="bodycornerleft"></div> <div id="bodybottom"></div> <div id="bodycornerright"></div> </div> <div id="bottom"> <div id="bottomleft"></div> <div id="bottomfiller"></div> </div> </body> </html> Hey guys, i have a div setup to overflow:auto; to scroll through comments on the site. It works correctly in Chrome, Internet Explorer, and Safari, but Firefox is showing a bunch of empty space thats equivalent to the height of the page if the div was displayed without a scroll. http://www.greendayauthority.com/ind...20798&archive= Take a look at that page on different browsers. It ends correctly with the ads being at the end in other browsers, but with firefox, there's a bunch of dead space stretching the pages height. Any advice? Hello, I am currently making a vBulletin skin, and was wondering if there were any alternative to overflow: auto? The thing is, I'm trying to create a sidebar without tables AND with a fluid wrapper. My CSS code looks like this: Code: #wrapper { width: 90%; min-width: 980px; margin: 10px auto 0 auto; background: #1a1a1a url(images/magnetic/style/wrapper.png) repeat-x top left; border: 1px solid #161616; overflow-x: hidden; -moz-border-radius: 8px 8px 8px 8px; -webkit-border-bottom-left-radius: 8px; -webkit-border-bottom-right-radius: 8px; -webkit-border-top-left-radius: 8px; -webkit-border-top-right-radius: 8px; } #right-content { float: right; width: 275px; color: #7a7a7a; padding: 15px 0; } #left-content { margin: 0px 0 0 0; background: #e9ecee url(images/magnetic/style/bg-main.gif); padding: 0px; min-height: 800px; overflow: auto; overflow-x: hidden; -moz-border-radius: 8px 8px 8px 8px; -webkit-border-bottom-left-radius: 8px; -webkit-border-bottom-right-radius: 8px; -webkit-border-top-left-radius: 8px; -webkit-border-top-right-radius: 8px; } And here's what the HTML looks like: Code: <div id='wrapper'> <div id='right-content'> Right content (sidebar) here <!--end right--></div> <div id='left-content'> The left content here </div> </div> The thing is, when the overflow:auto is there, the page looks fine BUT it has issues when opening, for example, dropdown menu or expanding a big image. Here's what it does when opening a dropdown menu: Here's what it does when trying to open an image: http://img689.imageshack.us/img689/9...340problem.gif So what I'm trying to do, is to create a fluid layout with a right sidebar without tables. It's working, although I'm looking for some code modifications so it doesn't have issues with the dropdowns etc. Basically, it seems that everything looks fine BUT when we open something that is "larger" than the #left-content ID. Then it creates issues. Any idea? Thank you so much in advance. |