Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-21-2010, 03:11 AM   PM User | #1
djh101
Regular Coder

 
djh101's Avatar
 
Join Date: May 2009
Location: Santa Clarita
Posts: 607
Thanks: 48
Thanked 63 Times in 63 Posts
djh101 is an unknown quantity at this point
Small Letters in Chemical Equations

Never had to ask an HTML/CSS question before, but not sure about this. How can I get the numbers in a chemical equation to be lower down than the letters (like the 2 in CH2O here http://en.wikipedia.org/wiki/Formaldehyde).
djh101 is offline   Reply With Quote
Old 05-21-2010, 03:21 AM   PM User | #2
seco
Regular Coder

 
seco's Avatar
 
Join Date: Nov 2008
Location: Oregon
Posts: 682
Thanks: 5
Thanked 79 Times in 77 Posts
seco has a little shameless behaviour in the past
sup and sub


Code:
CH<sub>2</sub>O


Code:
E=MC<sup>2</sup>

You want to use sub for chemicals
Code:
CH<sub>3</sub>OH → H<sub>2</sub>CO + H<sub>2</sub>

Last edited by seco; 05-21-2010 at 03:26 AM..
seco is offline   Reply With Quote
Old 05-21-2010, 03:41 AM   PM User | #3
djh101
Regular Coder

 
djh101's Avatar
 
Join Date: May 2009
Location: Santa Clarita
Posts: 607
Thanks: 48
Thanked 63 Times in 63 Posts
djh101 is an unknown quantity at this point
Ahh, thank you very much.
djh101 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:18 AM.


Advertisement
Log in to turn off these ads.