how to position a diiv in body using css code example
Example 1: css position
h2.pos_left {
position: relative;
left: -20px;
}
h2.pos_right {
position: relative;
left: 20px;
}
Example 2: adjusting y pos of element in css
top: 150px;
h2.pos_left {
position: relative;
left: -20px;
}
h2.pos_right {
position: relative;
left: 20px;
}
top: 150px;