+ 1
How to type text on both side in one paragraph..?
Html
6 odpowiedzi
+ 2
I would use CSS and create two boxes with text inside of them, then position them where you want, I ran into the same Problem, here is my solution if you are intrested:
The html:
<div id="text-container-1">
<p id="text-left"> Name <br> Adress <br> Zipcode <br> School <br> Grade</p>
</div>
<div id="text-container-2">
<p id="text-left"> Name <br> Adress <br> Zipcode <br> School <br> Grade</p>
</div>
The CSS:
#text-container-1 {
width: 18.750em;
Display: block;
Float: left;
margin-left: 37%;
margin-top: 2%;
padding: 0;
border: 0.063em;
}
#text-container-2 {
width: 18.750em;
Display: block;
Float: right;
margin-right: 37%;
margin-top: 2%;
padding: 0;
border: 0.063em;
}
#text-left {
Width: 12.500em;
Text-align: left;
Float: left;
Display: block;
font-size: 1.250em;
}
#text-right {
Width: 12.500em;
Text-align: right;
Float: right;
Display: block;
font-size: 1.250em;
}
+ 1
Both sides of what?
+ 1
use [text-align:right]
0
Text-align:left; and text-align:right; in one paragraph ..... I mean - In both corners.
0
Thanks frends ... But this is not my questions ..... My questions is : -
Something has to be written on the right side and left side of the page and it should be empty between them. and this condition full-fill in one paragraph..