Why is it underlining all my closed tags? (Full Version)

All Forums >> [Web Development] >> Expression Web Help



Message


RickP -> Why is it underlining all my closed tags? (3/2/2007 10:15:34)

I am creating a page using XHTML 1.0 Strict. My image tags and meta-tags are closed accordingly and the page validates fine but EW has underlined all such lines in red and informs me that:

quote:

"this element is not allowed to be closed in the current schema etc. remove closing slash"


Why? Is this a bug - am I missing something - can someone make it stop please![:@]




Reflect -> RE: Why is it underlining all my closed tags? (3/2/2007 11:03:45)

Can you post a snippet of code it is doing this with?

Take care,

Brian




coreybryant -> RE: Why is it underlining all my closed tags? (3/2/2007 11:13:43)

Are you using
"/>
or
" />




RickP -> RE: Why is it underlining all my closed tags? (3/2/2007 14:27:19)

Attached image gives screen-shot of relevant code and EW underlining

[image]local://upfiles/13862/61B20B63A265448F8977CC816055874C.gif[/image]




jaybee -> RE: Why is it underlining all my closed tags? (3/2/2007 18:50:07)

I think it's that line at the top <xml

get rid of it.

I get some odd errors on my pages as well but it's because I'm using php includes so it thinks I have tags missing.




RickP -> RE: Why is it underlining all my closed tags? (3/3/2007 9:58:39)

Yep, that did it Jaybee. That line of code was copied from the W3C as part of a strict xhtml template. Seems fine without though and no more squiggly red underlining!




jaybee -> RE: Why is it underlining all my closed tags? (3/3/2007 10:18:46)

Use these...

http://alistapart.com/stories/doctype/





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875