473,781 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web sites that discuss IE gotchas?

I'm in the process of redesigning my web page and started working more
with CSS. I have, what I think is, a nice web layout (I'm no expert so
I could be wrong). When I tested it with Konqueror and Firefox it
works well (a few minor problems) but when I test it with IE 6.0 it
doesn't display or it jumbles everything up. I've tried using various
examples (conditionals) to get around IE problems but they are causing
more problems that they fix. I'd love to drop IE all together but it's
around 33% of my traffic so probably not a good idea.

Can anyone point me to site that explain how to design around IE's
problems? I've googled but I seem to be getting dribs and drabs of
information.

--
Linux Home Automation Neil Cherry nc*****@linuxha .com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site
Dec 28 '06 #1
18 2327
In article <sl************ ****@cookie.uuc p>,
Neil Cherry <nj*@cookie.uuc pwrote:
I'm in the process of redesigning my web page and started working more
with CSS. I have, what I think is, a nice web layout (I'm no expert so
I could be wrong). When I tested it with Konqueror and Firefox it
works well (a few minor problems) but when I test it with IE 6.0 it
doesn't display or it jumbles everything up. I've tried using various
examples (conditionals) to get around IE problems but they are causing
more problems that they fix. I'd love to drop IE all together but it's
around 33% of my traffic so probably not a good idea.

Can anyone point me to site that explain how to design around IE's
problems? I've googled but I seem to be getting dribs and drabs of
information.
First thing to do is to check your site for errors, there a few
in both css and html on the "main" site in your sig, look up in
validators. The other thing, do you need to use xhtml? Usually
best to keep to:

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

There are a lot of problems with IE 6 and your best strategy is
to first get your code as kosher as possible. Beyond that, what
are the specific problems you have?

--
dorayme
Dec 28 '06 #2
On Thu, 28 Dec 2006 14:38:34 +1100, dorayme wrote:
In article <sl************ ****@cookie.uuc p>,
Neil Cherry <nj*@cookie.uuc pwrote:
>I'm in the process of redesigning my web page and started working more
with CSS. I have, what I think is, a nice web layout (I'm no expert so
I could be wrong). When I tested it with Konqueror and Firefox it
works well (a few minor problems) but when I test it with IE 6.0 it
doesn't display or it jumbles everything up. I've tried using various
examples (conditionals) to get around IE problems but they are causing
more problems that they fix. I'd love to drop IE all together but it's
around 33% of my traffic so probably not a good idea.

Can anyone point me to site that explain how to design around IE's
problems? I've googled but I seem to be getting dribs and drabs of
information.

First thing to do is to check your site for errors, there a few
in both css and html on the "main" site in your sig, look up in
validators. The other thing, do you need to use xhtml? Usually
best to keep to:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
This is a good suggestion, I'll fall back from XHTML 1.0 Transitional
to 4.01 strict and see if that loosens things up first and run my page
and the css through the appropriate tools to see how correct they
really are.
There are a lot of problems with IE 6 and your best strategy is
to first get your code as kosher as possible. Beyond that, what
are the specific problems you have?
I'll get back to you as soon as I've checked the code (in a day or
two).

Thanks!

--
Linux Home Automation Neil Cherry nc*****@linuxha .com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site
Dec 28 '06 #3
Neil Cherry wrote:
>
Can anyone point me to site that explain how to design around IE's
problems?
IE6 has many CSS troubles. The best way to avoid them is to start with
clean, semantic markup - HTML 4.01 Strict is recommended. And Keep It
Simple, especially if you are not very fluent in CSS. You can gradually
move to more complex designs as your skill level increases. Just don't
try to bite off more than you can chew - you'll only end up with a mess,
probably in all browsers not just IE.

Understanding how the various positioning methods and the box model are
*supposed* to work goes a long way to avoiding problems in general, so
please learn these first. The specs are at
http://www.w3.org/TR/CSS21/visuren.html

IE's quirks are triggered by a variety of conditions so you have to take
them individually when figuring out a resolution. The 2 best sources for
identifying the cause and work-around(s) are
http://www.positioniseverything.net/explorer.html
http://www.quirksmode.org/bugreports/index.html

quirksmode.org lists bugs for all browsers and has JavaScript and HTML
bugs in there as well. There is a section devoted to IE 5-6. Thankfully,
the worst IE6 bugs have been corrected in IE7, but that doesn't mean IE7
is bug-free. No browser is bug-free, of course.

--
Berg
Dec 28 '06 #4
I want to thank everyone for their help. I haven't figured out why
things aren't working with IE but are with Firefox but I have learned
that that inheritance is important. I've found that if I take
something that works (blocks of text and images, centered) and just
add it into an existing page they no longer work. I'm going to fall
back to solving the block centering problem first, then the page
layout with fixed divs (header, content and footer) and scroll bars
then the drop down menu issues.

I'm amazed at how many folks give examples of 'howto' and those
examples fail on a basic web page (inheritance from their style sheet
that they fail to mention). As with anything there is useful and
useless information on the web. I am thankful for the folks in this
newsgroup who help separate the wheat from the chaff. :-)

--
Linux Home Automation Neil Cherry nc*****@linuxha .com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site
Dec 29 '06 #5
Yes, I know one post followed up by another post followed up by yet
another, bad form! Anyway, I found the source of most of my
problems. I have a tendency to add the following line to the start of
my html files:

<!-- -*- mode: html; mode: auto-fill; -*- -->

This tells my editor to drop into a specific mode that I like to
use. I minimized my files down to the minimal html and css to perform
the task I couldn't get to work and found that 2 nearly identical
files behaved differently! When I removed the line above (it was the
very first line in the html file) both behaved identically. The file
verifies with the above line in it so I thought it was acceptable.

--
Linux Home Automation Neil Cherry nc*****@linuxha .com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site
Dec 30 '06 #6
Neil Cherry <nj*@cookie.uuc pwrites:
Yes, I know one post followed up by another post followed up by yet
another, bad form! Anyway, I found the source of most of my
problems. I have a tendency to add the following line to the start of
my html files:

<!-- -*- mode: html; mode: auto-fill; -*- -->

This tells my editor to drop into a specific mode that I like to
use. I minimized my files down to the minimal html and css to perform
the task I couldn't get to work and found that 2 nearly identical
files behaved differently! When I removed the line above (it was the
very first line in the html file) both behaved identically.
The absence of a DTD declaration on the first line of an HTML document will
trigger so-called "quirks mode" in many browsers. That results in different,
non-W3C layout rules being applied.

Have a look at <http://hsivonen.iki.fi/doctype/for more.

Emacs doesn't require your mode line to be at the very top. I use it all
the time with Perl scripts that begin with a #! line. So, you don't have
to remove that, just move it to below the DTD declaration.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Dec 30 '06 #7
Neil Cherry wrote:
>
<!-- -*- mode: html; mode: auto-fill; -*- -->

files behaved differently! When I removed the line above (it was the
very first line in the html file) both behaved identically.
IE6 requires the DOCTYPE in the first line or it triggers quirks mode.
The actual DOCTYPE in this case is ignored. google the archives for more
about quirks vs standards mode.

--
Berg
Dec 30 '06 #8
Sherm Pendley <sp******@dot-app.orgwrote:
>The absence of a DTD declaration on the first line of an HTML document will
trigger so-called "quirks mode" in many browsers.
Quirks mode is triggered in IE and an old version of Opera when there is
non whitespace before the doctype. The doctype declaration does not have
to be on the first line, and afaik no other browsers are affected.
>That results in different, non-W3C layout rules being applied.
That is a rather meaningless statement.

--
Spartanicus
Dec 30 '06 #9
On Sat, 30 Dec 2006 00:38:04 -0500, Sherm Pendley wrote:
Neil Cherry <nj*@cookie.uuc pwrites:
>Yes, I know one post followed up by another post followed up by yet
another, bad form! Anyway, I found the source of most of my
problems. I have a tendency to add the following line to the start of
my html files:

<!-- -*- mode: html; mode: auto-fill; -*- -->

This tells my editor to drop into a specific mode that I like to
use. I minimized my files down to the minimal html and css to perform
the task I couldn't get to work and found that 2 nearly identical
files behaved differently! When I removed the line above (it was the
very first line in the html file) both behaved identically.

The absence of a DTD declaration on the first line of an HTML document will
trigger so-called "quirks mode" in many browsers. That results in different,
non-W3C layout rules being applied.

Have a look at <http://hsivonen.iki.fi/doctype/for more.

Emacs doesn't require your mode line to be at the very top. I use it all
the time with Perl scripts that begin with a #! line. So, you don't have
to remove that, just move it to below the DTD declaration.
Good I'll do that. Thanks, I'm now much happier with the way things
are working. Especially now that they're following the standards more
closely. I'm certain I have plenty of clean up to do on my various
pages. Some of which were written more than 10 years ago (~ html
3.2). I'm not really sure I'm any more knowledgeable today than I was
then.

Thanks!

--
Linux Home Automation Neil Cherry nc*****@linuxha .com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site
Dec 30 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

55
5191
by: Jonas Smithson | last post by:
I've seen a few attractive multi-column sites whose geometry is based on pure CSS-P, but they're what you might call "code afficionado" sites, where the subject matter of the site is "coding practices." (One example of this is alistapart.com.) However, the project/development realities for small boutique sites are completely different from those of large commercial or institutional sites -- and I was curious to see what coding approaches...
6
1463
by: Stan | last post by:
We have several intranet ASP.NET web sites. Users log on to the sites by using form authentication and custom security (user names and passwords are stored in the database). If a user logs on to the first site and from within this site is redirected to another one, we would like to pass its security information along, so the user doesn't need to log on again. I am thinking of making a gateway page that will have two url parameters,...
1
2145
by: Tony Jones | last post by:
Can I have two ASP.NET site using the same membership provider settings? For this to happen, the applicationName would have to be the same, but what about the configuration of the <properties> within the <profile> section? In the web.config's for both sites, do these config sections have to be identical? Could I actually fully define the <properties> section in one application and not in the other? Do the <profiles> section of each...
3
1704
by: ashutosh | last post by:
I am working for a company and working for printer drivers. Most of the work is in ddk, VC++ and C++, gdi calls. I have studied C++ and ddk and VC++ is new for me. Can anybody suggest me some good web sites for study, some free tutorials on the net, some easy study material or some certification in this field which will be helpful for me and some good sites from where i can prepare. I am a fresher in the company. Please suggest.
34
4380
by: Victor Kryukov | last post by:
Hello list, our team is going to rewrite our existing web-site, which has a lot of dynamic content and was quickly prototyped some time ago. Today, as we get better idea of what we need, we're going to re-write everything from scratch. Python is an obvious candidate for our team: everybody knows it, everybody likes it, it has *real* objects, nice clean syntax etc.
2
1247
dmjpro
by: dmjpro | last post by:
Hi Experts ....... I want to discuss ASPECTJ over here. Is it the right place to discuss? If it is then please reply. As soon as I ll get the reply then I ll start posting my problems. So please .. come and give company. Kind regards, Dmjpro.
0
1166
by: =?Utf-8?B?Sm9obm8=?= | last post by:
What caveats and gotchas should I be aware of before committing to developing a bunch of ASP.NET web pages using FormView controls to implement Edit/View functionality? TIA
0
1261
by: Guilherme Polo | last post by:
On Sat, Sep 20, 2008 at 4:10 PM, dmitrey <dmitrey15@ukr.netwrote: It is not only the button that doesn't respond, the entire application won't respond if you are blocking tcl from processing anything. This call to p.solve blocks, and, in turn the interpreter can't process events and the GUI remains frozen till p.solve returns. Ideally you should break this p.solve in steps, so you can schedule next steps and the GUI will remain...
0
1810
by: Guilherme Polo | last post by:
On 10/29/08, Olrik Lenstra <o.lenstra@gmail.comwrote: It will be a combination of commands, not a single one. Initially I considered this as "probably without solution", since tcl acquired a yield command just in the 8.6a3 release, but then I looked at wx.SafeYield code and apparently it is possible to replicate it. Here is an initial cut, it is very possible to contain something not equivalent to wx.SafeYield (besides it could be...
0
9639
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
9474
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,...
1
10076
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
9939
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
8964
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...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6729
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();...
1
4040
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
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.