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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
IE7 vs. Everything Else : Position
Old 11-29-2007, 08:48 AM IE7 vs. Everything Else : Position
Junior Talker

Posts: 4
Trades: 0
Hello everyone,

This has probably been discussed before, and if so would like to be pointed in the right direction:

My website (www.orlandocitychurch.com) is part Javascript, CSS and Wiki. The main problem I have is inconsistancies in positioning. On IE 7 (the browser I initially used to create the website) the positions are what they need to be. However, on Opera, Firefox, and Safari the positioning is completely different and makes the site look absurd. Is there something I can do to make the website look the same on all browsers?

Thanks in advanced,
Zachary
zachmedia is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-29-2007, 11:01 AM Re: IE7 vs. Everything Else : Position
Defies a Status

Posts: 3,420
Trades: 0
The answer: ignore IE most of the time when initially designing the site.

Design for Firefox or Safari - both of these are standards compliant browsers and tend to display things AS THEY ARE SUPPOSED TO BE DISPLAYED. IE is a wild beast - it messes up many sites as it isn't as web standards compliant. IE6 is even worse than IE7!

Design it in Firefox or another standards compliant browser, then fix it in IE. You can do this using conditional comments to get the browser to use the correct stylesheet that has fixes for the particular browser. In the <head> part at the top of the HTML, include the following HTML (this particular code is for IE7 and all browsers below it - IE6, IE5.5 etc.):

Quote:
<!--[if lte IE 7]><link rel="stylesheet" href="iefixes.css" /><![endif]-->
It basically says, if Lower Than or Equal to IE 7, use this stylesheet - of course you can change the name or whatever of the stylesheet - it doesn't have to be iefixes.css, but I just think that's quite a descriptive title

Last edited by CSS4Life; 11-29-2007 at 11:03 AM..
CSS4Life is offline
Reply With Quote
View Public Profile
 
Old 11-29-2007, 02:38 PM Re: IE7 vs. Everything Else : Position
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I can't even get to the site to look, keep getting a DNS error.
It's never a good idea to design with IE first, it will always cause you grief.

You need to be careful about using old CSS hacks - IE7 will choke on most of them.
__________________
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 12-01-2007, 10:46 AM Re: IE7 vs. Everything Else : Position
Defies a Status

Posts: 3,420
Trades: 0
Quote:
Originally Posted by LadynRed View Post
You need to be careful about using old CSS hacks - IE7 will choke on most of them.
That's true LadynRed. I tend not to use hacks too much - just normal CSS but changing the position slightly to make it the same across all browsers. For example, with my latest site, IE was completely messing up the menu so I gave it a separate stylesheet and altered the positions slightly to make it the same as Firefox.

If CSS hacks are involved, particularly the IE6 transparent filter that I use, I make a special IE6 CSS file and then a separate IE7 CSS file if required.

I know it's not the best practice, but it's hard to find ways around IE's annoying habits
CSS4Life is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to IE7 vs. Everything Else : Position
 

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.23407 seconds with 12 queries