Website Coding Stuck on a line of code? Find resources and ask your virtual assistant website programming questions here.
Forum Sponsor (Advertise with us)
Reply
 
Thread Tools Display Modes
    #1 (permalink)  
Old 07-05-2009
Junior Member
Company name: Offsite Office Professionals, LLC
 
Join Date: Dec 2008
Posts: 294
Blog Entries: 2
Default Adding superscripts in CSS website
I've built my website using a CSS template and I need to add superscripts. I tried using <sup> </sup> in the text file but this doesn't seem to work so I'm assuming I need to do something on the stylesheet. Any ideas?
__________________
Jenny McKinney
http://www.offsiteofficepro.com
Reply With Quote
    #2 (permalink)  
Old 07-05-2009
Business-Bytes's Avatar
Resident Member
Company name: SunRise Virtual Solutions
 
Join Date: Jun 2009
Location: Iowa
Posts: 1,045
Blog Entries: 1
Send a message via Skype™ to Business-Bytes
Default Re: Adding superscripts in CSS website
Originally Posted by Offsite Office Professionals View Post
I've built my website using a CSS template and I need to add superscripts. I tried using <sup> </sup> in the text file but this doesn't seem to work so I'm assuming I need to do something on the stylesheet. Any ideas?
In your HTML try adding a span class surrounding what you want superscripted:
<p>E=mc<span class="superscript">2</span></p>

And in the CSS: .superscript {vertical-align: super; }

HTH a bit,
__________________
Jules, SunRise Virtual Solutions - WordPress Customization & XHTML/CSS Web Sites
Reply With Quote
    #3 (permalink)  
Old 07-05-2009
Junior Member
Company name: Offsite Office Professionals, LLC
 
Join Date: Dec 2008
Posts: 294
Blog Entries: 2
Default Re: Adding superscripts in CSS website
Thanks, Jules, it worked! I really need to learn more about CSS and HTML.
__________________
Jenny McKinney
http://www.offsiteofficepro.com
Reply With Quote
    #4 (permalink)  
Old 07-05-2009
Business-Bytes's Avatar
Resident Member
Company name: SunRise Virtual Solutions
 
Join Date: Jun 2009
Location: Iowa
Posts: 1,045
Blog Entries: 1
Send a message via Skype™ to Business-Bytes
Default Re: Adding superscripts in CSS website
Originally Posted by Offsite Office Professionals View Post
Thanks, Jules, it worked! I really need to learn more about CSS and HTML.
You are very welcome; I'm so glad I could help! There is so much to learn about X/HTML and CSS that it boggles the mind.

About 3 years ago I got back into "web stuff" after almost a 10 year absence - wow! how things had changed. "What the heck is this CSS stuff?!" And "No tables for layout?!" Well 3 years later and it makes sense. It is so much fun, though (well, except for when IE doesn't follow the standards and causes me to pull my hair out )!
__________________
Jules, SunRise Virtual Solutions - WordPress Customization & XHTML/CSS Web Sites
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Question] Adding a client log in to website? kkeastridge General Website Design and Development 4 04-19-2009 02:41 PM
[Question] Adding Audio/MP3 to Website Amy Bleser Website Coding 8 12-19-2008 05:54 PM
Adding blog content to my website D_Victoria_Virtual_Assistance Blogging 3 10-09-2008 04:33 PM
Adding calculator to website slimthick2001 Forum FAQ and Feedback 3 01-16-2008 03:40 PM


All times are GMT -4. The time now is 10:48 PM.

International Virtual Assistants Association
Project Management for Virtual Assistants
Virtual Assistant Forums Advertising
Virtual Assistant Directory
Create a Professional New Client Welcome Packet
Virtual Assistant Forums Advertising
Virtual Assistant Contracts
Virtual Assistant Services
Affordable Website Hosting
Work from Home | Become A Virtual Assistant
Affordable Logo Design
Virtual Assistant Forums Advertising
Small Business Resources

© Virtual Assistant Forums 2012
All content and images are protected under copyright law and may not be reproduced in any way without express written consent.