Improve company productivity with a Business Account.Sign Up

x
?
Solved

Different layout in IE7, Opera and mozilla

Posted on 2008-10-13
2
Medium Priority
?
313 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 43

Accepted Solution

by:
David S. earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

605 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