Topic: sup tag spacing problems (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9530" title="Pages that link to Topic: sup tag spacing problems (Page 1 of 1)" rel="nofollow" >Topic: sup tag spacing problems <span class="small">(Page 1 of 1)</span>\

 
Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 09-24-2002 23:48

Hey all! I had a question: I'm using <sup> tags in my text and it's causing the spacing between some lines to be larger than others. Is there a way to get them to all be exactly the same w/out putting that tag in every line somehow?

Thanks!

Genevieve

Wowzers! o.O

Visit my cell! 754

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 09-25-2002 00:06

Genevieve: I'm not sure - those kind of things tend to disrupt the flow of a line. I'd have a play with these and see if that helps:
www.w3.org/TR/REC-CSS2/visudet.html#line-height

e.g.:

code:
.sub  {
vertical-align: sub;
}
.sup
{
vertical-align: super;
}



[edit: I should have said that you should look at line-height as well as vertical-align.]

___________________
Emps

FAQs: Emperor



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu