Hi ALi,
When you use "justify" with text inside the <p> tags the text will stretch
itself so that it is both left and right aligned. Meaning that each line,
even though they don't contain the same amout of text will be sized to be
exactly the same width. Ken.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"ALI-R" <newbie@microsoft.com> wrote in message
news:u5wFqP74EHA.4004@tk2msftngp13.phx.gbl...[color=blue]
> What dose "justify" option dose ,I used justify along with "<P>" ,it[/color]
dosn't[color=blue]
> center the page,but with "Center",it is exactly what I want.
> Thanks to all of you for helping.
> ALi
> "Ken Dopierala Jr." <kdopierala2@wi.rr.com> wrote in message
> news:%23$3gDB74EHA.1264@TK2MSFTNGP12.phx.gbl...[color=green]
> > Hi Matt,
> >
> > Nope, I mean paragraph. Set the alignment to center and everything[/color][/color]
inside[color=blue][color=green]
> > will be centered on the page. <div> will work too. <center> will make[/color][/color]
it[color=blue][color=green]
> > work. Alternatively you can set the "style" attribute of many parent
> > controls to center themselves on the page which will in turn center what[/color]
> is[color=green]
> > inside. Then you can use the "align" attribute of the children controls[/color]
> to[color=green]
> > organize them inside the parent. There a lot of ways to do this. The[/color]
> nice[color=green]
> > thing about <p> is that you also have a "justify" option instead of just
> > left, center, and right align. Ken.
> >
> > --
> > Ken Dopierala Jr.
> > For great ASP.Net web hosting try:
> >
http://www.webhost4life.com/default.asp?refid=Spinlight
> > If you sign up under me and need help, email me.
> >
> > "Matt Berther" <mberther@hotmail.com> wrote in message
> > news:6816197632388009608412950@news.microsoft.com. ..[color=darkred]
> > > Hello Ken,
> > >
> > > <p> stands for paragraph. Clearly you meant <div>, which is a section[/color][/color][/color]
of[color=blue][color=green][color=darkred]
> > > content.
> > >
> > > --
> > > Matt Berther
> > >
http://www.mattberther.com
> > >
> > > > Hi,
> > > >
> > > > Put everything inside a <p> tag:
> > > >
> > > > <body...>
> > > > <form....>
> > > > <p align="center">
> > > > *Put all of your HTML here.
> > > > </p>
> > > > </form>
> > > > </body>
> > > > Good luck! Ken.
> > > >
> > > > "ALI-R" <newbie@microsoft.com> wrote in message
> > > > news:%23VJtBo54EHA.3236@TK2MSFTNGP15.phx.gbl...
> > > >> How do I allign all my content in aspx page in the middle of page
> > > >> like a
> > > >>
> > > > lot
> > > >
> > > >> of websites ?
> > > >>
> > > >> Dose it work with differnet screen resolutions?
> > > >>
> > > >> Thanks for your help.
> > > >>
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]