Starting The translation

Noel D. Torres Taņo ndtt@ll.iac.es
Tue, 03 Dec 2002 13:43:06 +0000


> Here I am... How can I make a page centered?  W3C validator compalins
> about a <div align="center">...
You no longer can use the align attribute. Use a style instead. You can
use a css via LINK or an internal style via STYLE, or even an element
style via style:

<head>
<link rel="stylesheet" href="yourCSShere.css" type="text/css">
</head>

or

<head>
<style type="text/css">
<!--
DIV.cent {text-align: center}
-->
</style>
</head>

and then

<div class="cent">
blah blah blah
</div>

The other way:
<div style="text-align: center;">
blah blah blah
</div>

Good luck!