Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Web Browser Problem, Same code, different looks

views
     
TSxy2610
post Feb 13 2006, 11:14 AM, updated 20y ago

Bachelor of Lostology (Hons)
******
Senior Member
1,566 posts

Joined: Apr 2005


Hi, guys
I was trying to build a website for myself
I tested the pages on Firefox and everything working fine
But when I test them in IE, almost everything goes all over the places
After I fixed that with the help of Javascript and two CSS file solely dedicated to both IE and Firefox
I tested the pages on Camino for Mac to show off my site to my frens but the same problem occurs again, shakehead.gif
Is there any way to ensure the web pages appear consistent across different browsers?
Your help would be greatly appreciated
seecs
post Feb 13 2006, 11:20 AM

First time 5 stars !!!
*****
Senior Member
967 posts

Joined: Jan 2003
From: Kuala Lumpur



Internet Explorer and FireFox are using different engine. It normal that the web page layout will have a bit different

This post has been edited by seecs: Feb 13 2006, 01:53 PM
shinchan^^
post Feb 13 2006, 12:25 PM

K66
*********
All Stars
21,256 posts

Joined: Jan 2003
From: Pekopon


better prior to IE users first
silverhawk
post Feb 13 2006, 04:03 PM

Eyes on Target
Group Icon
Elite
4,956 posts

Joined: Jan 2003


There are ways, though explaining them all to you would take a rather long time. Just stick with standard xHTML and CSS. Try to avoid doing stuff that is too fancy. At first i was like you too, firefox would look fine then IE would look like someone just bombed the website.

After sometime you will get the experience and find out how to make both look the same with just one CSS file. To do fancy stuff however you will normally need to use work-arounds (aka Hacks) which will only affect a particular browser.

Google around for "CSS compatibility hacks"
lighching
post Feb 14 2006, 10:26 AM

Regular
******
Senior Member
1,348 posts

Joined: Nov 2004
From: Red Planet. NeverLand Area 7
add this code and try on IE again.
QUOTE
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
silverhawk
post Feb 14 2006, 01:39 PM

Eyes on Target
Group Icon
Elite
4,956 posts

Joined: Jan 2003


QUOTE(lighching @ Feb 14 2006, 10:26 AM)
add this code and try on IE again.
and mind explaining how that is going to help?


SincerePrayer
post Feb 14 2006, 02:21 PM

love to pray
Group Icon
Elite
1,120 posts

Joined: Jun 2005
xy2610,


The two main web browsers have different engine and their very own enhancements.

For instance, only IE support VBScript. Their layer design coding method also differ. So far, there is not fast and single rule to settle this. I might be wrong. tongue.gif


Happy Coding smile.gif
TSxy2610
post Feb 15 2006, 04:08 PM

Bachelor of Lostology (Hons)
******
Senior Member
1,566 posts

Joined: Apr 2005


The hacks sound amazing
But really thanks for your helps, guys

 

Change to:
| Lo-Fi Version
0.0161sec    0.63    5 queries    GZIP Disabled
Time is now: 23rd December 2025 - 09:15 AM