Re: Re: Need a hint how to track an error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Al Rider wrote:
> The key word in my assertion "Make your code W3C compatible and it'll
> work on all modern browsers." is "modern". I've never had a browser
> incompatibly with IE7, Netscape browsers, etc. 

very good. here in the real world IE6 still makes up a very significant number
of browser in daily use.

your assertion also doesn't cover CSS compatibility amonst 'modern'
browsers (note: the box model is still broken in IE7 with the added bonus
that the hacks that previously allowed people to work around it have been
'fixed')

validation is the first step to cross-browser capatibility not the last
and not the only, imho.

> 
> The other thing I've been doing lately is to conform to XHTML 1.0
> strict.  It's no significant extra effort and a good habit to develop
> good practice.
> 
> Al...............
> 
> 
> Jochem Maas wrote:
>> Al wrote:
>>   
>>> Install the Firefox extension "HTML Validator". It does a real time Tidy
>>> check for every page.
>>>     
>>
>> good advice.
>>
>>   
>>> Make your code W3C compatible and it'll work on all modern browsers.
>>>     
>>
>> less good advice. I agree you should be doing everything to make your code
>> validate 100% BUT having 100% valid code doesn't garantee jack about it
>> working on all browsers.
>>
>> that said not having 100% validated HTML means you have nothing to
>> base anything on ... so the only sane option is to validate and then
>> work out any problems you have from that point.
>>
>> And Al does implie an important point, namely that most errors will indeed
>> never surface when your HTML validates.
>>
>>   
>>> Ronald Wiplinger wrote:
>>>     
>>>> My php program is working with Firefox, but not with Internet Explorer.
>>>>
>>>> I cannot see anything I did wrong, like forgotten " or >   where Firefox
>>>> is more forgiving than IE.
>>>>
>>>> I used the error console from Firefox combined with a lynx output to see
>>>> what line it is.
>>>>
>>>> The error output in IE is:
>>>>
>>>> Line: 2
>>>> Char: 104
>>>> Error: Object doesn't support this property or method
>>>> Code: 0
>>>> URL:  http://xxx.xxx.xx/mypage.php
>>>>
>>>>
>>>> In Firefox:
>>>> Line 225
>>>> Field has no properties
>>>> http://xxx.xxx.xx/mypage.php
>>>>
>>>>
>>>> Not even the same line!!!  Line 114 ~ 250 is a long comment!
>>>>
>>>> Is there a tool to find the problem?
>>>>
>>>> bye
>>>>
>>>> Ronald
>>>>
>>>>       
>>
>>
>>   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux