HighDots Forums  

How to put in subscript and superscript characters

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How to put in subscript and superscript characters in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
RockingChairman
 
Posts: n/a

Default How to put in subscript and superscript characters - 07-10-2008 , 04:31 AM






Hi:
Does anyone know how to insert subscript and superscript characters into
Dreamweaver. I am doing a site for an engineering/manufacturing firm and I am
trying to create a subscript 2 like one would see in H2O. The "2" should be
small and lower than the "H" and the "O". I've tried creating one in WORD and
cutting and pasting but that will not work and when I use the <sub>2</sub> code
that does not seem ideal as it tends to slightly push down the line below once
the character is in and I don't feel like changing the line spacing on the
entire site. The other thing I can't seem to do is make a tiny "Registered" ®
character. Simply cutting and pasting from WORD, the small superscripted symbol
gets made into a large ® once I paste it in. Can anyone assist?


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: How to put in subscript and superscript characters - 07-10-2008 , 07:07 AM






Add this to your CSS -

sub { position: relative; bottom: 0; left:.2ex; font-size: 80%;}

Then use the <sub> tag.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"RockingChairman" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi:
Does anyone know how to insert subscript and superscript characters into
Dreamweaver. I am doing a site for an engineering/manufacturing firm and I
am
trying to create a subscript 2 like one would see in H2O. The "2" should
be
small and lower than the "H" and the "O". I've tried creating one in WORD
and
cutting and pasting but that will not work and when I use the <sub>2</sub
code
that does not seem ideal as it tends to slightly push down the line below
once
the character is in and I don't feel like changing the line spacing on the
entire site. The other thing I can't seem to do is make a tiny
"Registered" ®
character. Simply cutting and pasting from WORD, the small superscripted
symbol
gets made into a large ® once I paste it in. Can anyone assist?



Reply With Quote
  #3  
Old   
Walt F. Schaefer
 
Posts: n/a

Default Re: How to put in subscript and superscript characters - 07-10-2008 , 09:57 PM



What Murray said + NEVER rely on Word for formatting. Bring only plain,
unformatted text into DW and they use CSS to make it look the way you want.
I usually paste Word text into NotePad first to strip everything out, then
copy & paste into my HTML page in DW.

--

Walt


"RockingChairman" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi:
Does anyone know how to insert subscript and superscript characters into
Dreamweaver. I am doing a site for an engineering/manufacturing firm and I
am
trying to create a subscript 2 like one would see in H2O. The "2" should
be
small and lower than the "H" and the "O". I've tried creating one in WORD
and
cutting and pasting but that will not work and when I use the <sub>2</sub
code
that does not seem ideal as it tends to slightly push down the line below
once
the character is in and I don't feel like changing the line spacing on the
entire site. The other thing I can't seem to do is make a tiny
"Registered" ®
character. Simply cutting and pasting from WORD, the small superscripted
symbol
gets made into a large ® once I paste it in. Can anyone assist?




Reply With Quote
  #4  
Old   
Ruby Rouge
 
Posts: n/a

Default Re: How to put in subscript and superscript characters - 07-22-2008 , 06:54 PM



http://www.uwec.edu/HELP/Dreamweaver8/b-addcharfrmt.htm

No doubt the CSS styling is better. You can place your sub/super script
wherever you want. But if you just want a quick fix go to the URL above and
use an HTML tag. Sadly the spacing is a bit unattractive but if you are not
familiar with CSS it is much better


Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.