I would like to arrange short strings of text running down my web page,
to the left and right of the center line running from top to bottom,
I have defined in the style tag TEXT-ALIGN: center, how do I specify in my <div> tags that I want the text to appear a certain number of pixels to the left or right of the vertical centre line? If the text overlaps thats fine and I would like the effect to remain consistent irrespective of browser or screen size.
center
a specified dist to the left of centr
a specified dist to the right of centre
<html>
<head>
<style type="text/css">
#start {TEXT-ALIGN: center}
</style>
</head>
<body>
<div ID = "start"><h1>1st element centered</h1></div>
<div ID = "start"><h1>I would like this to appear a specified dist to the left </h1></div>
<div ID = "start"><h1>I would like this to appear a specified dist to the right</h1></div>
</div>
</body>
</html>
Thanks for any help 
|