Go Back   EQ2Flames Forum > Everything Else > Tech Support

Reply
 
LinkBack Thread Tools
Old 10-01-2008, 06:28 PM  
ACT Developer
 
EQAditu's Avatar
 
Character: Aditu
Guild: Cataclysm
Server: Permafrost

Posts: 553
Photos: (3)

Send a message via AIM to EQAditu Send a message via Yahoo to EQAditu
Icon2 MSIE Rendering

I'd just like to take a moment to display my hate for MSIE's rendering engine. When I'm not writing web pages, my only gripe is that it took until IE7 to implement full support for PNG images.

Trying to write web pages with MSIE makes me cry though. The people writing it's layout engine must have logic dyslexia. I cannot do super simple things like create static table layouts or add padding to a page-fill div.

I write some html and css that makes sense to me when I lay it out in my mind. (I don't use WYSIWYG editors) Bring it up in Firefox... sometimes I did something stupid and it's a quick fix to get it to look right... then I display it in MSIE and all I can say is WTF.

I wrote a super simple table/css example that glaringly shows MSIE's horrible layout logic. Link.

Each of the colored cells should be exactly the same size. In Firefox, they are. In MSIE, depending on how much text is in that 2nd row cell, all of the cells will have different widths even though I explicitly set the cell width. Forget the fact that MSIE seems to ignore the cell width that I set almost entirely. The only recourse I found was to set a css style table-layout: fixed. But that just makes it look equally dumb in both browsers.

The second problem is that IE seems to do margins/padding in the wrong order(hence dyslexia). In the same example, the outter div applies padding inside of itself so the tables don't take 100% of the width. Where as that happens in FF... in IE it seems to calculate what 100% width is, then add the padding to each side afterwards. What you get is a page that always has a scroll bar no matter how large you make it. The same thing seems to happen when giving the tables margins instead of the outter div padding.

The best one can do is try doing hacks that trick one browser but not the other... like I was told making a table height: 1% would fool IE into performing the padding layout correctly. However then Firefox uses that value to calculate where to position objects that come after the tables... which would be inside of the tables. I hate using hacks for web pages. I'm not going to say everything but MSIE is perfect... but MSIE has always been notorious for not following standards, and it appears to still have issues despite the gains it has made in closing the huge compliance gap since last time I tried making a website.
EQAditu is offline   Reply With Quote
Old 10-01-2008, 06:37 PM  
It appears my hypocrisy knows no bounds.
 
Anap KaSplat's Avatar
 
Character: Anap
Guild: Archon
Server: Crushbone

Posts: 543
Photos: (6)

Send a message via ICQ to Anap KaSplat Send a message via AIM to Anap KaSplat Send a message via MSN to Anap KaSplat Send a message via Yahoo to Anap KaSplat
Default Re: MSIE Rendering

Doctype ftw.
__________________
EQ2LL - Where the links are at! (Download/Search/Donate)

Maybe EQ2 just isn't your game. I know! Let's have a spelling contest!
Anap KaSplat is offline   Reply With Quote
Old 10-01-2008, 07:05 PM  
a walrus
 
Snark's Avatar
 
Character: Snarkw
Guild: The Kraken
Server: Nagafen

Posts: 3,370
Photos: (12)

Send a message via AIM to Snark Send a message via MSN to Snark
Default Re: MSIE Rendering

Tables have always been completely bullshit in I.E. Basically anything that isn't fixed-width gets completely fucked; I've had that problem a lot.
Snark is offline   Reply With Quote
Old 10-01-2008, 07:15 PM  
Didn't he quit?..again?
 
Lamil's Avatar
 
Character: Lamil
Guild: Ow My Eye
Server: redeye

Posts: 2,560
Photos: (60)

Send a message via AIM to Lamil
Default Re: MSIE Rendering

amen.
__________________


Lamil is online now   Reply With Quote
Old 10-01-2008, 07:17 PM  
Fuck Aeralik. EQ2 can do better.
 
Illuminator's Avatar
 

Posts: 9,249
Photos: (0)

Send a message via AIM to Illuminator
Default Re: MSIE Rendering

I'd like to see a similar thread for C#, even though I actually like C#.
Illuminator is offline   Reply With Quote
Old 10-01-2008, 08:06 PM  
I BE PREZ-O-DENT
 
Morara's Avatar
 
Character: Morara
Guild: Guild of Guildiness +5
Server: Oobag

Posts: 5,564
Photos: (0)

Default Re: MSIE Rendering

PNG? Are you some kind of open source fatty?
__________________
Morara is offline   Reply With Quote
Old 10-01-2008, 08:12 PM  
Fuck Aeralik. EQ2 can do better.
 
Illuminator's Avatar
 

Posts: 9,249
Photos: (0)

Send a message via AIM to Illuminator
Default Re: MSIE Rendering

There's wide open middle ground between GIF and JPG.
Illuminator is offline   Reply With Quote
Old 10-01-2008, 09:19 PM  
ACT Developer
 
EQAditu's Avatar
 
Character: Aditu
Guild: Cataclysm
Server: Permafrost

Posts: 553
Photos: (3)

Send a message via AIM to EQAditu Send a message via Yahoo to EQAditu
Default Re: MSIE Rendering

Quote:
Originally Posted by Anap KaSplat View Post
Doctype ftw.
What's wrong with the doctype? I didn't even write it... the w3c validator did.

Quote:
Originally Posted by Morara View Post
PNG? Are you some kind of open source fatty?
No, I want an image format with better than 1bit transparency. Which IE6 does not support in PNG or any other format I know of. You have to use DirectX hacks in IE6 to get the full 8bit transparency which is just retarded.
EQAditu is offline   Reply With Quote
Old 10-01-2008, 10:37 PM  
ACT Developer
 
EQAditu's Avatar
 
Character: Aditu
Guild: Cataclysm
Server: Permafrost

Posts: 553
Photos: (3)

Send a message via AIM to EQAditu Send a message via Yahoo to EQAditu
Default Re: MSIE Rendering

Quote:
Originally Posted by Illuminator View Post
I'd like to see a similar thread for C#, even though I actually like C#.
*shrug* I'll talk about C# if you start a conversation... but I not really sure what you're talking about anyhow. A better analogy would be C# being compiled by Windows or Mono. You're dissatisfied with the language itself?
EQAditu is offline   Reply With Quote
Old 10-01-2008, 11:38 PM  
Whatever
 
Cexi's Avatar
 
Character: Cexi
Guild: Exordium
Server: Everfrost

Posts: 799
Photos: (0)

Default Re: MSIE Rendering

Ehm, looks totally wierd in Opera, too
__________________
Cexi is online now   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


Sponsor Ads


All times are GMT -4. The time now is 01:55 PM.


Design By: Miner Skinz.com Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0