left alignment 3

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tyler

    left alignment 3



    From the heading called SUMMARY on I would like for this page to be left
    aligned.


  • Els

    #2
    Re: left alignment 3



    Tyler wrote:
    [color=blue]
    > http://people.tamu.edu/~tmr8907
    >
    > From the heading called SUMMARY on I would like for this page to be left
    > aligned.[/color]

    <head>
    <center>
    <h1>Tyler Renaudin</h1>
    <center>
    </head>

    <body>

    would be better:
    <head>
    <title>Tyler Renaudin</title>
    </head>

    <body>
    <center>
    <h1>Tyler Renaudin</h1>
    </center>

    especially the last </center>, has to have the closing / .

    Now all is probably right :-)

    --
    Els

    Mente humana é como pára-quedas; funciona melhor aberta.

    Comment

    • Peter Foti

      #3
      Re: left alignment 3

      "Tyler" <Fandango518@ao l.com> wrote in message
      news:bvrihf$p5j $1@news.tamu.ed u...[color=blue]
      > http://people.tamu.edu/~tmr8907
      >
      > From the heading called SUMMARY on I would like for this page to be left
      > aligned.[/color]

      First, your HTML is invalid. Your <title> should be enclosed within the
      <head>, your <h1> should be enclosed within the <body>, and you have two
      <center> tags in the head that don't go there. I assume you meant for them
      to surround the <h1>, in which case your second <center> should be
      </center>. Note that <center> has been depreciated, so you shouldn't be
      using that... though that might be the least of your problems. Look into
      <div align="center"> </div> as an alternative.

      Regards,
      Peter Foti




      Comment

      • Beauregard T. Shagnasty

        #4
        Re: left alignment 3

        Quoth the raven named Tyler:
        [color=blue]
        > http://people.tamu.edu/~tmr8907
        >
        > From the heading called SUMMARY on I would like for this page to be left
        > aligned.[/color]

        Remove all the deprecated <center> tags and your page will, by
        default, be aligned to the left. If you want a heading centered, use
        CSS such as:

        h1 {
        text-align: center;
        }

        Centered text is hard to read.

        --
        -bts
        -This space intentionally left blank.

        Comment

        • David Dorward

          #5
          Re: left alignment 3

          Tyler wrote:

          You DO NOT have to start a new thread every time you want to add to your
          initial question!
          [color=blue]
          > http://people.tamu.edu/~tmr8907
          >
          > From the heading called SUMMARY on I would like for this page to be left
          > aligned.[/color]

          Try correcting your syntax errors: <http://validator.w3.or g>
          <http://www.htmlhelp.co m/tools/validator/charset.html>
          <http://www.htmlhelp.co m/faq/html/all.html#doctyp e>

          --
          David Dorward <http://dorward.me.uk/>

          Comment

          • Andreas Prilop

            #6
            Re: left alignment 3

            "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalid> wrote:
            [color=blue]
            > h1 {
            > Centered text is hard to read.[/color]

            What? Perhaps you mean that a _whole paragraph_ is harder to read
            when centered. But H1 is usually a single line.

            Comment

            • Beauregard T. Shagnasty

              #7
              Re: left alignment 3

              Quoth the raven named Andreas Prilop:
              [color=blue]
              > "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalid> wrote:
              >[color=green]
              >>h1 {
              >>Centered text is hard to read.[/color][/color]
              [color=blue]
              > What? Perhaps you mean that a _whole paragraph_ is harder to read
              > when centered. But H1 is usually a single line.[/color]

              Yes of course. Perhaps I should have been a bit more verbose. Or
              perhaps the OP understood as the entire page is centered.

              Paragraphs of centered text are hard to read. Centering is acceptable
              for headings, captions, and the like.

              --
              -bts
              -This space intentionally left blank.

              Comment

              • Mark Parnell

                #8
                Re: left alignment 3

                On Wed, 04 Feb 2004 21:09:35 +0100, Els
                <els.aGEENSPAM@ tiscali.nl.inva lid> declared in
                comp.infosystem s.www.authoring.html:
                [color=blue]
                >
                > <body>
                > <center>
                > <h1>Tyler Renaudin</h1>
                > </center>
                >
                > especially the last </center>, has to have the closing / .
                >[/color]

                Except that <center> is deprecated, use CSS.

                h1 {text-align: center';}

                --
                Mark Parnell

                Comment

                • Mark Parnell

                  #9
                  Re: left alignment 3

                  On Wed, 4 Feb 2004 15:13:49 -0500, "Peter Foti"
                  <peter@Idontwan tnostinkingemai lfromyou.com> declared in
                  comp.infosystem s.www.authoring.html:
                  [color=blue]
                  > <div align="center"> </div> as an alternative.
                  >[/color]

                  The align attribute is also deprecated. Use CSS.

                  --
                  Mark Parnell

                  Comment

                  Working...