Hi all,
Trying to having a div center and then div at the side got which i get
a problem with
The only way i can see to have this done is using a neg number for the
margin-top i can't use this becuase i don;t know the lenght of the main
div.
How can i fix this?
Thanks
Donald
<html>
<head>
<style type="text/css">
#main {
width:600px;
position:relati ve;
margin: 0px auto 0px auto;
/*
float:left;
*/
}
#side {
width:100px;
float:right;
margin-top: -420px;
}
</style>
</head>
<body>
<div id="main">
Center of page<br/><br/>
Latin is an ancient Indo-European language. It was originally spoken
only in Latium, the region immediately surrounding Rome, but gained
wide currency as the formal language of the Roman Republic and Roman
Empire. Later adopted by medieval scholars and the Catholic Church, it
remained alive for many centuries after Rome's fall.
An inflectional and synthetic language, Latin relies little on word
order, conveying meaning through a system of affixes attached to word
stems. The Latin alphabet, derived from that of the Etruscans, remains
the most widely-used alphabet in the world. Although Ecclesiastical
Latin remains the official, national language of Vatican City, Latin is
now widely considered to be an extinct language, with very few fluent
speakers and almost no native ones.
Nevertheless, Latin has exerted a major influence on many other
languages that are still thriving, and continues to see limited use in
academia, medicine, scientific classification and law. Six out of every
ten commonly-used English words are derived, directly or indirectly,
from Latin. All of the so-called Romance languages are descended from
Vulgar Latin, and many words adapted from Latin are found in other
modern languages - all part of its legacy as the lingua franca of the
Western world for over a thousand years. It was only replaced in this
capacity by French during the 18th century, and even then continued to
be used in certain intellectual and political circles.
The Catholic Church used Latin as its primary liturgical language until
the advent of the Second Vatican Council in the 1960s, after which the
various vernacular languages of the parishioners were allowed in the
liturgy. Before that time, it was common to find Latin taught in many
primary, grammar and secondary schools throughout the world.
</div>
<div id="side">
Right of page but at the top of the page<br/><br/>
Latin is an ancient Indo-European language. It was originally spoken
only in Latium, the region immediately surrounding Rome, but gained
wide currency as the formal language of the Roman Republic and Roman
Empire. Later adopted by medieval scholars and the Catholic Church, it
remained alive for many centuries after Rome's fall.
An inflectional and synthetic language, Latin relies little on word
order, conveying meaning through a system of affixes attached to word
stems. The Latin alphabet, derived from that of the Etruscans, remains
the most widely-used alphabet in the world. Although Ecclesiastical
Latin remains the official, national language of Vatican City, Latin is
now widely considered to be an extinct language, with very few fluent
speakers and almost no native ones.
Nevertheless, Latin has exerted a major influence on many other
languages that are still thriving, and continues to see limited use in
academia, medicine, scientific classification and law. Six out of every
ten commonly-used English words are derived, directly or indirectly,
from Latin. All of the so-called Romance languages are descended from
Vulgar Latin, and many words adapted from Latin are found in other
modern languages - all part of its legacy as the lingua franca of the
Western world for over a thousand years. It was only replaced in this
capacity by French during the 18th century, and even then continued to
be used in certain intellectual and political circles.
The Catholic Church used Latin as its primary liturgical language until
the advent of the Second Vatican Council in the 1960s, after which the
various vernacular languages of the parishioners were allowed in the
liturgy. Before that time, it was common to find Latin taught in many
primary, grammar and secondary schools throughout the world.
</div>
</body>
</html>