PDA

View Full Version : Internet Explorer/FireFox Browser


Alegrio
04-22-2006, 12:58 AM
How does one prepare a page that views correctly in both browsers.
I found this page on my site:
http://www.beauty-and-the-bath.com/Makeovers.html
Viewing in Firefox is a nightmare page.

I am going to redo this page, but could anyone highlight on how this happens and how to avoid?

May I also ask what browser and version you suggest setting pages on when creating a template?

Thank you

Alegrio

davidj
04-22-2006, 12:06 PM
its a web developers headache

different browsers render code differently so you have to take this into account when designing sites. Testing as you go

these stats are taken from a web dev site and gives an idea what people are using.

This is a web tech site so the info reflects the type of people hitting the site. it also means that it projects a narrow picture not a global one

the browsers used by joe average on average_site.com would different. Most surfers just use the browser that came with their O/S and have no interest in changing

2006 March

IE7 >>>>>>>>>>>>> 0.6%
IE6 >>>>>>>>>>>>> 58.8%
IE5 >>>>>>>>>>>>> 5.3%
Ffox >>>>>>>>>>>> 24.5%
Moz >>>>>>>>>>>>>2.4%
Netscape >>>>>>>>> 0.5%
Opera >>>>>>>>>>> 1.5%

desertdirk
04-23-2006, 02:15 AM
Most material I have read, suggest coding for the compliant browsers, which is almost all except IE, the make the hacks as necessary to accomidate IE.
DD

Alegrio
04-23-2006, 07:15 AM
This is as impossible as three different men.
Why is there just not one universal standard,
{for the browsers, not the men?}
Thankyou for the feedback....

Alegrio

dthomsen8
04-23-2006, 01:54 PM
This is as impossible as three different men.
Why is there just not one universal standard,
{for the browsers, not the men?}
Thankyou for the feedback....

Alegrio

Ah, but there is one universal standard, specified for CSS at http://www. w3.org but the problem is that Microsoft has other priorities. Other browser companies are, in general, better than IE6 for CSS standards compliance, but none, as far as I know, are fully compliant.

Hence, as mentioned by others, hacks are needed for good results in specific cases. See "CSS Hacks & Filters, Making Cascading Style Sheets Work" by Joseph W. Lowery, Wiley books, gives lots of information on hacks.

Beyond that, any particular web site may fail on any particular browser due to mistakes by the developer.

Creative Insanity
04-23-2006, 09:44 PM
Ok I see you have your doc type as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
If you were to change it to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
You will find 99.9% of your problems go bye bye.

Alegrio
04-24-2006, 02:49 PM
Hello,
Thank you for your help,
This issue is currently wrecking havoc and stopping work on three of my sites, If I try any kind of hack, regarding this page for example:

http://www.yourbabytoday.com/whispering-baby-names/

I recieve this from the designer:
"Hi Tanna,
The markup on that page is totally corrupted. Looks like someone's
been playing in the code. Your best bet is to regenerate a clean page
using the Page Pack interface and carefully enter your content. It is
rather a miracle it displays in any browser."

This page needs to be published,{I have since taken the original down} and then is copied by SON, who adds the syndicate content.
There will be all of the pages generated off the main page as well.
I have asked them to remove the Family History Affiliate code and the <<NAVBAR>> code from bottom left side, other than that I do not know how to fix this page....
:cry:

* I will obtain copy of book
*Changed code
Thank you