PDA

View Full Version : Ups and downs



LeX
December 27th, 2001, 06:18
Read before you read! (:confused:) Yes, this is a n00b question, I know, but I rarely use this thing...





ok, here goes.....





































What's the HTML tag for raising and lowering words? :o

meow
December 27th, 2001, 07:47
Haven't you left yet? :rolleyes:

You mean <sub></sub> and <sup></sup>?

With CSS it's like:

.up { vertical-align: super }
.down { vertical-align: sub }

blah blah <span class="up">bleh</span> blah blah <span class="down">bleh</span> blah...

LeX
December 27th, 2001, 08:21
What, are you gonna miss me? :biggrin2:

I was talking about sub and sup. Thanks.

[ADD]
Now I like the CSS aligning better. Good thing you provided that. :p

meow
December 27th, 2001, 08:38
No, since you aren't going anywhere f00! :biggrin2:

Yeah, CSS is neater since you can hang other stuff on too. This should look pretty good (*think*).

.up { vertical-align: super; font-size: .8em }
.down { vertical-align: sub; font-size: .8em }

..................

<p>
C<span class="down">2</span>H<span class="down">5</span>OH boils at 78.5 &#176;C.</p>
<p>
2<span class="up">2</span> = 4</p>

CW
December 29th, 2001, 10:19
hehe, you two are funny :biggrin2:

Toefur
December 30th, 2001, 02:33
Hey!

That thing is pretty cool.

Haha.

I used to use CSS lots, but then when I started using dreamweaver I got lazy.

Maybe i should learn all this CSS stuff again.

meow
December 30th, 2001, 18:41
I can make the real stuff too. Wanny buy a couple of gallons? :biggrin2: