KristenPie
04-16-2008, 02:40 PM
Hi there. I have an unordered list in which there are some dates. I want to put the "st" and "th" in superscript, but XHTML transitional doesn't allow the <sup> tag.
<ul>June 29<sup>th</sup> through September 1<sup>st</sup> 2008
<li class="indent">One month rental $12,300.00</li>
<li class="indent">Two week rental $6,500.00</li>
</ul>
So I switched to <span> tags and added some CSS, but XHTML transitional doesn't allow them in lists.
<ul>June 29<span class="sup">th</span> through September 1<span class="sup">st</span> 2008
<li class="indent">One month rental $12,300.00</li>
<li class="indent">Two week rental $6,500.00</li>
</ul>
Do any of you know other alternatives?
<ul>June 29<sup>th</sup> through September 1<sup>st</sup> 2008
<li class="indent">One month rental $12,300.00</li>
<li class="indent">Two week rental $6,500.00</li>
</ul>
So I switched to <span> tags and added some CSS, but XHTML transitional doesn't allow them in lists.
<ul>June 29<span class="sup">th</span> through September 1<span class="sup">st</span> 2008
<li class="indent">One month rental $12,300.00</li>
<li class="indent">Two week rental $6,500.00</li>
</ul>
Do any of you know other alternatives?