Forum Moderators: open

Message Too Old, No Replies

Wierd table display error in Mozilla

Connected with "invalid comment syntax"?

         

ytswy

11:53 am on Jul 10, 2002 (gmt 0)

10+ Year Member



Hi everyone. This is a great site, I've learnt a lot from lurking around here.

I've got a problem with some of my pages in Mozilla 1.0 (Mac version) with the site in my profile. I have a number of product lists which I generate from supplier spreadsheets using an Excel Macro and then feed into DreamWeaver 4 as library items.

The problem is some of them (all the ones done by one macro) completely mess up in Mozilla - to the extent of throwing my main (table based) layout off.

Doesn't happen in any other browser I've checked with so maybe its a Mozilla error not mine. The weird thing is putting my pages through the w3c validator throws an "invalid comment error" for these library items (they are in the usual DW library format, with the comment name being j--x where x is a number or letter). This confuses me, I can't work out how a comment can be invalid, but I'm wondering if its connected.

Mozilla is obviously not very important in the scheme of things, but I'm woried that, if its not a Mozilla bug, it might be that old browsers are compensating for a mistake of mine and new browsers might start doing the same problem.

If anyone is interested, the best place to see this in action is at www.siteinmyprofile/a-c/anyfile except index.html

any comments, help, etc. very greatfuly received...

papabaer

12:12 pm on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello ytswy, welcome to Webmaster World!

I believe what may be happening is the Mozilla (and the W3C Validator) are expecting the DWT comments to close after the two en-dashes: <!-- #BeginLibraryItem "/Library/j--24.lbi" --><table class=" :::: It is a parsing error.

Example: j--24.lbi /* W3C & Moz expect the comment to close j-->

ytswy

1:15 pm on Jul 10, 2002 (gmt 0)

10+ Year Member



Thankyou Papabaer!

That was the problem, easy to fix, everything now works perfectly...

Sincere thanks