CSS - Div Jumping Around Randomly
Similar TutorialsI'm sorta new to CSS-positioning so some of the code looks jumbly. But I'm trying to make the page work in mozilla's firefox and in the process of doing that I broke it in IE. Anyways, here is the link to the buggy page that the div containers hop all over the place. If you hit refreash enough you will see the lower section that displays the extra news articles will lose its left-margin setting and hop around. Plus it drops the archive container down below the extended news section as if they widths are clashing when they appear fine in firefox. I'm assuming there is probably some type of ie bug and I'm curious if someone has a link to a hack for it? Could use any help Does anyone know why on this page the footer suddenly appears at the bottom and not attached to the centre area?: My website works perfectly on IE, but not in IE. The page loads fine in Firefox, but after a few seconds, the page jumps and the header cuts in half and almost hides behind my toolbar. Hello everyone, I'm tearing my hair out on this one. Here is the problem If you view this in IE 6, sometimes the footer will jump up towards the top. If you activate any :hover things, it will jump back down to where it's supposed to be and stay there. EDIT: Actually, it's just the first element in the footer div. If I seperate the lines into paragraphs, only the top paragraph will jump. Isn't that even stranger? Each profile is wrapped in a div, clear: both no floats. The profile pictures are floated left, inside the div. It only happens on this page, and not any of the others. I can't figure out why. Has anyone seen this before? I've tried all the holly hacks and clear fixes I could try. css Code: Original - css Code div.profile { clear: both; height: 1%; margin: 15px 0px; padding: 0px; } img.profile { float: left; margin: 5px 20px 5px 20px; border: 1px solid #333; vertical-align: top; }
Hi, I have been battling with this issue for a while now and need the community's help here. I am not the sole developer on this project and it's kind of difficult to work through other people's code - plus, I'm a developer, not a designer. Anyow. Have a look at this page: Article on Jakarta Globe Site I implemented the drop down for the 'share article' feature. I'm using scriptaculous and costum-built JS to achive the effect. It's all good in IE - but you can see that in FF, the bread crumbs jump to the right when the drop down is activated. I have tried to implement a 'clearit' div like this: CF Code: Code: <div class="article-body"> <div id="clearit"></div> CSS: Code: #clearit { display: block; clear:both; } With the effect, that in FF, the whole article jumps down a few pixels when the drop down is activated. (The bread crumbs don't jump to the right anymore. I'm at loss now. Here's the CSS code for the relavant div's: Code: #article-heading { border-top:solid 4px black; background:url(../images/objects/module-head-bg.gif) repeat-x top; height:26px; } .article-heading span { display:block; float:left; padding:5px 15px 5px 10px; height:16px; } #slidedown_share { position:relative; width:123px; height:137px; background:#f4f2e6; border-left: solid #000 1px; border-right: solid #000 1px; border-bottom: solid #000 1px; text-align:left; left:510px; } .article-body { border-left:solid 1px black; border-right:solid 1px black; border-bottom:solid 1px black; background-color:white; padding:10px; margin-bottom:8px; font-size:11px; } Does anybody have an idea why this is happening and how I can avoid it? Thank you for your help Adrian Hi, If I have Code: #parent { background-color: red; padding: 2px; margin: 2px; } #child1 { float: left; } #child2 { float: left; } </style> <div id="parent"> <div id="child1"> Some text </div> <div id="child2"> Some text 2 </div> </div> Then the two child divs will appear underneath the parent one, whereas I want the background from the parent one to be the backdrop for the two child divs. if I remove float: left then they appear in it, but underneath each other. I want them side by side. Is this possible with css? If you see on http://promogift.be/index.php?page=producten the first 4 products are like it must be, but from 5 and more it makes a different jump, i don't get it why, IE show it good... I searching for 2 days now and don't get it, anyone a solution? Hello, I have made playersnutrition.com As you can see, when you go to another page, the menu dosent stay at the top. How do I make it stay at the top???? I'm trying to use the CSS hover state that I found on CSS Ninja, but for some reason when I hover over the images, they keep bumping upward. I've gone line by line trying to figure out which one it is, and I think it's the position:absolute line under a.feature01 .overlay01 .caption01; however, I can't get it to stop doing it even if I change the position to relative, fixed, etc. I ran it through the CSS validator as well and got no errors. Here is the CSS code Code: a.feature01 { display: block; position: relative; } a.feature01:hover .overlay01 { position: absolute; width: 185px; height: 130px; } a.feature01 .overlay01 .caption01 { position: absolute; height: 30px; line-height: 30px; width: 100%; text-indent: -9999em; color: #000; font-size: 11px; bottom: 0; overflow: hidden; } a.feature01:hover .caption01 { text-indent: 10px; background: rgb(255,255,255); /* for browsers that know rgba */ background: rgba(255, 255, 255, 0.75); } We've got something odd happening on our site. Check out: newser.com/story/82843/conan-obriens-twitter-woman-shows-class.html If you leave your browser window alone for about 5 minutes, eventually the content on the page jumps down. If you scroll, or mouseover the window, it jumps back. Any ideas on the issue? One thing to note -- we're watch for breaking news periodically -- when something big happens, we load a banner above the nav via AJAX. Seems like this may be a factor even though it's usually empty. I am trying to teach myself doing a tableless website using css and I am starting with header then working my way down I spent all day trying to serach a way to stop the right end image cap to jump down the next row when firefox width browser is shrinked down but it doesn't do that in IE .. Here the url http://www.prismaze.com/ it showing only the header right now and it what I am having issue with .. there are 3 images in it .. left and right and the background .. Here the html and css <body> <div id="logoheader"> <img src="templates/stlaware/images/stlaware_01.png" width="548" height="90" border="0" align="left" /> <img src="templates/stlaware/images/stlaware_05.png" width="55" height="90" border="0" align="right" /> </div> </body> </html> ------------------------ the css ------------------------ body { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; background-color : #FFFFFF ; } #logoheader { background: url(../images/stlaware_03.png) repeat; height: 90px; width: 100%; } How do you stop image on the right side of the header (stlaware_05.png) from wrapping to the next row if Firefox browser is sized down in width? Thanks .. Bill This is half a PHP problem, but it seems to be more CSS than php, so I'll post it here With web pages on our (And our clients) site, we are experiencing problems with PHP occasionally dropping the style sheet, resulting in no formatting. The CSS file itself does nothing fancy, it simply sets heading and general fonts, colours and sizes for TD's , links, DIVs etc. There appear to be no javascript or other errors when the stylesheet is dropped. It does not happen every time, but is frequent enough to be annoying (Say 1 out of every 10-15 page loads ) The css file is inlcluded in the following manner within the header: Code: <LINK REL="stylesheet" HREF="<?=$base_url?>/main.css" type="text/css"> The Apache server is 1.3.29 PHP: 4.3.5 Server: Free BSD 4.7 Any ideas? I did a site recently and Im having trouble finding what is causing this weird error. If you go to this gallery using firefox: http://www.mmimageart.com/fineart4.html you will notice that the thumbnails under "saguaro" will display wrongly. IF you dont see the problem just keep refreshing the browser until you get the problem. you will get it. there are problems also in: http://www.mmimageart.com/fineart3.html (everglades) http://www.mmimageart.com/fineart.html (Atlantic Coast) What coding error in css can cause firefox to display the website wrong randomly ? Is this a well known error ? if not, then Ill post the code. Thanks in advanced!!! Hi everyone, I have about 10 small 5k images loading in a CSS style down my page - but i find that they will randomly load, sometimes just the first, then stop receive/send activity as if the page has loaded. Sometimes it will load about 4 and then stop, different everytime! can't understand it? Is is the CSS style itself? you are welcome to have a look at my site and the problem page - there should be images of primates loading down the left of the screen in a yellow based CSS sheet. P.S the site has not been launched as of yet - about 90% done Hope someone can help, cheers everyone, Alasdair Please go to this page - http://www.pacunionsonoma.com/real-estate-agent.asp?realtor=51 On the top right click on Active Listings Then watch the top agent image, title, and intro text. It is out of place BUT only until the page finishes loading, then it "jumps" in place... |