Expression web botching includes...

0 views
Skip to first unread message

Leighj

unread,
Jan 18, 2008, 12:37:49 PM1/18/08
to by-expression-web-designer
Granted EW only supports the old FP includes in the background but I
have a VERY interesting problem.

I have an include with an unordered list (this is the WHOLE body sans
spaces and it is valid XHTML
<ul class="nav">
<li class="first"><a href="page.htm">Page</a></li>
<li><a href="page.htm">Page</a></li>
<li><a href="page.htm">Page</a></li>
</ul>

When included the the code turns in the resulting page becomes
<ul class="nav">
<li><a href="page.htm">Page</a></li>
<li><a href="page.htm">Page</a></li>
<li><a href="page.htm">Page</a></li>
</ul>
EW strips out the class="first" in the first list item (support for
the :first pseudo class is iffy which is why I went this way)

I've tried other class names and even different attributes
(style="bla", sss="aaa") and ALL get stripped out.

This below works...
<ul class="nav">
<li ><a class="first" href="page.htm">Page</a></li>
<li><a href="page.htm">Page</a></li>
<li><a href="page.htm">Page</a></li>
</ul>

But it's really isn't the best way to do this the way I want to. Any
reason why EW would be doing this to me?

Leigh

Reply all
Reply to author
Forward
0 new messages