"Beauty is an ecstasy; it is as simple as hunger."
- W. Somerset Maugham


Aligning

For Starters...

So, you wanna learn how to align your text differently, huh? Ok, then let's start learning...
I hope we all know what alinging is. ;)...
So, mainly on a webpage your text is aligned to the left, right? Right. But it can get boring that way sometimes, can't it? Yes it can. So we want to learn how to change that, don't we? Yes we do. Okay, say I have a paragraph of text and I want to align it centered, I would use the code:

<center>text</center>to do so.When working in tables (see here for more on tables), you can set the align attributes to "left, "center", and "right" so that the table's content is aligned that way. You can use the alignment tags for almost anything, images, text, tables, forms, etc. But there is also another kind of aligning, the vertical kind. That's right, you can have text aligned vertically at "top", "middle" and "bottom" when dealing with tables. Usually by default they are aligned at top, but just for fun, you can play with the settings. So, if I have a table that is 100 in width, and 100 in height, and i want text aligned in the middle, my code will look like this: <table border=1 width=100 height=100 valign="middle"> <tr> <td>Here is some middle-aligned text</td> </tr> </table> to achieve this effect:
Here is some middle-aligned text

As you may have guessed, the valign="" tag is used for vertical alignment inside a table. Have fun with your aligning adventures, if you have any questions, please feel free to fill out the form in the "Find" (Contact) page of the site.

Hosted by www.Geocities.ws

1