473,598 Members | 3,369 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looks great in IE7 and crap in Firefox

4 New Member
A simple problem to see. I am not going to post code yet as I am not sure were it goes wrong.

If you could have a look at the site, firstly with IE7 and then with Firefox.

It looks good and everything works fine in IE7.
In Firefox it's a disaster, it looks crap and the css menus dont work.

As thread this unfolds I can include code.

here is the site.
www.KillesterUn ited.com

Its a site I wrote and maintain for free for my local soccer club.

Any ideas would be greatly appriecated.

Thanks.
Derek.
Mar 7 '08 #1
6 1337
drhowarddrfine
7,435 Recognized Expert Expert
The problem is IE7. IE is displaying what you want. Firefox is displaying what you wrote. Never use IE as a reference for how things should work. It is 10 years behind web standards.

First thing, you are missing a doctype. You will never get IE to attempt to perform like modern browsers, such as Firefox/Opera/Safari without one. See the article about doctypes under Howtos and the html/css section above. Do that first and let's see where we stand.
Mar 7 '08 #2
DerekPKeogh
4 New Member
The problem is IE7. IE is displaying what you want. Firefox is displaying what you wrote. Never use IE as a reference for how things should work. It is 10 years behind web standards.

First thing, you are missing a doctype. You will never get IE to attempt to perform like modern browsers, such as Firefox/Opera/Safari without one. See the article about doctypes under Howtos and the html/css section above. Do that first and let's see where we stand.
Great, thats a place to start.

Looking at the code now its not in great shape.
Like you say its showing how it wants not what it is written.

http://validator.w3.or g/check

I found this file checker, its great. I am working my way through the errors, found twenty or so, type O's missing stuff etc. It picked out doctype amonst other things.

When I fix these I will report back.

Im almost embarrassed how I depended on IE.:-(
Mar 7 '08 #3
drhowarddrfine
7,435 Recognized Expert Expert
This is the web developer's mantra:
If it works in IE but not Firefox/Opera/Safari, the markup is wrong. If it works in Firefox/Opera/Safari but not IE, fix IE.
Mar 7 '08 #4
DerekPKeogh
4 New Member
Thats the errors found with http://validator.w3.or g/check,
2 left to do with no definition of the marquee tag.
I can live with that for now.

So, even with the errors fixed it is still crap in firefox.

I will try and start the laout from scratch and add each element at a time and see where it goes wrong.

If you can see any obious stuff just from viewing in the browser let me know please,

thanks for the help and pointers so far.

Derek.
Mar 7 '08 #5
DerekPKeogh
4 New Member
a couple of questions.

1. my sight looks different when I view it local(from IIS7 on my PC) and over the web(I think the host uses IIS6) both with Firefox.

2. IE places all the DIVS in the correct location without giving them absolute starting positions, do I have to declare absolute starting positions to get hthe same effect in Firefox.
Mar 9 '08 #6
drhowarddrfine
7,435 Recognized Expert Expert
Your doctype is incorrect and putting IE into quirks. Use this one:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

If it looks right in IE, but not Firefox, then your markup is wrong. Firefox always displays what you wrote. IE will not. I'll look more at this.
Mar 9 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

32
2496
by: Tom Cole | last post by:
I bet 50% of the posts I've read lately have had at least one bad thing to say about every website or book dedicated to javascript. There are clearly a few posters (you know who you are) who either are or consider themselves to be the "comp.land.javascript elite". You guys may be the brightest, most seasoned developers out there, and hats off to you. You may not be, how the heck would I know. But... Not to be too critical (which sounds...
97
4007
by: Master Programmer | last post by:
Thinking of learning VB.NET? New programmer? Thinking of Moving over from VB 6.0? Read on friend, let me help you make a more informed decision......... Microsoft are a pathetic company, but they have got worse over the last 5 years. Here are just a few reasons (there are many more), not to sacrifice
2
3283
by: johnny15 | last post by:
My website www.windsoraccess.co.uk looks different in IE to Firefox at the very top where my logo and wording is. In IE the gap surrounding the logo and wording is much less and looks absolutely fine compare to the view you get in Firefox. Elsewhere there is no problem with the layout it looks the same in both IE and Firefox. Any suggeestion would be welcome. Thanks in advance
1
5864
by: mistahmiles | last post by:
I am designing a table-based menu. I want the table to take up the entire screen, as it is separating my banner image and the beginning of the text. Anyways, as you can see, I used the "width:100%" attribute. But in Firefox, this shows the table pushed right 0.5em, so I added a "margin-left:-0.5em" attribute, which makes it look great in Firefox; in IE, however, it shows the table ending 0.5em left of the right side of the window, and the table...
2
1965
by: silvrfoxx | last post by:
I created this using notepad and was checking it in Firefox, but when i finished and checked it in IE it looks like crap. I even opened up Dreamweaver and it shows it looking great. I can't find what is causing it. I have double, triple checked to make sure that all my ", <, >, tr, td, etc. are opened and closed properly. Please can anyone help? Thanks in advance. Here is my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
7
1971
by: schoenfeld.one | last post by:
Most people don't know that there were actually 3 buildings which came crashing down on the day of 9/11. The third building, WTC 7, can be seen here http://video.google.com/videoplay?docid=-7750532340306101329 There is no mention of this building in 911 Omission Report. Can fire make a building come crashing down at free fall speed?
1
1312
by: Rulenoff | last post by:
I have created a web site for my paintball team and i'm having trouble. I am rather new at html so please bare with me. The site www.portcitymilitia.150m.com displays just like I want it to in IE. However when you look at this same page in firefox the links and text are below the image unlike IE with it being on the image. Can anyone point me in the right direction. I am trying to get the text and links to lay on the image which I have in...
5
1386
by: manish | last post by:
Hi, My website is a joomla powered website: http://www.pradhanmanish.com.np and i am loading a .php file from another server and displaying it on my website as a module. While Firefox displays it correctly with a transparent background, IE shows a big white box instead of being transparent. The problem lies in the front page at the right side of the home page. Can anyone please suggest some fix for this problem?? Thanks in advance.
1
1519
by: CKich30 | last post by:
When viewing my page (siuehockey.net) in Firefox, it's setup how I want it to look. When i viewed it using IE, the menu at the top runs into the "Cougar Hockey/cougarhockey.net" at the top left. It's leaving off two menu selections: Contact, and Cougar History, which when loading the page get covered up by the banner picture. Here's the CSS for the site: body { margin: 0; padding: 0; background: #000000 url(images/img01.jpg)...
0
7991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8395
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6719
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5438
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3898
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3939
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2412
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1250
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.