The encoding of the ampersands (&) was right.

There are only two possibilities for it to ve a valid XHTML document:

* Encode any ampersand (&) by its entity reference (&)

<style
 type="text/css">@import "
http://origin-www.wikia.com/index.php?title=User:Uberfuzzy/global.css&amp;action=raw&amp;ctype=text/css&amp;smaxage=18000";@import
"
http://origin-www.wikia.com/index.php?title=MediaWiki:Global.css&amp;action=raw&amp;ctype=text/css&amp;smaxage=18000";;</style>

* Put the CSS style rules into a CDATA section. In this case the
ampersands MUST NOT be replaced by its entity reference.

<style
 type="text/css">/*<![CDATA[*/ @import "
http://origin-www.wikia.com/index.php?title=User:Uberfuzzy/global.css&action=raw&ctype=text/css&smaxage=18000";@import
"
http://origin-www.wikia.com/index.php?title=MediaWiki:Global.css&action=raw&ctype=text/css&smaxage=18000";;
/*]]>*/</style>



Choose either of two, but the actual code is wrong. It works, but is
wrong, and some browsers may complain about this.


Also, you should check the W3C HTML validator
<http://validator.w3.org/> to fix the large amount of HTML errors
(this error is shown there, so checking it periodically is a good
practice). Also fixing the CSS errors should be done.


2007/10/17, Chris Stafford wrote:
> actually, yes, it looks working great now! goodwork and thank you. and
> globals are loading again too!
>
> just a note, if you want to keep the code xhtml happy,
>
> <style
>  type="text/css">@import "
> http://origin-www.wikia.com/index.php?title=User:Uberfuzzy/global.css&action=raw&ctype=text/css&smaxage=18000";@import
> "
> http://origin-www.wikia.com/index.php?title=MediaWiki:Global.css&action=raw&ctype=text/css&smaxage=18000";;</style>
>
>
> needs to have a
> /*<![CDATA[*/ at the start
> and a /*]]>*/ at the end
>
> _______________________________________________
> Wikia-l mailing list
> [email protected]
> http://lists.wikia.com/mailman/listinfo/wikia-l
>
>
_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l

Reply via email to