PDA

View Full Version : Justyfining inside table!


africano
04-23-2007, 04:35 AM
Ive got a layout where the two side columns of my page are tables and the center of the page is the main area. Ive got a table in one of the columns and some text in it. When I try and justify it leaves large gaps in between the words and doesnt look good, how can I fix this??

Example:

here are the good
things that happen
I dont like this
very

Another quick question. If Ive got a table and theres text inside, how can I aline only some of the text?
Example:

Whant to visit us? (aline center)

ajskdjasndjansjdnasd
asdasdjlasdjlasdjad
asdalsdasdasdasdsads (aline justify)

If I want to aline the heading, all the text alines...

davidj
04-23-2007, 05:47 AM
use a <span> or a <div>

<span class="AlignHeader"> header text </span>

<div class="AlignHeader"> header text </div>

set a CSS that controls the header and assign that to the span as above