Forum : align of paragraphs
Brief description  about Online courses   join in Online courses
View Thangam  Nayagi 's Profile

align of paragraphs

sir,

how to align two paragraphs side by side to one another. should i do it using tables?

regards
thangam
re
Asked by Thangam Nayagi | Jan 3, 2011 |  Reply now
Replies (4)
View santosh hegde 's Profile
:)
Jan 4, 2011
View teacher siliconindia 's Profile
Hi

Yes you can use table

Regards
Jan 4, 2011
View thangam nayagi 's Profile
it was of real help to me santhosh and thanks alot :)
Jan 3, 2011
View santosh hegde 's Profile
Ya, definitely you can..
Just check below code:
<html>
<head>
<title>Align of 2 Paragraphs</title>
<body>
<table width="800" border="0" cellspacing="0" cellpadding="20" align="center">
<tr>
<td width="60%" valign="top">
<p align="left">if you are looking for finance to buy your commercial vehicle, you have come to the right place. We offer hassle-free Commercial Vehicle Loan with the best terms for funding at the most attractive rates in India. f you are looking for finance to buy your commercial vehicle, you have come to the right place. We offer hassle-free Commercial Vehicle Loan with the best terms for funding at the most attractive rates in India. </p>
</td>
<td width="40%">
<p align="left">if you are looking for finance to buy your commercial vehicle, you have come to the right place. We offer hassle-free Commercial Vehicle Loan with the best terms for funding at the most attractive rates in India. f you are looking for finance to buy your commercial vehicle, you have come to the right place. We offer hassle-free Commercial Vehicle Loan with the best terms for funding at the most attractive rates in India. </p>
</td>
</tr>
</table>
</body>
</html>
I hope abow code may helpful for you..
we can control the td width by declaring
td width=" "
where you want to control the td widht for for eg: if you want width left part more than right side then declare <td width="60%">
you can use "%" or "number" like <td width="600"> (in this case)
then as well as right part too...
just check it out... :)
Jan 3, 2011