View Full Version : Text Alignment
EmeraldEmpress
10-06-2002, 03:29 PM
I'm sure there is a very simple solution to my problem -- here goes:
I am attempting to create my very first REAL web site and am having problems aligning my text. I've set up my margins which seem to work for all aspects EXCEPT my body text.
Please help!
Thank you,
EE
BoR|S
10-07-2002, 10:29 AM
Do you use tables?
EmeraldEmpress
10-07-2002, 11:51 AM
Yes. I've tried setting up a table for the text but I am unfamilar with setting the parameters (i.e. width, height, etc.) I think I may have found a solution by breaking each line at a point where it will not default over into my decorative left edge margin.
Thanx for replying,
EE
BoR|S
10-07-2002, 01:13 PM
Can you please post your source code here? (use the '#' button when you post the code in order to display it properly).
augure3
10-10-2002, 04:30 AM
Hi,
inserting a <br>-tag won't look very cool if your visitor uses a different solution than you. as boris mentioned before: show us your sourcecode or send the url of your page to this forum.
greetings from a cold germany
augure3
Orange
10-15-2002, 05:52 AM
try adding something like this to the <td> tags for the body
<td valign="top, center, or bottom">
If thas what your looking for. With out the your code and such an open question, it is hard for anyone to help you fix your problem.
BoR|S
10-18-2002, 04:42 AM
<TD> tag is for tables, what if he not using tables?
Maybe use: <div align="left/center/right/justify" valign="top/middle/bottom">content</div>
Orange
10-19-2002, 12:00 AM
yes depending on how its laid out you could use the <div? or the <span> tags
Delicates
10-20-2002, 11:13 PM
Using tables for site layout and positioning is horribly wrong and is a terrible abuse of HTML standard. You should always use CSS for this.
Placing text into <div> is the best way. Then you can size and position it through CSS in any way you want, and give it any type of text alignment you like.
For example:
div#content {
width: 70%;
margin-right: 0;
text-align: justify;
}
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.