[Xerte] sub/super script?

Dave Burnett d_b_burnett at hotmail.com
Fri Nov 13 00:54:47 GMT 2009


Sweet.
I'll try it out first a.m.

Armed with todays 2 nuggets, should make text control lot's easier.
:)

Dave

Subject: RE: [Xerte] sub/super script?
Date: Thu, 12 Nov 2009 15:33:18 -0800
From: Paul.Swanson at harlandfs.com
To: xerte at lists.nottingham.ac.uk



















Hey Dave, I think I found a solution. Did some Googling, and
found that if you add display:inline to your red tag CSS, it should keep it all
on one line. I tested it, and it worked!

 







From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Thursday, November 12, 2009 2:55 PM

To: Xerte list

Subject: RE: [Xerte] sub/super script?





 

Cheers Paul.



Could create a more specific class, but what if I have (as shown) a word midway
through the sentence I want to style?



The standard tags <B></B> for instance function as expected when
nested inside a selector.



It's only when I nest a self-defined selector inside another I get that line
feed.

It is being styled as expected, but that line feed appears.

:-/



I could also have left it as regular font tags, but I've got 30+ modules to
deal with and I'd much rather have a single point of style control for them
all. :-)













Subject: RE: [Xerte] sub/super script?

Date: Thu, 12 Nov 2009 14:15:59 -0800

From: Paul.Swanson at harlandfs.com

To: xerte at lists.nottingham.ac.uk



I use <font color=”red”><u>underlined
red text</u></font> which seems to work fine. It’s not CSS,
though. Have you tried creating a combined style:

 

redBold {color: #ff0000; font-weight: bold;}

 

I learned something from you … I didn’t realize you
could create your own tags in that way. I was disappointed that the Flash
player didn’t support the <span> tag, as that is an easy way to
apply a style class. Being able to create your own tag accomplishes much the
same thing as defining a class.

 

Cheers

 







From:
xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk]
On Behalf Of Dave Burnett

Sent: Thursday, November 12, 2009 1:47 PM

To: Xerte list

Subject: RE: [Xerte] sub/super script?





 

Thanks Paul.



Another CSS for dummies question.



It seems if I nest selectors, it creates a line feed:



<ss16_text>The number of protons in the nucleus determines the
<red><B>atomic number</B></red> and name of an element.
<BR><BR>Since there are over 100 known elements, chemists have
developed a system by which each element is represented by a symbol.
</ss16_text>



Appears as 



The number of protons in the nucleus determines the atomic
number

and name of an element.



If I take out the <red> selector, it acts as expected.



??





















Subject: RE: [Xerte] sub/super script?

Date: Thu, 12 Nov 2009 10:06:01 -0800

From: Paul.Swanson at harlandfs.com

To: xerte at lists.nottingham.ac.uk



I haven’t tried this myself, but there is an apparent
solution. There is a company that has developed both superscript and a
subscript fonts. Not free, but pretty cheap ($9.90 US for each). You would have
to embed the fonts in Xerte, since the end user wouldn’t normally have
them on their system.

 

The website is http://superscriptfont.com/

 

There are examples of how you would use them on their website.

 

Personally, I’ve only needed to use the trademark and
registered trademark symbols, and I’ve just used a smaller font size and
let it be in-line with the rest of the text.

 

Paul

 







From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney

Sent: Thursday, November 12, 2009 9:51 AM

To: Xerte discussion list

Subject: RE: [Xerte] sub/super script?





 

Don’t get me started on sub / super script.

 

The Flash Player does not support it and it is a real big
problem when you work for University.

 





From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Thursday, November 12, 2009 5:50 PM

To: Xerte list

Subject: [Xerte] sub/super script?





 

Sorry, pretty weak when it comes to html/css/dhtml



I've tried:

<sup>m</sup> 

<span style="vertical-align: super;">m</span>

and vertical-align: super as a selector in the CSS.



No joy.



















Hotmail: Trusted email with
Microsoft's powerful SPAM protection. Sign
up now.





 







Bing
brings you maps, menus, and reviews organized in one place. Try
it now.





 







Bing
brings you maps, menus, and reviews organized in one place. Try it now.



 		 	   		  
_________________________________________________________________
Find the right PC with Windows 7 and Windows Live. 
http://www.microsoft.com/Windows/pc-scout/laptop-set-criteria.aspx?cbid=wl&filt=200,2400,10,19,1,3,1,7,50,650,2,12,0,1000&cat=1,2,3,4,5,6&brands=5,6,7,8,9,10,11,12,13,14,15,16&addf=4,5,9&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:112009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091112/247927f9/attachment.html


More information about the Xerte mailing list