Added: Nov 16, 2004 Rating: Less than 3 votes yet
Level: Beginner Software:




Example
See Also:
To place text or graphics where you want in a TABLE Cell (TD) Just find the look you like, and find the ALIGN and VALIGN values. ALIGN is for horizontal placement and VALIGN is for the vertical. In otherwords, put your finger on the button you like, and read up and across for your tags! ;-)
To do a Bullseye
<TD VALIGN=CENTER ALIGN=CENTER>
| ALIGN | ALIGN=LEFT | ALIGN=CENTER | ALIGN=RIGHT |
| VALIGN=TOP | ![]() |
![]() |
![]() |
| VALIGN=MIDDLE | ![]() |
![]() |
![]() |
| VALIGN=BOTTOM | ![]() |
![]() |
![]() |
Source code
| <TABLE BORDER="1" WIDTH="550"> <TR> <TD>ALIGN</TD> <TD>ALIGN=LEFT</TD> <TD>ALIGN=CENTER</TD> <TD>ALIGN=RIGHT</TD> </TR> <TR> <TD>VALIGN=TOP<BR>---<BR>---<BR>---<BR></TD> <TD ALIGN="LEFT" VALIGN="TOP"><IMG SRC="g40-99-20.gif"></TD> <TD ALIGN="CENTER" VALIGN="TOP"><IMG SRC="g40-99-20.gif"></TD> <TD ALIGN="RIGHT" VALIGN="TOP"><IMG SRC="g40-99-20.gif"></TD> </TD> </TR> <TR> <TD>VALIGN=MIDDLE<BR>---<BR>---<BR>---<BR></TD> <TD ALIGN="LEFT" VALIGN="MIDDLE"><IMG SRC="g40-99-20.gif"></TD> <TD ALIGN="CENTER" VALIGN="MIDDLE"><IMG SRC="g40-99-20.gif"></TD> <TD ALIGN="RIGHT" VALIGN="MIDDLE"><IMG SRC="g40-99-20.gif"></TD> </TD> </TR> <TR> <TD>VALIGN=BOTTOM<BR>---<BR>---<BR>---<BR></TD> <TD ALIGN="LEFT" VALIGN="BOTTOM"><IMG SRC="g40-99-20.gif"></TD> <TD ALIGN="CENTER" VALIGN="BOTTOM"><IMG SRC="g40-99-20.gif"></TD> <TD ALIGN="RIGHT" VALIGN="BOTTOM"><IMG SRC="g40-99-20.gif"></TD> </TD> </TR> </TABLE> |
- I need to have two tables sit side by side, but no matter what I do, they end up stacked. What gives?
- How can I create tables with vivid colors with no spaces or lines between them?
- Why when I create a table with empty cells do I get what looks like a raised or miscolored cell where there is no data?
- Every time I try to list numbers in columns with text, I can't get the decmal points to line up. What gives?
- I have a rather expensive painting I want to show on my site, but I can't afford a frame. What can I do?
- How can I have a fixed width left margin for use with a background graphic that has a dark left region?
- How can I present text in columns, like a newspaper?
- Columns are nice. How can I divide them with a line?
- How do you get your text into those pretty boxes?

10 Random HTML and CSS Tutorials :
10 Random Markuptutorials.com Materials:





