Jump to content

Condensing Text

Recommended Posts

Hello experts. Does anyone know the correct code for condensing the width of styled text within a cell or table? I've exhausted my search on w3schools, with no results. Note, the "width" property works for images, not text. What are my options?Thanks in advance

Link to post
Share on other sites

Assuming you do not want to change the font size, the options are not good.The CSS3 font-stretch property will do what you want, but it is not yet supported by any current browser that I know of. I am certain it is not supported yet by Firefox, so that alone probably kills the option.Using negative values for the CSS letter-spacing and word-spacing properties might get you somewhere, but as you can guess, the rules apply only to the spaces. Character widths are not changed, so the results usually look "squashed."

Edited by Deirdre's Dad
Link to post
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.

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...