473,786 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why does the layout break in firefox?

The website I'm designing works perfectly in Internet Explorer, but I just tested it in firefox and it doesn't work at all.

Site is http://www.nannycompan y.co.uk/testing/index.html

And I guess you can pull the codes from the site, but if you need them I'll post them here.

Thank you in advance, I am really confused =/
Oct 19 '10 #1
2 2078
JKing
1,206 Recognized Expert Top Contributor
You should validate your html with W3 Validator. It will tell you your errors. Fix them then report back.

There is also a missing semi-colon in your css on line 136.
Oct 19 '10 #2
drhowarddrfine
7,435 Recognized Expert Expert
Because you used IE to create the site. Never, ever do that. IE is 12 years behind all other browsers in modern standards and compliance. Always, always use a modern browser. ANYTHING but IE. The multitude of quirks and bugs in IE are well known, as are the hacks to fix it.

In addition, you aren't using a doctype. This puts IE into 'quirks mode' and it won't attempt to perform like the other far more modern browsers, like Firefox, Chrome, Safari, Opera and just about everything else. Add this to your first line:
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2.    "http://www.w3.org/TR/html4/strict.dtd">
Then let's see where we stand.

IE is your problem, not Firefox.
Oct 19 '10 #3

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

Similar topics

5
28053
by: aa | last post by:
I write to a text file, and when view the resulting file in Notepad, it shows "\t" as tabs correctly, but "\n" does not break the line. Instad it shows as a square. In Dreamweaver it shows OK. How do I fix Notepad?
1
2620
by: Adrian Gans | last post by:
Hi I've been free-coding html for a couple of years but lack any formal training. I would be grateful for your help. I am not comfortable with CSS at the moment so use fixed tables for layout. This works fine for me (I know there are 'issues' with it!) except for one recurring problem - the first time my pages are browsed they can (randomly) appear with images and table cells out of
2
2320
by: .pd. | last post by:
If I have a control that adds itself to its container, does that break encapsulation? Is it a bad thing? Here's what I mean: public class fred { public barny b; public fred() {
1
1962
by: Mario Horvat | last post by:
i'm writing small app in Access 2003 VB and it looks like somehow error traping does not work anymore. When i start the form and do some actions (with vb code behind it), if it comes to a place where it can't proceed (because of an obvoius error), the code simply stops without any error message. In VB Options under Error traping i have choosen the Break on all errors option. Help?
11
12325
by: Ben Holness | last post by:
Hi all, I am having some trouble with some table code. It works fine in Internet Explorer, but the layout doesn't work correctly in Firefox 1.0.7 Is this a firefox bug, or am I missing something in the HTML? It is pretty simple code! (Plus it is valid according to the w3c validator) The layout problem is in the third row. I cannot get the embedded table (with the top and bottom cells) to be the full height of the cell (unless
22
2540
by: Cogito | last post by:
For the first time, I'm attempting to write a small Javascript program using one on the online reference sites. I need some confirmation as to the behaviour of the break statement. In the following code: for ( row = 0 ; row <= 7 ; row++ ) A <---- { for ( col = 0 ; col <=7 ; col++ ) B <---- {
1
1902
by: calebih | last post by:
Here is the link in question: http://www.redchip.com/testing.asp It is simply styled with floating divs. Two floating divs are in a container, and they look fine, until I insert dropdown menu in the left div, then the right div gets pushed down as if the left div is too big or has clear:right applied to it.
1
2471
by: gatorade | last post by:
Drop Down list in a form is breaking layout of the page in FireFox. Here is the page in question: http://www.redchip.com/visibility/RCinstitutional-Requestinfo.asp The layout is simply two floating div's in a container div. Everything looks fine before I put the dropdown list in the form, but once it is in,
11
2669
by: Earl Anderson | last post by:
Our company has been acquired by another company and we are going thru the integration process. One of the "Day 1" items is settling on a departmental database used to track departmental functions. A former employee built our Access application, however he is now long gone. During the 2 years he's been gone, the application has worked just fine with no problems. The new acquiring company's department has a like application (not sure if...
19
4111
by: vecima | last post by:
first of all, hello (first time poster). the url in question: http://www.type3studios.com/?projects (i guess you can grab the html and css from there, but if you want, i'll post it.) EDIT: if you do grab my css and html, you're mainly looking for the .block, .blocka, and .blockb sections. on that site, i'm using the "unordered list of divs with display:table-row and display:table-cell" trick to set up several rows of 3 boxes each. ...
0
9492
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10360
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...
1
10108
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9960
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
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
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4064
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
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.