Показать сообщение отдельно
  #14 (permalink)  
Старый 18.11.2010, 09:13
Аватар для ksa
ksa ksa вне форума
CacheVar
Отправить личное сообщение для ksa Посмотреть профиль Найти все сообщения от ksa
 
Регистрация: 19.08.2010
Сообщений: 14,202

Пример...

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<style>
* {
	margin: 0;
	padding: 0;
}
html,
body {
	width: 100%;
	height: 100%;
}
.box {
	position: absolute;
	width: 100px;
	height: 100px;
}
#item1 {
	top: 10px;
	left: 10px;
	background-color: blue;
}
#item2 {
	top: 100px;
	left: 200px;
	background-color: red;
}
#item3 {
	top: 50px;
	left: 350px;
	background-color: orange;
}
</style>
</head>
<body>
<div class='box' id='item1'></div>
<div class='box' id='item2'></div>
<div class='box' id='item3'></div>
</body>
</html>

- Поставь ДИВам нужные размеры
- Картинку свою бекграундом
- Поставь в нужные места
и таки двигай их себе на здоровье

document.getElementById('item1').style.top=<нужное_значение>
document.getElementById('item1').style.left=<нужное_значение>
Ответить с цитированием