Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Misaligned table columns due to italics

0 views
Skip to first unread message

Nathan Sokalski

unread,
Jul 18, 2001, 11:27:39 PM7/18/01
to
A table which I have made is misaligned due to the first column being in
italics. The following code is a copy of the code I used, the first table is
not italicized, the second is. You will notice that if you view the code
with a browser the cells in the second table will not line up. (The reason I
included the large amounts of text is because this problem only occurs when
the text is wrapped) Can someone tell me how to make the columns align
correctly?

<HTML>
<BODY>
<TABLE ALIGN=CENTER BORDER=2 BORDERCOLOR="#000000" CELLSPACING=1
CELLPADDING=5>
<TR><TH COLSPAN=2><CENTER><FONT SIZE=6>Some Of My Quotes</FONT></CENTER>
<TR><TH>Quote<TH>Explanation
<TR><TD><P STYLE="text-align:justify;">"Everybody is a friend until they
have proven otherwise"<TD><P>If someone has never done anything bad, they
still qualify as good (Sort of a variation of "Innocent until proven
guilty")
<TR><TD><P STYLE="text-align:justify;">"A friend who cannot make time for
you is not a friend you have time to make"<TD><P>Just what it says: If
somebody's never going to do anything for you, don't bother to take the time
to become their friend (But keep in mind that someone doesn't have to do a
lot to be doing anything)
<TR><TD><P STYLE="text-align:justify;">"Friendship is a multi-player game;
nobody can win it by themself"<TD><P>One cannot make friends when they
restrict themselves to their own lives
<TR><TD><P STYLE="text-align:justify;">"A friend of a friend is a friend of
mine"<TD><P>If someone is good enough to be my friend's friend, they're good
enough to be my friend
<TR><TD><P STYLE="text-align:justify;">"A friend is like a piece of
merchandise: You try it based on what you see, you keep it based on what you
get"<TD><P>You find your friends based on their reputation and what you
observe (the advertising and appearance of merchandise), but you keep them
based on who they really are (the actual quality of the product)
</TABLE>
<BR>
<TABLE ALIGN=CENTER BORDER=2 BORDERCOLOR="#000000" CELLSPACING=1
CELLPADDING=5>
<TR><TH COLSPAN=2><CENTER><FONT SIZE=6>Some Of My Quotes</FONT></CENTER>
<TR><TH>Quote<TH>Explanation
<TR><TD><P STYLE="text-align:justify; font-style:italic;">"Everybody is a
friend until they have proven otherwise"<TD><P>If someone has never done
anything bad, they still qualify as good (Sort of a variation of "Innocent
until proven guilty")
<TR><TD><P STYLE="text-align:justify; font-style:italic;">"A friend who
cannot make time for you is not a friend you have time to make"<TD><P>Just
what it says: If somebody's never going to do anything for you, don't bother
to take the time to become their friend (But keep in mind that someone
doesn't have to do a lot to be doing anything)
<TR><TD><P STYLE="text-align:justify; font-style:italic;">"Friendship is a
multi-player game; nobody can win it by themself"<TD><P>One cannot make
friends when they restrict themselves to their own lives
<TR><TD><P STYLE="text-align:justify; font-style:italic;">"A friend of a
friend is a friend of mine"<TD><P>If someone is good enough to be my
friend's friend, they're good enough to be my friend
<TR><TD><P STYLE="text-align:justify; font-style:italic;">"A friend is like
a piece of merchandise: You try it based on what you see, you keep it based
on what you get"<TD><P>You find your friends based on their reputation and
what you observe (the advertising and appearance of merchandise), but you
keep them based on who they really are (the actual quality of the product)
</TABLE>
</BODY>
</HTML>

--
Nathan Sokalski
njsok...@hotmail.com


Xlnt

unread,
Jul 19, 2001, 11:48:35 AM7/19/01
to

"Nathan Sokalski" <njsok...@hotmail.com> schreef in bericht
news:uP6SOLAEBHA.888@tkmsftngp04...

> A table which I have made is misaligned due to the first column being in
> italics. The following code is a copy of the code I used, the first table
is
> not italicized, the second is. You will notice that if you view the code
> with a browser the cells in the second table will not line up. (The reason
I
> included the large amounts of text is because this problem only occurs
when
> the text is wrapped) Can someone tell me how to make the columns align
> correctly?
>
> [code]
Weird problem, and I've got no solution. I think it's got to do with the
paragraphs being wider than de column; a sort of bug in the browser, because
it should resize the columns, or wrap the contents earlier.

Btw: you should end each row, column and paragraph with </tr>, </td> and
</p>, just as you do with each table.

Xlnt


0 new messages