Ah, didn't see that - your right, « is an html character and
can be used in XHTML *if* you include an entity reference - just like
.
However, I might suggest that this should be removed from the
mainBar, since the chances of someone importing the entity reference
is slim. For instance, if you wanted to make an XHTML page that
would recognize all of the HTML special entities, you would need to
add this to the top of each page:
================================================
<!ENTITY % xhtml-lat1 SYSTEM
"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
<!ENTITY % xhtml-special SYSTEM
"http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent">
<!ENTITY % xhtml-symbol SYSTEM
"http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent">
=================================================
(entity definition reference: http://www.w3.org/TR/xhtml1/#h-A2 )
So while these entities are part of the XHTML specification, an
author cannot use them without declaring them... if only to make our
lives just that much more difficult....
--ee
On Sep 26, 2005, at 8:53 PM, Thomas M. Duffey wrote:
Hi Eric,
On Sep 26, 2005, at 8:46 PM, Eric Everman wrote:
<span onmousedown="mgnlShiftPushButtonDown(this);"
onmouseout="mgnlShiftPushButtonOut(this);"
onclick="mgnlShiftPushButtonClick(this);mgnlPreview(true);"
class="mgnlControlButton" style="background:transparent;">
« Preview
</span>
I guessing that '« Preview' was supposed to be '
Preview'. And of course, even if it were , it wouldn't work
in xhtml. Could this just be removed and replaced with css padding?
The "laquo" entity is the left double bracket character. Here's a
good XHTML character entity reference:
http://www.digitalmediaminute.com/reference/entity/
- Tom
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------