HTML - Firefox Reads It Differently Than Explorer
Greetings and thanks for checking my question out.
I oversee an academic site for mostly text at www.zeitschrift.co.uk and when I recently updated it with new material, specifically at www.zeitschrift.co.uk/v4n1jryskamp, it will not seat properly in the browser window, but this page seems to work ok with explorer. Does anyone have any suggestions. Much appreciated, HTML Dad Similar TutorialsHere is the code: EDIT: I missed part of the code: <id class = "vision"> CLEAN is founded </class>on the belief that education is the essential foundation for global climate change solutions. CLEAN is a program designed to supplement existing elementary (1st-8th grade) science education. First, children learn the fundamental scientific background they need in order to understand global climate change. Second, CLEAN provides them with the tools and support they need to take positive action. Particular emphasis is placed on climate change as a concern that is not only individual and local, but equally collective and global. This emphasis is supported through the development of communication and collaboration between classrooms locally and internationally. The problems presented by global climate change can seem overwhelming, often leading to apathy and inaction. By combining practical information with a fun, engaging, play-based learning environment, CLEAN fosters a positive attitude that empowers children to take meaningful action. and the "Vision" code in my css is very simple: .vision { font: bold 25px Tahoma, 'trebuchet MS', Sans-serif; } In firefox it renders like this: while here it is in Explorer: Why the difference and how do I fix it? I have read that Microsoft doesn't follow the "rules" established by the web boards about how code should be done. Is this the problem in this case? Thanks! Hi, I've been making a website but have only been testing it in Internet explorer, now I've tried opening it in Firefox and noticed alot of problems. When I open it in IE, there is about a 4-5mm gap at the top before the header appears andeverything is positioned fine because I have layed it out this way, but in Firefox the gap at the top doesnt exist and therefore everything is a few millimeters out of position (text, images etc). Is there anyway that I can get rid of this gap at the top of the IE page so that it looks the same? I have tried margin-top with no luck. CSS code: Code: /*This first piece of 'body' code defines what colour the background of the whole website is. It is set to #000000, I.E. black.*/ body { background: #000000; color: white; } div#site { display: block; color: #000000; margin-top: -10px; } /*This header code sets the size and background image of the header section of the website. It sets the image to a picture I have created called 'header2', and the code also needs to link to the image as it's not in the same folder as the css/html files, so the code 'images/header2.gif' finds the file 'header2.gif' in the sub-folder 'images'. */ #header { background: url(images/header2.gif); width: 865px; height: 143px; } /*This header .text section defines any text properties that will be used if I decide to add any text to the header area.*/ #header .text { position:relative; top:42px; left:322px; word-spacing: 24px; font-size: large; } /*The navbar2 section of code defines how the navigation bar is set out. The width is set at 70% so that the bar doesnt go all the way across the screen. It is also center-aligned to make the page look neat.*/ div#navbar2 { width: 70%; border-top: solid #000 0px; border-bottom: solid #000 0px; background-image: url(images/button.gif); } div#navbar2 ul { margin: 0px; padding: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; line-height: 30px; white-space: nowrap; } div#navbar2 li { list-style-type: none; display: inline; } /*This code sets how the text should be layed out on the navigation bar. It has margins and padding to place it in the centre of the buttons. It also sets the text colour to white.*/ div#navbar2 li a { text-decoration: none; margin: 20px; padding: 7px 15px; color: #FFFFFF; } div#navbar2 li a:visited { color: #FFFFFF; /*This code is used so that when people click on the links, they stay white next time rather than changing colour.*/ } div#navbar2 li a:hover { font-weight: bold; color: #FFFFFF; background-color: #FF00FF; /*This code causes a pink/purple box appear around the text when the cursor is hovered over it.*/ } /*The content code sets the background image of the main section of the website, and defines where on the page it should be placed.*/ #content { background: url(images/content.gif); width: 865px; height: 534px; margin-left: 0px; margin-right: 0px; float: left; margin: 0px 187px; } #content_nobars { background: url(images/content_nobars.gif); width: 865px; height: 534px; margin-left: 0px; margin-right: 0px; float: left; margin: 0px 187px; } /*The content .title, .title2 and .title3 sections of code define where each title should be placed, what text size and colour it should be, and also how wide/tall the text box is allowed to be.*/ #content .title { color: #CC66FF; font-size:16px; position:absolute; text-align:left; left:515px; top:215px; width:500px; height:18px; overflow:hidden; /*This 'overflow' command stops the text box from spreading all of the page if too much information is placed into it.*/ /*If any extra text is in an area and there is no more room, the page will just hide it from sight, therefore keeping tidiness.*/ } #content .text { color:black; font-size:14px; position:absolute; text-align:left; left:500px; top: 255px; width:500px; height:80px; overflow:hidden; } #content .title2 { color: #CC66FF; font-size:16px; position:absolute; text-align:left; left:515px; top:375px; width:500px; height:18px; overflow:hidden; } #content .text2 { color:black; font-size:14px; position:absolute; text-align:left; left:500px; top: 415px; width:500px; height:80px; overflow:hidden; } #content .title3 { color: #CC66FF; font-size:16px; position:absolute; text-align:left; left:515px; top:541px; width:500px; height:18px; overflow:hidden; } #content .text3 { color:black; font-size:14px; position:absolute; text-align:left; left:500px; top: 580px; width:500px; height:80px; overflow:hidden; } #content .read_more { color:black; font-size:14px; position:relative; text-align:center; left:355px; top: 168px; width:100px; height:16px; overflow:hidden; } #content .read_more2 { color:black; font-size:14px; position:relative; text-align:center; left:355px; top: 318px; width:100px; height:16px; overflow:hidden; } #content .read_more3 { color:black; font-size:14px; position:relative; text-align:center; left:355px; top: 468px; width:100px; height:16px; overflow:hidden; } #content_nobars .about_us_text { color:black; font-size:14px; position:absolute; text-align:left; left:480px; top: 425px; width:550px; height:250px; overflow:auto; } #content_nobars .other_title { color: #000000; font-size:24px; text-decoration:underline; position:absolute; text-align:center; left:510px; top:200px; width:500px; height:30px; overflow:hidden; } #content_nobars .other_text { color:black; font-size:14px; position:absolute; text-align:left; left:480px; top: 250px; width:550px; height:432px; overflow:auto; } #content_nobars .about_us_picture { background: url(images/1.jpg); width: 290px; height: 175px; position:relative; left:130px; top:50px; } /*The footer code defines the location of the footer image, and the size of it.*/ #footer { background: url(images/footer.gif); width: 870px; height: 105px; } /*These 2 commands keep URL links coloured black, before and after they have been visited.*/ a:link { color:black } a:visited { color:black } HTML: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--This head code defines the title that is displayed at the top of the screen on the Browser's bar. It also links the html document to the css file which will be used to create the layout and look of the website.--> <head> <title>Pampered Pooches Grooming</title> <link rel="stylesheet" type="text/css" href="pampered-pooches-grooming.css"> </head> <!--This code uses different div tags in conjuction with the css file, which will each be layed out according to individual needs.--> <body> <div id="site"> <div id="header"> </div> <div id="navbar2"> <ul> <!--This code creates a list of the navigational links to other pages of the website--> <li><a href="index.html">Home</a></li> <li><a href="aboutus.html ">About Us</a></li> <li><a href="services.html ">Services</a></li> <li><a href="theparlour.html ">The Parlour</a></li> <li><a href="dogofthemonth.html ">Dog of the Month</a></li> <li><a href="contactus.html ">Contact Us</a></li> </ul> </div> <div id="content"> <!--This footer code is placed at the bottom of all of the other code so that it appears at the bottom of the screen in the webpage.--> <div id="footer"> </div> </div> </body> </html> Thanks for any help. hello, the attached below is a position template for displaying merchandise. in IE the html shows properlly with no internal borders. in FIREFOX (version 1.5.0.9), the cells and tables are all bordered. i have now intentionally put - BORDERCOLOR="FFFFFF' and BORDERWIDTH="0" -wherever i possibly could in order to try and eliminate the borders from showing in firefox - to no avail. any suggestions? weblost here is the link if you prefer to view it. the position is the one marked "test 2" http://cafepanik.com/lobby/3_sneekee...ial/index.html I have created a div which sits on the right hand side. I have created two different size ones as one of my html pages has a lot more content on it. here are in the divs in CSS:
Code: #picstrip{ width:200px; height:740px; padding: 10px 10px 20px 10px; background-color:#8d6cd1; z-index:999999; float:right; } #picstrip2{ width:200px; height:1270px; padding: 10px 10px 20px 10px; background-color:#8d6cd1; z-index:999999; float:right; } I want these divs to be touching the footer i have created: Code: #footer{ background-color:#2ba475; width:800px; font-size:10px; font-family:Verdana, Arial, Helvetica, sans-serif; font-weight:bold; } table.foot{ text-align:center; } I am currently able to make it work it just one of the web browsers at a time. The div seems to be shorter in size in IE. is there any way round this problem? I will be so greatful for any help. Thank You Hi, My background looks differently in Firefox and Explorer. Any ideas? Thank you <html> <head> <STYLE TYPE="text/css"> <!-- body { background-color: #570000; background-image: url(http://i144.photobucket.com/albums/r...uzaramka.jpg); background-repeat: no-repeat; background-position: center; background-position: top; } --> </STYLE> </head> </html> Hi, Now am developing a site for my company, am using HTML and CSS for site designing. If I view the page in Firefox and IE, Firefox looks correct, but in IE the page looks some extra spaces. Is there any tag (or) code is available to fix this issue.. (or) Please advise me a solution to correct the issue. Thanks for your help in advance. So, I mainly use firefox, and my page looks fine in firefox.. but in Internet explorer there are some issues: heres the code: Code: <div align="center" id=article> <table margin:0 border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="3"><img src="images/articles/top.jpg"/> </td> </tr> <td width="4px" style="background-image: url(images/articles/left.jpg)"></td> <td width="734px" style="background-image: url(images/articles/middle.jpg)"> <br>Text here.... </td> <td width="4px" style="background-image: url(images/articles/right.jpg)"></td></tr> </table> <table margin:0 border="0" cellpadding="0" cellspacing="0"> <tr> <td><img src="images/articles/top.jpg"/> </td> </tr></table></div> Basically, I want that set up so I can put text in and the pics are already made to that they tile properly and neatly, that works, except there are spaces between top.jpg and middle.jpg I reused top.jpg on the bottom, cuz it looks the same anyway and it saves bandwidth by reusing the same pic. But theres a space there too, except not in firefox, which is how it is supposed to look. Basically, top.jpg, left.jpg and right.jpg form a border, and middle.jpg is a shade of grey that fades to a darker color, but tiles correctly for the background, while text is displayed there... and it works, except for the spaces between top.jpg and the rest of the places. Thanks for any help! Hello, We have been trying to find the best way to fix our band website www.random-rocks.com the buttons work on Internet Explorer but not in firefox or others. The Buttons i'm talking about are the one's on the left side of our website.... we designed the site with html...etc... Anyone, please help me... with this problem.... use the source code... if that we help you. Thank you.....it has been way to long with this problem. thanks i made a website and everything looks good on it when i view it in firefox but when i use explorer some of the images wont show up, just has the red x in the corner. any suggestions whats goin on? I am testing a clients site, and have it on a local server, and bringing it up in Firefox and Internet Explorer 7 to try and work out the bugs, and for some reason, there are images that are not coming up in Explorer, but coming up just fine in Firefox. Any ideas why? Hi, I know this is quite a common and problem, and it is one that often make me want to pull my hair out! The problem this time is that my problems arise from a database generated layout. In that, depending on how many fields are in a database, my code will display a number of small divs. When viewed in firefox it displays perfectly as I would want, but in I.E it goes all funny. Here is the code Code: <?php mysql_connect("localhost", "0607197", "12345") or die("Can't connect to database server!"); mysql_select_db("db0607197") or die(" Can't select database!"); $updated = FALSE; if(count($_POST) > 0){ $admin = $_POST['admin']; array_map('intval',$admin); $admin = implode(',',$admin); mysql_query("UPDATE seats SET admin=1 WHERE id IN ($admin)") or trigger_error(mysql_error(),E_USER_ERROR); $updated=TRUE; } ?> <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post"> <?php ?> <?php $booked = "<b>Seat Booked</b>"; $sql = "SELECT id,username,admin,rowId,columnId FROM seats ORDER by id ASC"; $result = mysql_query($sql) or trigger_error(mysql_error(),E_USER_ERROR); while(list($id,$username,$admin,$columnId,$rowId,)=mysql_fetch_row($result)){ if($admin==1){ echo '<div style="background-color:red;align:center;width:53px;text-align:center;padding-top:5px;padding-bottom:5px;float:right;height:43px;border:2px solid #FFFFFF;"><b><font color="black">'.$rowId.''.$columnId.'</div>'."\n"; } if($admin==0){ $checked = ($admin==1) ? 'checked="checked"' : ''; echo '<div style="background-color:green;padding-bottom:5px;align:center;width:53px;font-weight:bold;text-align:center;padding-top:5px;float:right;height:43px;border:2px solid #FFFFFF;"><b><font color="black">'.$rowId.''.$columnId.'<input type="checkbox" name="admin[]" value="'.$id.'" /></div>'."\n"; } } ?> <p><div style="float:bottom;text-align:center;paddin-top:40px;"><input type="submit" name="submit" value="Book Seat" /> </div> </form> Could this be solved by some simple CSS? Position:absolute perhaps or will I need a better, more efficient way of outputting the data? Advice please. Thanks in advance Daniel Why do they render differently? For example look at my myspace www.myspace.com/markster106 The profile box (the one with all the text about me) is in one position in firefox, and when you open it with Internet Explorer, it is different. How should I deal with this? Code: .profile { height: 130px; width: 440px; background-image: url('http://www.freewebtown.com/markster106/myspacelayoutmunit/myspacepicture.jpg'); z-index: 2; overflow: automatic; background-color: #9c9c9c; border-style: solid; border-width: 0px; font-family: sans-serif; text-align: left; padding: 2px } The above is the CSS used This is the first thing that I have ever written, so don't laugh and make derogatory remarks. The code works flawlessly on firefox and safari, but for some reason on internet explorer it doesn't even look remotely similar. So, please, any help I can get is welcomed. Code: <html> <head> <title>Theory Productions</title> <style type="text/css"> body {background-color:000000} h2 {text-align: center} h2 {color: #EEFAFA} h2 { font: 175% "gill sans" } h2 { line-height: 14pt } a:link {color: #FFFFFF; text-decoration: none} a:visited {color: #FFFFFF; text-decoration: none} a:hover {text-decoration: none} a:active {color:#FFFFFF; text-decoration: none} </style> </head> <body> <span style="position: relative; left: 88px"><img src="logo.gif" width="650px" height="215px"> </span> <h2><a href="http://www.google.com" target="_blank">Echols</a></p> <h2>Echols' Concert</p> <h2><a href="http://www.google.com" onclick="window.open(this.href,'popup','width=720,height=480');return false">Echols' Great Adventure</a> <h2><a href="EGTS.htm">Echols Goes To School</a> <h2><a href="http://www.google.com" target="_blank">Adam's Playground Adventure</a></p> </body> </html> Thanks, Adam I apologise if I am in the wrong section of the forum, but I'm not sure where it should be. I am at the end of my tether as to why something I do in my new web site using my favoured Mozilla Firefox does not work in Internet Explorer which I know many people use. My web site is www.otrcricket.com On the sponsors page is a link from our Sponsor (Ratcliffe) logo to their web site, it works perfectly in Mozilla but not in IE. Could someone kindly explain what I am doing wrong. I would be grateful for your help. Many thanks Victor Hi Guys, I was hoping you could perhaps help me with a little issue, this has been bugging me for quite a few hours and I'm entirely at a loss of how to deal with it. (I'm not new at the forums, I just can't remember my previous username " Basically the following page - http://www.citybeat.co.uk/breakfast/index.php The header is displaying fine and everything looks dandy in Firefox, open in Internet Explorer however, well, as usual - that's an entirely different story. The top is in HTML not CSS so source code is viewable, you'll see the in internet explorer the image that should be on the left has centered and the background colour has dissappeared.. I'm really hoping someone can help before I lose the will! Thanks, Andy Could someone here please tell me why the site I am building displays the left side navigation bar differently in Firefox and in Internet Explorer? I have worked on this problem for about 8 hours and I want to bang my head on my desk because I cannot figure it out. Here's the site: www.carlosuresti.com Any help would be much appreciated as my boss wants this done ASAP. Thanks. -thur http://www.sandmanmedia.net/sandman_...anmedia_7.html When viewed in firefox, the 3 menu elements do not stay on the same line (services is bumped to the bottom). It is correct in Internet Explorer, and all 3 buttons are next to one another. Each button is 110px. The td width is set to 330px and set to bottom. I'm an HTML novice in desperate need of an HTML expert. I paid a guy a lot of money to convert my website over from a Microsoft server to a Linux server and the results were mixed. The text links work in Internet Explorer but not in Firefox. http://www.colorado-carpet-masters.com/carpetcleaningBoulder.php I tried taking them out of a table with no luck. For some reason Firefox reads the links as regular HTML instead of a Hyperlink. Hey guys. I'm having a problem regarding a website I'm building for a friend. It displays perfectly fine on Mozilla Firefox, but when a certain page is viewed on Internet Explorer (said page is http://kod.cogia.net/index.php?page=members), it is absolutely messed up. I've inspected the code a few times but cannot come up with a reason why it is like that. The style code is located at " http://kod.cogia.net/includes/style.css ". The code for the members page is (the resulting HTML) can be viewed by looking at the source code of the page. Thanks for any and all help guys! Need help determining why the below code will load on firefox but not internet explorer. fixed |