Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CSS hack for IE8?

9 views
Skip to first unread message

Charles A. Landemaine

unread,
Mar 6, 2008, 8:20:36 AM3/6/08
to
Hello,

My GUI works fine in the following browsers:
- IE6
- IE7
- Opera
- Safari
- Firefox
- Seamonkey
- Konqueror
However, yesterday, I tested it in IE8b1, and it's totally broken :(
http://neuridia.org/docs/gui/
I'd like to know if there is a hack to format my page only for IE8.
Thanks,

--
Charles.

C A Upsdell

unread,
Mar 6, 2008, 8:58:44 AM3/6/08
to

Your URL just gives a directory listing. I am assuming that you meant
inbox.html

It may not be your fault: IE8b1 appears to be quite flaky. But I would
start by fixing the CSS errors.

Rik Wasmus

unread,
Mar 6, 2008, 9:01:00 AM3/6/08
to

You could use the MSIE proprietary 'comment' conditional offcourse.
However, I think it's to soon to create MSIE8 hacks, as far as I learned a
lot is still quite buggy. It would be a waste of time to write around bugs
they might fix anyway (and why the hell does MSIE8 STILL insist on not
understanding XHTML headers and SVG?).

BTW: especially hovering above & clicking on links seems to be broken ATM.
Don't try to fix that yet.
--
Rik Wasmus

Charles A. Landemaine

unread,
Mar 6, 2008, 9:38:33 AM3/6/08
to
On Mar 6, 10:58 am, C A Upsdell <cupsd...@upsdell.invalid> wrote:
> Your URL just gives a directory listing.  I am assuming that you meant
> inbox.html

Yes, sorry :)

> It may not be your fault:  IE8b1 appears to be quite flaky.  But I would
> start by fixing the CSS errors.

Thanks, I just tried to validate my style sheet on the W3C site, all
errors are related to IE6 hacks. Are they OK? If they aren't, what do
you suggest?
Thanks.

Charles A. Landemaine

unread,
Mar 6, 2008, 9:47:43 AM3/6/08
to
On Mar 6, 11:01 am, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> Don't try to fix that yet.

Thanks, I'll wait for RCs then.

David Stone

unread,
Mar 6, 2008, 1:47:47 PM3/6/08
to
In article
<7d364296-2f49-45a4...@2g2000hsn.googlegroups.com>,

"Charles A. Landemaine" <lande...@gmail.com> wrote:

I've only ever used a couple of minor IE6 css tricks at most;
I placed them in a <style>...</style> block nested inside a
conditional comment for IE <= 6, since they turned out not to
be needed in IE 7 so long as you triggered standards mode.
The resulting pages passed W3C CSS validation, and without
warnings, either!

Charles A. Landemaine

unread,
Mar 8, 2008, 7:19:07 AM3/8/08
to
On Mar 6, 3:47 pm, David Stone <no.em...@domain.invalid> wrote:
> I've only ever used a couple of minor IE6 css tricks at most;
> I placed them in a <style>...</style> block nested inside a
> conditional comment for IE <= 6, since they turned out not to
> be needed in IE 7 so long as you triggered standards mode.
> The resulting pages passed W3C CSS validation, and without
> warnings, either!

Thanks, David. Yes, I could do that, but what about if I want to use
just one style sheet file?

Harlan Messinger

unread,
Mar 8, 2008, 9:12:05 AM3/8/08
to
Rik Wasmus wrote:
> On Thu, 06 Mar 2008 14:20:36 +0100, Charles A. Landemaine
> <lande...@gmail.com> wrote:
>
>> Hello,
>>
>> My GUI works fine in the following browsers:
>> - IE6
>> - IE7
>> - Opera
>> - Safari
>> - Firefox
>> - Seamonkey
>> - Konqueror
>> However, yesterday, I tested it in IE8b1, and it's totally broken :(
>> http://neuridia.org/docs/gui/
>> I'd like to know if there is a hack to format my page only for IE8.
>
> You could use the MSIE proprietary 'comment' conditional offcourse.
> However, I think it's to soon to create MSIE8 hacks, as far as I learned
> a lot is still quite buggy. It would be a waste of time to write around
> bugs they might fix anyway (and why the hell does MSIE8 STILL insist on
> not understanding XHTML headers and SVG?).

Microsoft has poured its support for browser-based vector graphics into
Silverlight, which, along with Adobe's Flash and Flex, has taken
interest away from the clunky SVG technology.

Ben C

unread,
Mar 8, 2008, 11:23:32 AM3/8/08
to

What's clunky about SVG technology?

Jonathan N. Little

unread,
Mar 8, 2008, 11:58:07 AM3/8/08
to

A pain ain't it! As as MS keeps dragging behind like a uncooperative
2-year-old this is a web designer's reality. Recent reports I've read
IE8 is that it will probably fall short again opposed to first blush...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Harlan Messinger

unread,
Mar 8, 2008, 12:02:51 PM3/8/08
to

I admit I'm just relaying what I've read about its supposed
shortcomings. "Bloated" is a word I've seen associated with it. I don't
know if that refers to the markup itself or to the implementation as
necessitated by the demands of the specification.

David Stone

unread,
Mar 10, 2008, 8:00:35 AM3/10/08
to
In article
<63756f20-dcac-4e3f...@f47g2000hsd.googlegroups.com>,

"Charles A. Landemaine" <lande...@gmail.com> wrote:

I don't know if you can do conditional comments in a style
sheet itself, but I suspect not. You could try nesting a specific
stylesheet link within the conditional comment instead. In my
case, the IE-only content was minimal enough that it simply
became part of the site template.

GTalbot

unread,
Apr 9, 2008, 6:05:30 PM4/9/08
to
On 8 mar, 12:58, "Jonathan N. Little" <lws4...@central.net> wrote:

> A pain ain't it! As as MS keeps dragging behind like a uncooperative
> 2-year-old this is a web designer's reality. Recent reports I've read
> IE8 is that it will probably fall short again opposed to first blush...

Johnathan,

I think it would be more proper here to be nuanced and be more "wait-
and-see". You and I do not know how good/correct/compliant IE 8 final
will be. So far, Microsoft has created a brand new rendering engine
and many modules (eg inline module) have not been yet implemented but
will be implemented before IE 8 final is RTM. Solid facts we can be
sure of so far about IE 8:

- float model implementation has been corrected: there are still some
issues left
- adjoining margin collapsing has been fixed entirely
- z-index has been correctly implemented: there are still a few cases
left to fix
- the most glaring obvious bugs (1 crash and 3 hang bugs) have been
fixed
- people are filing bugs at connect

Lots of people complained about the above 5 items.

- there won't be any CSS 3 properties implemented (eg opacity, border-
radius), no SVG support. I personally do not see why many people are
upset with that. IE's proprietary filter: alpha(opacity=) should be
supported in IE 8 final.

If IE 8 beta 1 is a fair indication of what IE 8 final will be, then
IE 8 will reduce the gap between other better-web-standards-compliant
browsers like Firefox 3, Opera 9.50, Safari 3.1 and Konqueror 4.03.
There will be areas where IE 8 will be far behind like DOM 2 Events,
DOM 2 CSS.

"Our goal is to deliver complete, full CSS 2.1 support in the final
IE8 product."
Dean Hachamovitch, General Manager, Internet Explorer, March 5th 2008
http://blogs.msdn.com/ie/archive/2008/03/05/internet-explorer-8-beta-1-for-developers-now-available.aspx

"We want to make IE8's Standards mode much, much better than IE7's
Standards mode."
Dean Hachamovitch, March 3rd 2008
http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx

Microsoft has also commited itself on a number of issues like complete
DOM (1 or 2?) Core support. There will be a beta 2 release.
After a careful reading of their documentation, I believe DOM 2 Events
interface and DOM 2 Stylesheets interface won't be implemented..

Regards, Gérard
--
Internet Explorer 8 bugs
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/

Jonathan N. Little

unread,
Apr 9, 2008, 9:06:51 PM4/9/08
to
GTalbot wrote:
> On 8 mar, 12:58, "Jonathan N. Little" <lws4...@central.net> wrote:
>
>> A pain ain't it! As as MS keeps dragging behind like a uncooperative
>> 2-year-old this is a web designer's reality. Recent reports I've read
>> IE8 is that it will probably fall short again opposed to first blush...
>
> Johnathan,
>
> I think it would be more proper here to be nuanced and be more "wait-
> and-see". You and I do not know how good/correct/compliant IE 8 final
> will be. So far, Microsoft has created a brand new rendering engine
> and many modules (eg inline module) have not been yet implemented but
> will be implemented before IE 8 final is RTM. Solid facts we can be
> sure of so far about IE 8:
>

Hmm call me a cynic, but it would be nice if it comes true. Where did
they get the rendering engine from?

0 new messages