473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Banner width and Firefox problem

hi,
The banner show in my site looks OK in IE 6, but when viewed in Firefox things start to go wrong.

The banner is fine in IE6 when viewed on my PC with 17´monitor but when viewed on a laptop (15´inch) and a monitor with 19 inch it only stretches 75% across.

I have tried to play around with width size and other things but to no avail.

Any help in this matter would be greatly appreciated.
link to site is www.webfactory365.com


Thanks

Richard
Jan 20 '08 #1
1 1235
drhowarddrfine
7,435 Expert 4TB
The problem, as always, is you are using IE as your reference when you laid out this site and use IE as your reference as to how things should work. However, all versions of IE are 10 years behind web standards and buggy so when you hold IE up as your reference, you are using an old, buggy non-standard browser to test your markup.

So what happens to your markup? You create old, buggy non-standard markup and expect it to work in modern browsers. So don't do that anymore. Always, always use Firefox or Opera or Safari as your initial test for how things should work and to make sure your markup is correct. Then we know it will probably work fine in all browsers except, perhaps, IE, but at least you know it's not you or your markup.

So...

On your first line you are properly using the xml declaration for an xhtml page. (<?xml version="1.0"?>) However, IE chokes on modern things and goes into quirks mode and won't work like any other browser that does understand that. No version of IE even works with XHTML but that's another story.

So you can safely remove the xml declaration, but then you have to validate your html which, right now, has 32 errors. Then validate your css which appears OK right now.

Then see how your page is working in Firefox, make any necessary corrections. Then check in crappy IE to see if it screws everything up. Whatever bugs you discover are known, as are the hacks to fix it.

But let's get that far first.
Jan 21 '08 #2

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

Similar topics

4
by: Patrick Rouse | last post by:
Please point me to the correct newsgroup if this is the wrong place to post this question. My website is written in simple HTML and hosted on a windows server at secureserver.net (via GoDaddy). ...
3
by: Dan V. | last post by:
Hi there, How can I keep the banner image from wrapping when resizing the width of the window smaller? Firefox seems to do this but not I.E. Any ideas for: http://www.officeactivate.com/ ?...
10
by: Yohann L. | last post by:
Hello. I would like to have an horizontal banner which autoadjust its width to 100% of the page width. So, I've sliced the image banner in three parts, but don't find a way to do the middle one...
24
by: GloStix | last post by:
I'm trying to center this banner, it's in a div that has the same width so it's not exactly "centering" but it's screwed up, It works in safari but in Firefox it's messed up. I uploaded a Video to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
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,...

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.