On 05/15/2010 06:54 AM, shapper wrote:
> But wouldn't be possible to have Fancy Box completely validated
> without hacks?
It is stupid Internet Explorer that is requiring the "hacks". And
perhaps the validators that aren't quite smart enough.
> I really like Fancy Box but I need to have its CSS validated.
> I tried many alternatives and I ended up concluding that Fancy Box is
> the best one.
>
> Is there, maybe another simpler CSS version that I can work on?
The suggestion you were given is pretty simple. Just split the CSS file
into two, one with the MS crap and one without. Instead of loading the
just one file, load the MS stuff with a conditional, as
Janis suggested. I think he should probably package it that way, but
then SOMEONE would complain about having to put conditional comments in
their file.
> On May 14, 11:39 am, Janis<
janis.skarne...@gmail.com> wrote:
>> Well, you can move these IE specific lines to another CSS file and
>> include it using conditional comments, e.g.:
>> <!--[if IE]>
>> <link rel="stylesheet" type="text/css" href="..." />
>> <![endif]-->
>>
>> Janis