Wow...and I thought that this was a simple fix ;-)
I'm of the validation persuasion, because I lack the "theory" behind CSS
and HTML. By validating my code, which I learned I need to do from this
list, I have a foundation to fix the display behavior. This PNG fix
only affected IE browsers below version 6. I tried a new fix for
appwoodcraft.com because I thought it was better than my previous fix.
So to fix the validation issue, I took the "behavior" code out of my CSS
and went back to the JS fix from before.
Personally, I like:
- web standards
- one style sheet
- limited javascript
- and those neat looking W3C validation icons
When I stay with the above, it keeps a simple man on the straight and
narrow (speaking from a web development perspective).
Again thank you for all the help. I appreciate the wisdom even if it
causes me more time in research.
Duane Nelson
On 6/21/2010 6:06 PM, Thierry Koblentz wrote:
>> Duane Nelson wrote:
>>
>>> I'm using the following to fix a PNG display bug in<ie6:
>>>
>>> /* PGN Fix for<IE6 */
>>> img, div {
>>> behavior: url(../scripts/htc/iepngfix.htc)
>>> }
>>>
>>> But it causes the css to ot validate. Is there a way I can do this
>>>
>> to get my CSS to validate?
>>
>>> Thanks,
>>>
>>> Duane Nelson
>>>
>>
>> try:
>>
>> * html img,
>> * html div {
>> behavior: url(../scripts/htc/iepngfix.htc)
>> } /* targets IE/6.0 */
>>
>
> Hi David,
>
> I'm afraid that won't hide the proprietary property from the parser.
>
>
> --
> Regards,
> Thierry
> www.tjkdesign.com | www.ez-css.org | @thierrykoblentz
>
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/