HTML text alignment troubles.

Status
Not open for further replies.

hanser

Ars Legatus Legionis
43,850
Subscriptor++
I'm working on a website for the church that I used to attend, and I'm having some trouble getting the alignment fixed in this table.

craptacular.jpg


It should look like this, but in the new format:

fbcmeth2.png


The page I'm working on is here.

The old page which the second screenshot is taken of is here.
 
uhm, see your code:

the top ones look like:




<div>
<span style="float: left;">Sunday School: </span><span style="float: right;">9:15 AM</span>
</div>




while the bottom ones look like:



Sunday Evening Worship:               6:00 PM



not to say that I understand why you dont simply use a table, since it would be perfect for this purpose.

try changing your bottoms ones to the same coding as your top ones.

try this:

<table style="width:350px;border:1px solid black;">
<tr>
<td>Sunday School:</td>
<td>9:15 AM</td>
</tr>
<tr>
<td>Sunday Morning Worship:</td>
<td>10:30 AM</td>
</tr>
<tr>
<td>Wednesday Evening Worship:</td>
<td>6:00 PM</td>
</tr>
</table>
 

hanser

Ars Legatus Legionis
43,850
Subscriptor++
Yay, it worked. :)

Code:
<P><table>
	<tr>
		<td class="left" width="250">Sunday School:</td>
		<td class="right">9:15 AM</td>
	</tr>
	<tr>
		<td class="left">Sunday Morning Worship:</td>
		<td class="right">10:30 AM</td>
	</tr>
	<tr>
		<td class="left">Sunday Evening Worship:</td>
		<td class="right">6:00 PM</td>
	</tr>
	<tr>
		<td class="left">Wednesday Evening Worship:</td>
		<td class="right">6:00 PM</td>
	</tr>
	<tr>
		<td class="left">Fellowship Time Sunday (WCCM):</td>
		<td class="right">8:05 AM</td>
	</tr>
</table>

Which creates this:
fbc_fixed.png
 
Status
Not open for further replies.