Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Browser Side
/
CSS
12:35 pm Jul 2, 2026
This page requires javascript.
Forum Moderators:
not2easy
Message Too Old, No Replies
Superscript using vertical-align
toplisek
Msg#:4310228
6:30 am on May 10, 2011
(gmt 0)
I have code like:
[PHP]
2m<sup>2</sup>20m<sup>2
[/PHP]
How to set with CSS this specification?
rainborick
Msg#:4310341
2:15 pm on May 10, 2011
(gmt 0)
vertical-align:super; is the same as <sup>.
rahulparekh
Msg#:4310617
1:47 am on May 11, 2011
(gmt 0)
^Didn't know about this. Great info!
alt131
Msg#:4310732
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 :)
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Jun
,
May
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
June 2026 Google Search Observations
AdSense Earnings and Observations - June 2026
July 2026 Google Search Observations
Do anything special today?
AdSense Earnings and Observations - July 2026
Good Bye AdWords - or whatever you call it these days
Interesting set of hits using forged searchbot User Agents
Home
Forums Index
Browser Side
/
CSS
12:35 pm Jul 2, 2026