CSS - Ie 6 Problem I Need Help With
Here is the link to the webpage
The in the 2nd section, the Pharma Newsletter heading is to the right instead of the left and I can not figure out how to fix it. I have tried text align and other things, but can not figure out how to fix it without causing even more problems. It is perfect in IE 7 and FF. Here is the html: Code: <h1>Vitalink Newsletter</h1> <div class="serviceblock lineright"> <a href="../pdf_library/newsletter/Vitalink_Volume_3.pdf" target="_blank"><img src="../images/resources/vitalink-3.jpg" alt="Vitalink Volume 3" /></a> <div class="parea100"> <h1>Vitalink Volume 3</h1> <p>Quality Spirometry for Clinical Trials</p> <p>Over-reading - The Quality Game</p> <p>(PDF 348 KB)</p> </div> <a href="../pdf_library/newsletter/Vitalink_Volume_3.pdf" target="_blank" class="morelink">Download</a> </div> <div class="serviceblock lineright"> <a href="../pdf_library/newsletter/Vitalink_Volume_2.pdf" target="_blank"><img src="../images/resources/vitalink-2.jpg" alt="Vitalink Volume 2" /></a> <div class="parea100"> <h1>Vitalink Volume 2</h1> <p>Introducing the New <br /> ATS/ERS Guidelines</p> <p>Spirometry Training is Essential</p> <p>(PDF 583 KB)</p> </div> <a href="../pdf_library/newsletter/Vitalink_Volume_2.pdf" target="_blank" class="morelink">Download</a> </div> <div class="serviceblock"> <a href="../pdf_library/newsletter/Vitalink_Volume_1.pdf" target="_blank"><img src="../images/resources/vitalink-1.jpg" alt="Vitalink Volume 1" /></a> <div class="parea100"> <h1>Vitalink Past Issues</h1> <p><a href="../pdf_library/newsletter/Vitalink_Volume_1.pdf" target="_blank">Volume 1<a></p> </div> <a href="#" target="_blank" class="morelink"></a> </div> <div id="pharma"> <h1>Pharma Newsletter</h1> </div> <div class="serviceblock lineright"> <a href="../pdf_library/newsletter/pharma_april2006.pdf" target="_blank"><img src="../images/resources/pharma_newsletter_apr.jpg" alt="Pharma April 2006" /></a> <div class="parea85"> <h1>Pharma April 2006</h1> <p>The Pharma Newsletter provides up to date information on Vitalograph's latest respiratory clinical trials products and services. (PDF 49 KB)</p> </div> <a href="../pdf_library/newsletter/pharma_april2006.pdf" target="_blank" class="morelink">Download</a> </div> <div class="serviceblock lineright"> <a href="../pdf_library/newsletter/pharma_newsletter_Jan2006.pdf" target="_blank"><img src="../images/resources/pharma_newsletter_jan.jpg" alt="Pharma January 2006" /></a> <div class="parea85"> <h1>Pharma January 2006</h1> <p>The Pharma Newsletter provides up to date information on Vitalograph's latest respiratory clinical trials products and services. (PDF 76 KB)</p> </div> <a href="../pdf_library/newsletter/pharma_newsletter_Jan2006.pdf" target="_blank" class="morelink">Download</a> </div> Here is the css: Code: #main { float:left; width:675px; border-left:1px dotted #999999; padding:0px 0px 0px 31px; color:#0ab0f0; margin:0px 0px 0px 11px; position: relative; } #main h1 { font-weight:normal; padding-bottom:0px; margin-bottom:0px; color:#0ab0f0; text-align: left; } #pharma h1 { font-weight:normal; color:#0ab0f0; } .serviceblock { width:200px; float:left; margin:10px 0px 0px 0px; } .linerightnav { border-right:1px dotted #999999; margin:0px 20px 0px 0px; } .lineright { border-right:1px dotted #999999; margin:10px 20px 0px 0px; } I did not create the website, but I am not responsible for fixing it. Any help or a point in the right direction how to fix this would be greatly appreciated. Thanks! Similar TutorialsHey, I think i just need someone else to look at this for me. I've been coding all day and would probably be able to figure this out if I just went to bed and did it tomorrow. If you roll over an image that's alson an anchor at www.deeperdevotion.com/wp, you'll find that it places a background-color or underline or both on it. The thing is, I can't find the code in my CSS that's causing me the trouble. my css is located at www.deeperdevotion.com/wp/wp-content/themes/dd/styles/101106.css Thanks. Hello everyone, I am hoping I could get some help on this. I'm the new Marketing guy at this company. One of my duties is to fix an issue with our website which was built by the last guy to sit in this chair. I may not know how to build a proper webpage, but this guy knew exactly how not to do it and ran with just that. So, the issue lies within this example page: tinyurl.com/rediculouswebsite The footer ends up under-lapping the table when viewed in IE (when not in compatibility mode) and Firefox. I know this is a ridiculously constructed site, I just need to fix this one problem and be done with web development forever. High fives and scotch from my boss very well may ensue. Thank you all very much. Hello. I am new at css and web design so if these are easy problems please excuse. First of all, the website url http://www.onlinecasinoboss.com In Firefox, the unordered lists <ul> in the left column do not display correctly. The left margin is way too big. I'm not sure why, please look at the page in IE to see what I want it to look like. And in Internet Explorer, the spacing between my top image, header bar, and main page is screwy. There should be no space between the header image and header bar (the flags are in this area). Also there should only be 2px spacing between the header and the main page, however it appears there is atleast 24px there. Again please refer to the page in FF to see what I want it to look like. I like css, and have decided to pursue my first design in css based off of the many professional designers reconmendations and reviews. But I must say it is a major headache to deal with cross-browser/platform display problems. And what professional designer wants to rely on 'css-hacks' when producing a product for a major vender. Just beginner bitching. Thanks for the help! So I have tested in all versions of IE and IE 7 seems to be the only one that gives me a problem. I have tried so many hacks. And now I am at a loss of ideas,time and mind. the site is woodbuiltright com / index-alpha1 php It seems the "E-Page" Div does not expand to contain everything. I have tried clearing divs but I must be missing something. Thanks i'd like to align my table to the left, i ve tried so many stuff but cant get it.... in html something like this <table width="75%" border="0" align="left"> what is the css way of getting this result... pls help me out... Hi, I am a newbie to css and have attempted to convert various webpages to css over the past few months. Although I am new to css I have been working on computers (programmer and user) for the last 13 years. My main observation is that css is being limited by the inability or lack of interest on the part of browser developers to ensure that all pages are rendered the same in all browsers. It is very frustrating to work hard on a complicated layout only to open the page from another browser and have all your hard work look as if it has been through the spin cycle. Of course such criticisms apply in other circles, for example different compilers handling c/c++ code is slightly different ways. For a programmer working on code to run him/herself this is not so serious since you get the code to work on the machine you want it to run on, with webpages we don't have that luxury. Any thoughts? R Haynes I have created a nav bar with css using the widely distributed '<ul>' coding. The problem I am having I think is with the anchor tags. The look of the nav bar is fine but depending on the float position the anchor tag immediately next to it won't follow the css. Here is the css.. body { margin:0; padding:0; } div.container { text-align:center; } div.center { margin-top:20px; margin-left:auto; margin-right:auto; width:800; text-align:left; } div.left { float:left; width:100; height:500; background-color:#007700; } div.right { float:right; width:130; height:500; background-color:#e8e8e8; font-size:10pt; } div.header { clear:both; width:40%; } div.footer { clear:both; margin:0; width:100%; } ul { float:left; width:100%; padding:0; margin:0; list-style-type:none; } a.topmenu { float:right; width:5em; height:2em; text-decoration:none; color:#005500; background-color:#e8e8e8; padding:0.2em 0.6em; border-right:1px solid #005500; } a.topmenu:hover { background-color:#005500; color:#e8e8e8; } a.topmenu:visited { float:right; width:5em; text-decoration:none; color:#005500; background-color:#e8e8e8; padding:0.2em 0.6em; border-right:1px solid #005500; } li { display:inline; } a.leftmenu { color:#ffffff; text-decoration:none; } a.leftmenu:hover { color:black; } a.leftmenu:visited { color:#ffffff; text-decoration:none; } and here is the html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <link rel="stylesheet" type="text/css" href="newstyle.css"/> </head> <body> <div class='container'> <div class='center'> <img src="fdat_logo_short.jpg" width=250 /> <ul> <li><a class='topmenu' href="contact.php">Contact Us</a></li> <li><a class='topmenu' href="about.php">About Us</a></li> <li><a class='topmenu' href="services.php">Services</a></li> <li><a class='topmenu' href="news.php">News</a></li> <li><a class='topmenu' href="home.php">Home</a></li> </ul> </div> </div> </body> </html> In IE6 my page is not lining up like it is supposed to. The left navigation is not sitting flush against the footer or main content DIV. I have tried a clearing DIV after the main content, but still can't get it to stay flush against the footer. It looks fine in IE7, FireFox, and Safari. Can anyone help me with this?? I would appreciate it! Here is my CSS code Code: body { background-image: url(../images/bgs/bg_try_02.jpg); background-repeat: repeat; margin-top: 0px; margin-bottom: 0px; } .container { background: transparent; width: 1000px; padding-top: 0px; margin: 0px auto; } .banner { background: url(../images/banner.jpg); height: 245px; width: 1000px; margin: 2px auto 4px; padding-bottom: 0px; padding-top: 0px; } .left_col { background: url(../images/bgs/left_col_bg_03.jpg) repeat-y; float: left; height: 623px; width: 200px; margin: 1px auto 0px; padding: 1px 0px 0px; } .pipe { background: url(../images/bgs/images/pipe_bg_03.jpg) repeat-y center; text-align: center; height: 622px; width: 200px; margin: 0px auto; padding-bottom: 2px; } .right_col { background: #FFFFFF; float: right; width: 786px; height: 620px; padding: 1px 9px 2px 5px; margin: 1px 0px 0px; } .footer { background: url(../images/bgs/footer_02.jpg) repeat-x; padding-bottom: 15px; margin: 0px auto; padding-top: 5px; border-top-width: 1px; border-top-style: solid; border-top-color: #000000; height: 75px; clear: both; } .border_2 { background: url(../images/bgs/border2.gif) repeat-x; height: 14px; } .clearfix { clear: both; visibility: hidden; font-size: 1px; line-height: 0px; height: 0px; } .border_1 { background: url(../images/bgs/border1.gif) repeat-x; height: 14px; } .bg_color { background: url(../images/bg_color_02.jpg) repeat-x; height: 768px; } .bus_border { background: url(../images/bgs/border2.gif) repeat-x; height: 14px; width: 140px; } .floatright { float: right; margin: 4px; clear: right; } .btn1 { background: url(../images/btns/left_bg_nav.jpg); height: 65px; width: 200px; } .btn2 { background: url(../images/btns/left_bg_nav.jpg); height: 65px; width: 200px; } .btn3 { background: url(../images/btns/left_bg_nav.jpg); height: 65px; width: 200px; } Hi there, Does anyone know what this code messed up in IE6, its fine in IE7 and firefox? I'v attached the html, css and a screengrab. Thank Code: <div class="commentAvatar"><img src="/images/avatars/noavatar.gif" alt="USER" border="0" height="50" width="50"></div> <div class="commentMessage"> <div style="float: right; width: 32px; text-align: center;"><div class="voteBad" id="3:-:15"></div><div class="voteGood" id="3:+:15"></div></div> <em class="comment-info"><span>4 votes</span> <strong>guest23</strong> said <strong>(3 days, 10 hours ago)</strong></em> my message<br> is here</div> Code: /* CSS*/ .commentAvatar { width:70px; height:64px; float:left; margin-left:114px; background-image:url(images/comment_left.gif); background-position:right; background-repeat:no-repeat; } .commentMessage { width:391px; min-height:50px; margin-left:184px; padding: 5px 10px; background-color:#555555; background-image:url(images/comment_bg.jpg); background-repeat:no-repeat; } Hello all, Apologies to be asking for help on my first post, but I've scoured the internet looking for what is probably a quick fix but without the terminology I'm losing hours - time to ask for help! my site is englas.pl and in forefox it's fine. In ie8 it seems to be fine as well, the problem is with ie 6&7. The CSS validates according to the w3c site. (Sorry, can't add urls as i'm a new user) ie6&7 'cuts' off the bottom section of text where the container meets menu-bottom-bkg. At least this is what is visibly the case when you look at the webpage. The custom div look like this: #container { background: #FFF url(../images/bkg_container.png) repeat-y; min-height: 100%; width: 1190px; margin: 0 auto; padding: 0 14px 0 14px; } #header { background: url(../images/bkg_header.png); height: 127px; width: 1160px; margin: 0; padding: 15px 0 0 30px; } #menu-top-bkg { background: url(../images/bkg_menu_top.png) no-repeat left top; height: 128px; width: 1190px; margin: 0 0 -128px 0; } #wrapper { overflow: auto; background: url(../images/bkg_menu.png) repeat-y left; min-height: 500px; width: 1190px; margin: 0; padding: 0; } #menu { float: left; background: none; min-height: 370px; width: 159px; margin: 0; padding: 110px 0 0 0; } #content { float: right; background: url(../images/bkg_content.png) no-repeat right top; min-height: 400px; width: 763px; margin: 0 0 0 25px; padding: 15px 243px 10px 0; } #menu-bottom-bkg { background: url(../images/bkg_menu_bottom.png) no-repeat; height: 141px; width: 1190px; margin: -111px 0 0 0; } #footer { background: url(../images/bkg_footer.png); height: 100px; width: 1190px; margin: 0; padding: 16px 0 0 0; } I've gone through the html and i can't find any evidence of it being this, so i'm hoping that the css work above doesn't comply with something in the ie6&7 coding spec. I've read the guidelines to posting, so I've edited the post as much as possible to be helper friendly! Many thanks to all, doodlebug I am sorry, I can't show the page as an example as it is a clients website. Basically the problem is the box model (I think). In IE the background file loads fine, but in FF it doesn't. It is a box inside a box, inside a box. I have tried body #divname html # divname html > divname and all other selector variants I can think of to no avail. I was wondering if this is a known problem. I thought it might be z-indexing but div's inside the affected div are picking up their background images. Need to know how the pull down menu and a browse button could take a style like http://www.discovertravel.no/ i tried to make it but it did not work on firefox... so can anyone help me to make this style coz it appears well in firefox. I'm trying to replace all the tables in my site for divs This is a test page for the main div container. Inside this will be the 3 columns of the layout: http://www.djbrunofacca.com.br/index2.php It renders ok in firefox but in ie 6.0 half of the box gets off the screen to the left. I've been trying to correct this for 8 hours straight and nothing. heres the css for the whole 3 columns thing: Code: .box { border:3px solid black; position: absolute; left; 0px; width: 720px; height: 100%; } .leftcol { position: absolute; padding-left: 15px; padding-right: 15px; top: 0px; width: 140px; height: 100%; background-color: #333; } .maincol { position: absolute; padding-left: 15px; padding-right: 15px; top: 0px; left: 110px; width: 440px; background-color: #0066cc; } .rightcol { position: absolute; padding-left: 5px; padding-right: 5px; top: 0px; right: 0px; width: 140px; height: 100%; background-color: #333; } thanks bruno After hours of pain in my head and probing to get my leftmenu 100% height of my contentbox... I need some help i think... http://www.ipan.be/dev (the bad result with leftmenu not 100%) http://www.ipan.be/dev/styles/ipan.css http://www.ipan.be/dev/styles/ipan_news.css any solution to get the thing that is making me crazy working? I have a big problem with css in both IE and FF I don't know what's going on i'm making a navigation menu with submenu from some elements when i display the submenu from the element the square bullets isn't displayed beside the list item from the submenu and it's required in firefox and even the hover effect isn't displayed correct in FF also and it's displayed in IE correctly and in some page the conetnt was wholy distroyed in IE and display correct in FF with it's bugs and in dream weaver the design is going ok and i'm using a strict DTD i don't know what's wrong and what's going on ??? Hi again! I have been trying to solve this problem for a while no, but with no success. You can see the problem he http://files.upl.silentwhisper.net/upload0/divgap.JPG The html-code: Code: <a href="bildvisning.php?id=<?=$bildId?>" target="_blank"><img src="http://www.tibproduktion.se/allabilder/<?=$miniatyr?>" border="1"></a> And the CSS: Code: div.img { padding:1em; width:160px; border:1px solid #e0e0e0; background-color:#fbfbfb; margin-bottom:1em; margin-right:2em; float:left; text-align: center; cursor: pointer; } div.img:hover { border:1px solid #c0c0c0; background-color:#e0e0e0; } div.img img { border:0; } It helps to fix the height to for example 100px, but the problem is that I have thumbnails with other dimensions, so I would prefer not to have a fixed height. Any ideas? Hey guys, quick CSS question: If you go to: http://www.tombraiders.net/katie/MyTombRaiderStories.html and preview it in IE *first* you'll see how it's supposed to look. Now if you look at it in Firefox you'll see the problem. Any idea how to fix this?? Thanks! I have the following CSS document: http://wzpr.net/v3/style.css It is used in practice he http://wzpr.net/ I have two problems with it and if anyone adept with CSS could help me out here, it would be very much appreciated. 1) It passes validation without any problems, and works exactly as I want it to in Firefox - however, as you could probably see coming a mile off, it's completely off in Internet Explorer, as you will see if you try it out. 2) The menu bar on the left is set to 100% height as seen in the CSS. I have applied the workaround hack of setting a container around it to 100% height also (I think!) but still no cigar. Anyone nice enough to help? It'll be great to help me master css. Thanks in advance, Edd. Hello everyone, for our intranet I have developed new application tools with tabs to change icons. it is working fine on IE7+ but having problem with IE6. there are two divs in this applications and on IE 7+ both divs starts in new line. for some reasons in IE6 it comes in one line. what cna I put in the second div that will make it appear on new line. I have tried putting <p> tag but doesn't make any different. Any suggestions. thank you. <div id="mytabsmenu" class="tabsmenuclass"> <span style="cursorointer"> <ul> <li><a rel="gotsubmenu[selected]">Trust Applications</a></li> <li><a rel="gotsubmenu">General Applications</a></li> </ul> </span> </div> <div id="mysubmenuarea" title="Applications Toolbar" align="center" style=" background-image:url(/templates/default/IconImages/iconBkgrd.jpg); background-position:top; background-repeat:no-repeat; margin:2px; padding-top:12px; padding-left:30px; vertical-align:bottom; height:50px;"> <!--1st link within submenu container should point to the external submenu contents file--> <a href="/templates/default/js/submenucontents.htm" style="visibility:hidden">Sub Menu contents</a> </div> Hi, I am having an issue using my CSS code, I have a drop down section on my menu bar on my site. I'm trying to firstly just set the background of the whole bar, Code: #nav-m { font: normal 12px Verdana; font-weight: bold; width: 100%; } #nav-m ul { float: left; left: 0; padding: 2px 0; text-decoration: none; text-indent: 5px; } #nav-m a { display: block; width: 10em; w\idth: 6em; color: #012345; text-decoration: none; padding: 0.25em 2em; } #nav-m a.daddy { } #nav-m li { float: left; padding: 0; background-image: url(http://taxbusters.eu.com/images/nav-bar1.jpg); background-repeat: no-repeat; } #nav-m li ul { position: absolute; left: -999em; height: auto; width: 14.4em; w\idth: 13.9em; font-weight: normal; border-width: 0.25em; margin: 0; } #nav-m li li { padding-right: 1em; width: 13em } #nav-m li ul a { width: 13em; w\idth: 9em; } #nav-m li ul ul { margin: -1.75em 0 0 14em; } #nav-m li:hover ul ul, #nav-m li:hover ul ul ul, #nav-m li.sfhover ul ul, #nav-m li.sfhover ul ul ul { left: -999em; } #nav-m li:hover ul, #nav-m li li:hover ul, #nav-m li li li:hover ul, #nav-m li.sfhover ul, #nav-m li li.sfhover ul, #nav-m li li li.sfhover ul { left: auto; } #nav-m li:hover, #nav-m li.sfhover { background: #bdd7e6; } however the background doesnt show up, and the font alignment isnt right, - there are so many problems http://alturl.com/nfkp |