Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
IE8 won't render my website layout as it should
Old 05-21-2009, 08:38 AM IE8 won't render my website layout as it should
Skilled Talker

Posts: 54
Name: Fred
Trades: 0
I recently posted a question regarding a member of the forum I run, who's complaining that the reply page layout is messed up - it's now transpired that this is only since he upgraded to IE8.

I've viewed the page in question on two computers and three different browsers, and this is what I found:

PC 1 - Firefox, fine. IE7, fine
PC 2 - IE8 (upgraded yesterday), overlapping layout problem as described by the afore mentioned forum member.

I'm already using an 'If IE' hack in my coding, to bring the layout of the reply page into shape for IE users, but what can I do for IE8 users?

And why is this happenening anyway? I thought IE8 was MS answer to FF and Chrome?

Thanks in advance.

PS My forum can be found here: http://www.runboard.com/bored472 - no need to register if you want to take a look at the 'leave a reply' page.

Last edited by Billy; 05-21-2009 at 08:40 AM..
Billy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-21-2009, 09:11 AM Re: IE8 won't render my website layout as it should
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
You may want to target only IE7 and under. As said, IE8 should render like the good guys. Your conditional statement should look like this to do so:

<!--[if lt IE8]>
/* your under IE8 stuff here */
<![endif]-->

This way your IE8 users won't get your IE special fixes.

Any more info on conditional statements:
http://www.quirksmode.org/css/condcom.html

Last edited by racer x; 05-21-2009 at 09:14 AM..
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 05-21-2009, 10:33 AM Re: IE8 won't render my website layout as it should
Skilled Talker

Posts: 54
Name: Fred
Trades: 0
Thanks, racer, but I've just been told by someone on my forum that there's another way. I was just about to come here and explain that I'd fixed it, but you beat me to it.

IE8 has something called a 'compatibilty view'. You hit that and it resolves any layout and/or compatibility issues, and then remembers the settings for that website next time around. It fixed the problem for me, anyway.

For all I know, this compatibilty view tool may be nothing new and might even have been a feature for the earlier versions of IE.

Do you think I still need to use that 'if It IE8' hack, racer?
Billy is offline
Reply With Quote
View Public Profile
 
Old 05-21-2009, 12:00 PM Re: IE8 won't render my website layout as it should
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
Quote:
Originally Posted by Billy View Post
For all I know, this compatibilty view tool may be nothing new and might even have been a feature for the earlier versions of IE.

Do you think I still need to use that 'if It IE8' hack, racer?
Compatibility view is new to IE8

You will still need to address the issue. IE8 is being rolled out right now, so more and more people will be using it over the coming months and it will default to IE8 mode by default - you can guarantee that a lot of people won't remember about the view button.
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 05-21-2009, 02:03 PM Re: IE8 won't render my website layout as it should
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Before you use that compatibility thing, you should read this:
http://www.webmaster-talk.com/html-f...about-ie8.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-21-2009, 02:29 PM Re: IE8 won't render my website layout as it should
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
As far as I know IE7 hacks don't affect IE8. At least none of the ones I've tested do, and none of the common ones do. This means if you absolutely have to target IE8 specifically, you must use a conditional comment. However, before you do that, I would try to work out a solution without making a separate stylesheet.

So far, my experience shows me that although there are sometimes minor differences between IE8 and Firefox (if you're using CSS3 stuff for example), these differences are not bad, and can usually be solved by simplifying your code, much like you would for differences between Safari and Firefox.

The less complex your code is the better.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to IE8 won't render my website layout as it should
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18106 seconds with 12 queries