Solved

Different layout in IE7, Opera and mozilla

Posted on 2008-10-13
2
305 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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 a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 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

22 Experts available now in Live!

Get 1:1 Help Now