homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Superscript using vertical-align

 6:30 am on May 10, 2011 (gmt 0)

I have code like:



How to set with CSS this specification?



 2:15 pm on May 10, 2011 (gmt 0)

vertical-align:super; is the same as <sup>.


 1:47 am on May 11, 2011 (gmt 0)

^Didn't know about this. Great info!


 12:13 pm on May 11, 2011 (gmt 0)

Just recalling vertical-align and <sup> are not exactly the same: <sup> has a default computed font-size of about 0.8em, so a smaller font-size needs to be set if using vertical-align instead.

@rahulparekh - Welcome to WebmasterWorld :)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved