Jump to content

Superscripts in Product Description


Guest hlfunk

Recommended Posts

Using the SUP tag creates unequally spaced lines. I have used the following work-around for the text in Product Descriptions. I added this code to the beginning of the

<!--

sup {

font-size: 0.9em;

font-weight: normal;

vertical-align: text-top;

line-height: 12px;

--></style>

Depending upon the font type and size you may need to make some adjustments. The only reason I have used the line-height directive is to have correct fucntioning with the Opera browser. Most browsers inherit the line-height for this code, Opera does not. You can see how it works at this live store.

I hope this is helpful.

HLF

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...