By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,225 Members | 1,449 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,225 IT Pros & Developers. It's quick & easy.

left alignment 3

P: n/a
http://people.tamu.edu/~tmr8907

From the heading called SUMMARY on I would like for this page to be left
aligned.
Jul 20 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Els


Tyler wrote:
http://people.tamu.edu/~tmr8907

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


<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.

Jul 20 '05 #2

P: n/a
"Tyler" <Fa*********@aol.com> wrote in message
news:bv**********@news.tamu.edu...
http://people.tamu.edu/~tmr8907

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


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


Jul 20 '05 #3

P: n/a
Quoth the raven named Tyler:
http://people.tamu.edu/~tmr8907

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


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.
Jul 20 '05 #4

P: n/a
Tyler wrote:

You DO NOT have to start a new thread every time you want to add to your
initial question!
http://people.tamu.edu/~tmr8907

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


Try correcting your syntax errors: <http://validator.w3.org>
<http://www.htmlhelp.com/tools/validator/charset.html>
<http://www.htmlhelp.com/faq/html/all.html#doctype>

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #5

P: n/a
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote:
h1 {
Centered text is hard to read.


What? Perhaps you mean that a _whole paragraph_ is harder to read
when centered. But H1 is usually a single line.
Jul 20 '05 #6

P: n/a
Quoth the raven named Andreas Prilop:
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote:
h1 {
Centered text is hard to read.
What? Perhaps you mean that a _whole paragraph_ is harder to read
when centered. But H1 is usually a single line.


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.
Jul 20 '05 #7

P: n/a
On Wed, 04 Feb 2004 21:09:35 +0100, Els
<el***********@tiscali.nl.invalid> declared in
comp.infosystems.www.authoring.html:

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

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


Except that <center> is deprecated, use CSS.

h1 {text-align: center';}

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #8

P: n/a
On Wed, 4 Feb 2004 15:13:49 -0500, "Peter Foti"
<pe***@Idontwantnostinkingemailfromyou.com> declared in
comp.infosystems.www.authoring.html:
<div align="center"></div> as an alternative.


The align attribute is also deprecated. Use CSS.

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.