473,796 Members | 2,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Summary of IE Hacks?

As I understand it, IE7 is still not standards compliant (although it has
cleaned up some bugs). Can anyone point me to a summary of IE bugs and fixes?
I've recently discovered Conditional Comments, which are supposed to be a
reliable solution, such as this:

<!--[if IE]>
<link rel="stylesheet " type="text/css" href="iestyle.c ss" />
<![endif]-->

This looks like a good way to go - that is, just use a separate stylesheet for
IE - but that begs the question of how to fix particular problems in IE. Is
there a good summary of IE quirks and workarounds someone can point me to?

Thanks in advance.

Oct 15 '06 #1
16 1847
rh

"deko" <de**@nospam.co mwrote in message
news:K_******** *************** *******@comcast .com...
As I understand it, IE7 is still not standards compliant (although it has
cleaned up some bugs). Can anyone point me to a summary of IE bugs and
fixes?
I've recently discovered Conditional Comments, which are supposed to be a
reliable solution, such as this:

<!--[if IE]>
<link rel="stylesheet " type="text/css" href="iestyle.c ss" />
<![endif]-->

This looks like a good way to go - that is, just use a separate
stylesheet for
IE - but that begs the question of how to fix particular problems in IE.
Is
there a good summary of IE quirks and workarounds someone can point me
to?
>
Thanks in advance.

http://www.webcredible.co.uk/user-fr...s-tricks.shtml

http://www.stylegala.com/resources/css_hacks.htm

http://www.quirksmode.org/css/quirksmode.html

nice table of what's supported in each browser (scroll down)
http://www.quirksmode.org/css/contents.html

Lots of css links. Check the "* daily reading" & "css techniques" for
sites that would have info on quirks
http://www.alvit.de/handbook/
Rich
Oct 16 '06 #2
depending on what browser youre targeting and developing for, the "other"
browser will always have bugs you need to fix.
for example if as you developed you tested everything in IE and made it
work, then at the end went to test in firefox, you would be asking for a
list of firefox bugs.

will we ever have true compliance across platforms??
"deko" <de**@nospam.co mwrote in message
news:K_******** *************** *******@comcast .com...
As I understand it, IE7 is still not standards compliant (although it has
cleaned up some bugs). Can anyone point me to a summary of IE bugs and
fixes? I've recently discovered Conditional Comments, which are supposed
to be a reliable solution, such as this:

<!--[if IE]>
<link rel="stylesheet " type="text/css" href="iestyle.c ss" />
<![endif]-->

This looks like a good way to go - that is, just use a separate stylesheet
for IE - but that begs the question of how to fix particular problems in
IE. Is there a good summary of IE quirks and workarounds someone can
point me to?

Thanks in advance.

Oct 16 '06 #3
need help wrote:
depending on what browser youre targeting and developing for
Isn't the answer to not target and develop for any particular browser?

--
-bts
-Motorcycles defy gravity; cars just suck
Oct 16 '06 #4
On 2006-10-16, need help <js@js.comwrote :
depending on what browser youre targeting and developing for, the "other"
browser will always have bugs you need to fix.

for example if as you developed you tested everything in IE and made it
work, then at the end went to test in firefox, you would be asking for a
list of firefox bugs.
Not if "making it work" in IE consisted of writing incorrect content
either consciously to work around the bugs or because you were in a grey
area between knowing clearly what was supposed to happen and just trying
anything that would work.
will we ever have true compliance across platforms??
Firefox, Opera and to a slightly lesser extent Konqueror in my
experience all come very respectably close to standards compliance, and
it's pretty rare to come across bugs, especially in FF or Opera.
Oct 16 '06 #5
need help wrote:
depending on what browser youre targeting and developing for, the "other"
browser will always have bugs you need to fix.
for example if as you developed you tested everything in IE and made it
work, then at the end went to test in firefox, you would be asking for a
list of firefox bugs.
That way will get you into a load of trouble.
Write it and make sure it's as you want it in Fx and *then* check in IE.

--
Gus
Oct 16 '06 #6
depending on what browser youre targeting and developing for, the "other"
browser will always have bugs you need to fix.
It would be a tragedy if each browser required its own stylesheet.
will we ever have true compliance across platforms??
Probably not. But IE appears to be the only real pariah at the moment. And
until MS chooses to make IE standards compliant, web developers have to deal
with it.

What I like about Conditional Comments is that only IE reads them (a supposedly
reliable feature of IE, including IE 7). So there is no additional overhead.
The size of a standards-compliant stylesheet need not be bloated with IE hacks,
and visitors smart enough to use standards-compliant browsers are not penalized
in any way.

So, maintaining an IE-specific stylesheet like this:

<!--[if IE]>
<link rel="stylesheet " type="text/css" href="iestyle.c ss" />
<![endif]-->

is, IMHO, the cleanest and most effective way to manage the display
peculiarities of IE. An iestyle.css can contain every hack and workaround to
accommodate each IE version (all the way back to IE 5), all cordoned off the
side, where they belong.

Oct 16 '06 #7
>Is there a good summary of IE quirks and workarounds
>
http://www.webcredible.co.uk/user-fr...s-tricks.shtml
Thanks, the webcredible site is helpful.

I also found this, which I thought was pretty good:

http://www.communitymx.com/content/a...ge=1&cid=C37E0

Oct 16 '06 #8
"deko" <de**@nospam.co mwrote in message
news:o8******** *************** *******@comcast .com...
>
So, maintaining an IE-specific stylesheet like this:

<!--[if IE]>
<link rel="stylesheet " type="text/css" href="iestyle.c ss" />
<![endif]-->

is, IMHO, the cleanest and most effective way to manage the display
peculiarities of IE. An iestyle.css can contain every hack and workaround
to accommodate each IE version (all the way back to IE 5), all cordoned
off the side, where they belong.
Do you mean something like this

/* Hacks for all IE - including IE7 */

.... {}
.... {}
.... {}

/* Hacks for IE6 and before */

* html ... {}
* html ... {}
* html ... {}

/* Continuing with hacks for IE5.5 and below */

and so on...

If so, I like the approach - better than having lots of sets of conditional
comments. Might use that in the future if I need to hack IE7 and IE6
differently (although I will probably ignore IE<6 - it tricky to test, and I
don't think quite so important).

Martin
Oct 17 '06 #9
>So, maintaining an IE-specific stylesheet like this:
>>
<!--[if IE]>
<link rel="stylesheet " type="text/css" href="iestyle.c ss" />
<![endif]-->

is, IMHO, the cleanest and most effective way to manage the display
peculiaritie s of IE. An iestyle.css can contain every hack and workaround to
accommodate each IE version (all the way back to IE 5), all cordoned off the
side, where they belong.

Do you mean something like this

/* Hacks for all IE - including IE7 */

... {}
... {}
... {}

/* Hacks for IE6 and before */

* html ... {}
* html ... {}
* html ... {}

/* Continuing with hacks for IE5.5 and below */

and so on...
yep.
If so, I like the approach - better than having lots of sets of conditional
comments. Might use that in the future if I need to hack IE7 and IE6
differently (although I will probably ignore IE<6 - it tricky to test, and I
don't think quite so important).
Yeah, I don't see much IE 5 anymore...

This approach seems like the best solution to me. Still waiting to hear what
others think...

Oct 17 '06 #10

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

Similar topics

8
2803
by: Nick Coghlan | last post by:
Time for another random syntax idea. . . So, I was tinkering in the interactive interpreter, and came up with the following one-size-fits-most default argument hack: Py> x = 1 Py> def _build_used(): .... y = x + 1 .... return x, y ....
1
2054
by: code | last post by:
Hi Grp http://www.books-download.com/?Book=1493-PHP+Hacks+%3a+Tips+%26+Tools+For+Creating+Dynamic+Websites+(Hacks) Description Programmers love its flexibility and speed; designers love its accessibility and convenience. When it comes to creating web sites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million web sites, surpassing
0
337
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 375 open ( -3) / 3264 closed (+26) / 3639 total (+23) Bugs : 910 open ( +3) / 5851 closed (+20) / 6761 total (+23) RFE : 217 open ( -1) / 220 closed ( +3) / 437 total ( +2) New / Reopened Patches ______________________
0
9673
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
9524
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
10449
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
10168
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
10003
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...
1
7546
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
6785
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
5568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2924
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.