Quote:
Originally Posted by metathirteen
im making a site for myself and im still pretty new to this stuff. im trying to give it like a dos sorta look. right now im using tables for these boxes i made but i cant figure out how to change the spacing for when i type in them. it always just comes up in the middle of the table.
can anyone help me out?
heres a link to my site. see how navi box is in the middle?
http://switcharoo.agilityhoster.com/dossite.html
|
Here are a couple things you can do below. Others may have better ideas for achieving the same results.
One thing you can do is add a
paragraph as in this code below (the "<p>" is a symbol for paragraph):
Code:
<TR>
<TD height="118" bgcolor="#0000CC"> </TD>
<TD bgcolor="#0000CC">
<p align="right">navi box</p></TD>
<TD bgcolor="#000000"> </TD>
</TR>
I've aligned the text to the right.
Another thing you can do now is align it to the top of that table. This is how you'd do it in expression web 3:
1. right click the <p> box on your display
2. click cell properties.
3. go to "vertical alignment" and select top.
The code for both these operations looks like this:
Code:
<TR>
<TD height="118" bgcolor="#0000CC"> </TD>
<TD bgcolor="#0000CC" valign="top">
<p align="right" height: 13px;">navi box</FONT></TD>
<TD bgcolor="#000000"> </TD>
</TR>
Another way you can do it which may be more complicated in the short run but I think more people will recommend for better results in the long run is to use the
CSS property text-align.