Solved

Different layout in IE7, Opera and mozilla

Posted on 2008-10-13
2
304 Views
Last Modified: 2013-12-08
i am just starting on learning how to do website design and i found some problem that i do not know how to solve it.

at 1t i develop my the website using IE7, it looks fine, but when i open it in Opera, it look bad. it is CSS problem?

can anyone help me to have a look so that i can learn it, thanks in advance :)
Website.zip
0
Comment
Question by:alicca
2 Comments
 
LVL 16

Expert Comment

by:AdamRobinson
ID: 22703961
IE and other browsers do not interpret HTML/CSS commands the same way.  You'll run into this a lot.  While IE7 was substantially better than its predecessors, there are many cases in which you'll be left with either entirely different pages or forced to do a hack.  Your options are the following:

1) Create your page so that it detects what browser is being used and presents HTML/CSS appropriately for that particular browser.
2) Design your page so that Firefox/Opera render it correctly, then adjust what doesn't work in IE separately (if you do it the other way, you'll constantly have issues).

The best suggestion would be for you to browse the internet for the many sites which detail/explain where IE7 and Firefox won't render the same way and see their suggested solutions, especially if you are getting heavily into CSS usage.

0
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
ID: 22705172
As Adam said, IE7 is less standards compliant than other browsers, so get used to it displaying some things differently.

I recommend Adam's second suggestion.

Here are some of the sites Adam was referring to:
http://www.howtocreate.co.uk/wrongWithIE/
http://positioniseverything.net/explorer.html
http://www.sitepoint.com/forums/showthread.php?t=457698
http://www.tyssendesign.com.au/articles/css/dont-use-ie-for-testing/
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now