Question by Edilyn E: How can I make a website that fit on both browsers IE and Mozilla Firefox?
I already have a website or a web page. In a table in my web page when I have uploaded to my web server all in order. When I opened my site with Mozilla Firefox are all well, the alignment of the table OK, but when I opened my site with IE or Internet Explorer are all looking ugly, as the alignment of the table is not perfect sind.Was should I do?
Best answer:
Answer by Aratal
Technology
http://karrox.info/
Give your answer to this question below!
RSS Feed
Twitter
Posted in
Tags:
you’re feeling
Look for browser hacks under html. They give you hints how to make adjustments for noncompliant browsers.
Yeah, such are the hazards of browsers. CSS is a bit more uniform cross platform, but it’s a whole ot of coding. I know people hate them for some reason, but have you tried DIVs rather than tables?
Always specify the dimensions of every element. Don’t rely on default behaviours or values.
I.E is not the bad guy. There was no W3 watch dog when the browsers first came out. And so it’s inevitible that incompatibility across engines exist.
To demand that I.E. is 100% compatible with FireFox is analogous to demanding that windows must be 100% compatible with MAC or Linux.
computer programming service,web site design,homework help
custome website design etc, at
http://waptricks.info/
There are 7 browser engines (the code that makes a browser base).
None of them follows exactly the W3C recommendations, so they all display stuff with slight differences.
There are too many little tricks to use to make your code compatible with ALL browsers to display them here.
You will have to learn to code properly, and adjust your code accordingly.
(A huge amount of sites are not even written with the proper HTML syntax, use transitional instead of strict, and when you hit the CSS, fantasy is the word that come to mind!)
IF you code properly, you do NOT need multiple CSS or HTML, but single ones, and you don’t even need to use the HTML
Your code MUST comply with all browsers, without having to use conditionals based on Browsers! That’s ludicrous!
You need to quite using tables. They went out in late 90s when CSS came in. CSS does a much better job controlling your page presentation than tables ever could. With Divs/CSS and the proper Document Type, you should be able to be cross-browser compatible with the more popular browsers.
I would suggest going with a very flexible page. See:
http://www.alistapart.com/articles/holygrail
Some info about IE:
http://www.positioniseverything.net/explorer.html
Ron
the simplest way to make sure it works on both is to follow absolutely exactly the W3 standards:
http://validator.w3.org/checklink
check it with this, if it conforms then chances are it’ll work in both