/    Sign up×
Community /Pin to ProfileBookmark

Centered and justified at the same timne

in my table is a paragraph which hugs the edges of the table, what i need is to hav it in the positioning of a center align but the text itslef to be justified. does that make any sense?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@ninacababaJul 05.2006 — Erm kinda.


_________________________________
l l l

l__________ ___l___________________l

l l l

l ltext appearing like thisl

l l l

l l wants to be like so l

l_
__
________ __l___________________l

Is that right??

how about putting this inside the tables box where the writings supposed to go

<td width="x" height="y">

<table border=0 cellspacing=0 cellpadding=0 width="x" height="y">

<tr height="y">

<td width=5>&nbsp;</td>

<td width="x-10"><font align=justified>Writing here</font></td>

<td width=5>&nbsp;</td>

</tr>

</table>

</td>
Copy linkTweet thisAlerts:
@KDLAJul 05.2006 — <i>
</i>&lt;td style="text-align: center; width: ###px;"&gt;
&lt;div style="text-align: justify; width: ###px; display: block;"&gt;
paragraph
&lt;/div&gt;
&lt;/td&gt;


Reference: http://www.w3.org/TR/REC-CSS2/text.html#alignment-prop

KDLA
×

Success!

Help @sherwoodgames spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...