[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: Re: [Quanta] vpl-view not working with <!--[if lt IE 7]> ?
From: Andras Mantia <amantia () kde ! org>
Date: 2006-02-13 18:42:38
Message-ID: 200602132042.38639.amantia () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Monday 13 February 2006 19:12, Alan Richmond wrote:
> On Monday 13 February 2006 08:42 am, Daniel Bauer wrote:
> > appendix to last mail...:
> > > > --------- piece of code: ---------
> > > > <!--[if lt IE 7]>
> > > > <link rel="stylesheet" href="css/schrott.css"
> > > > type="text/css"> <![endif]-->
> > > > --------------------------------------------
> >
> > I just found out, that if I put the "!" to the other side of
> > "endif" ("<[endif]!-->" instead of "<![endif]-->") then the page
> > shows up in VPL. So Quanta seems not to recognise the
> > "end-comment-tag" in this form.
>
> It looks loke Quanta not seeing the closing "]>" and is interpreting
> the "<! [endif]-->" as a DTD block, leaving it seeing one more
> opening marker, "<!--", than it has closing markers so everything
> after the "<!--" gets commented out.
Yes, you are right (see my mail as well). And because this, there is a
workaround as well, which I think should work in Quanta and the
browsers as well:
<!--[if lt IE 7]>
<link rel="stylesheet" href="css/schrott.css" type="text/css">
<![endif]> -->
>
> That sounds totally confusing, take a look in the Document Structure
> view.
Yes, as I said the Document Structure is a good tool also to see when
something is parsed wrongly by Quanta, not only to debug your XML.
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
[Attachment #5 (application/pgp-signature)]
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic