Forum Moderators: not2easy
You could use this:
CSS:
#container {
text-align: center;
}
.left {
float: left;
}
HTML:
<div id="container"><span class="left">Sentence 1</span>Sentence 2</div>
With this you are using the span to float the text left as the container div is center aligned by using the text-align property
ZA
The above is really all there is to it. Sentence 1 is "Last updated: June 10, 2005"; sentence 2 is "© #*$!x yyyyyy, 2002-5". I'd like the copyright statement to appear centered, and "Last updated" to be left-aligned, on the same line. Enclosed in a div rather than a table, if possible.
Thanks again.
<html>
<head>
<style>
body {
font-size: 1.2em;
}
dt, dd {
display: inline;
}
dd {
margin-left: 18%;
}
</style>
<head>
<body>
<div>
<dl>
<dt>
Last updated: June 10, 2005
</dt>
<dd>
© #*$!x yyyyyy, 2002-5
</dd>
</dl>
</div>
</body>
</html>
#container {line-height:1.2em}
#copy {margin-top:-1.2em; text-align:center}
<div id="container">Last updated: June 10, 2005
<div id="copy">Copyright zzzz yyyyyy, 2002-5</div>
</div>