X   Сообщение сайта
(Сообщение закроется через 3 секунды)



 

Здравствуйте, гость (

| Вход | Регистрация )

Открыть тему
Тема закрыта
> Проблема с блоками
Evansw
Evansw
Topic Starter сообщение 5.8.2010, 8:45; Ответить: Evansw
Сообщение #1


Такой вопрос как сделать так чтобы фон блоков растягивался соответственно размеру блоков...

<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=windows-1251" http-equiv="Content-Type">
<title>Emperor's Children Clan</title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="shortcut icon" href="image/ico.png" type="image/x-icon">
</head>
<body>
<center>
<div class="all">
<div class="header">
<img src="image/logo.jpg">
</div>

<div class="nav">
<a href="index.html#" class="one_link">
Главная
</a><a href="index.html#" class="one_link">
Устав
</a><a href="index.html#" class="one_link">
Состав
</a><a href="index.html#" class="one_link">
Форум
</a>
</div>
<div class="blocs">
<div class="left">
<div class="left_top"><div class="text">
<h5>The Horus Heresy</h5>
<p>When the events that led to the Horus Heresy erupted, Fulgrim rushed to the Warmaster's side, attempting to reason with his old friend. Instead, Horus seduced him, playing upon his love of flawlessness to weaken Fulgrim's loyalty to the Emperor. Although Fulgrim initially resisted and wanted to speak out against Horus, the weapon he had taken from the Laer temple actually contained a daemon of Slaanesh. This daemon had been whispering to Fulgrim since he picked it up and weakened his resolve to the point where Horus was able to sway him.

The rot spread from Fulgrim to his brother Lord Commanders, then to company and squad leaders, and finally all but a bare handful of Marines followed Slaanesh rather than the Emperor. The remaining loyalists, led by Saul Tarvitz, a Captain of the Emperors Children, fought bravely on Isstvan III but were eventually overwhelmed as Horus, and the three Primarchs who had already declared for him wiped out those forces they believed would remain loyal to the Emperor. The Legion then gleefully proceeded to aid in the destruction of the arriving loyalist legions.1

All trace of decency amongst the Emperor's Children had vanished by the time they partook in the Siege of Terra. While other Traitor Legions assaulted the Imperial Palace, the Emperor's Children embarked upon a spree of terror and gratification amongst the helpless citizenry of Earth. Millions of defenceless civilians were slaughtered and rendered down to create endless varieties of drugs and stimulants, countless thousands more dying to provide the Legionnaires with more direct and cruder pleasure</p>
</div></div>
<div class="left_bott">
<h5></h5>
</div>
</div>

<div class="right">
<div class="right_top">

</div>
<div class="right_bott">

</div>
</div>

<center>
<div class="center">
<div class="text">
<h3>History</h3>
<p>The Legion's history begins with the descent of their Primarch Fulgrim to the resource-poor world of Chemos, where strict rationing and improvisation were necessary to sustain life. It was decided to spare the infant and when Fulgrim grew to manhood he set about reviving his dying world. Old technology was restored, lost areas reclaimed, and the people of Chemos were able to spend time on art and culture. Fulgrim took pride in this, as he harboured a love of perfection in all things.

When the Emperor first arrived on Chemos, Fulgrim swore fealty to him instantly, and was placed at the head of his Legion. An accident had destroyed nearly all of the Emperor's Children's gene-seed, leaving only a tiny force of 200 Marines. Fulgrim addressed them upon their first meeting, stating that they would go out into the Galaxy and spread the wisdom of the Emperor. "We are His children," the Book of Primarchs relates he told them, "Let all who look upon us know this. Only by imperfection can we fail him. We will not fail!" The 3rd Legion were named the Emperor's Children from that day, and the Emperor also bestowed on them the right to bear the Imperial Eagle upon their armour, the only Legion allowed to do so. As they were so few in number, the Emperor's Children were placed under the command of the Primarch Horus of the Luna Wolves until they were a large enough formation to crusade independently. Horus and Fulgrim grew close to one another, with eventual dire consequences for the Imperium.

Swollen by new recruits drawn from Chemos and Terra, the Emperor's Children finally mustered the strength to undertake a crusade alone, and Fulgrim proudly led his warriors into the unknown. To many worlds he brought the rule of the Emperor, crushing any resistance in the certain knowledge that any who fought against the Emperor fought against Humanity itself. From the growing ranks of his Legion, Fulgrim selected a few individuals, the bravest, strongest and noblest, to become Lord Commanders, each given authority over the Company commanders. Fulgrim taught the Lord Commanders personally, taking care that they were worthy of the honour of being the representatives of the Emperor. In turn the Lord Commanders passed Fulgrim's words on to the officers under their command, and they to their squads. In this way, through their leaders, each Space Marine of the Emperor's Children Legion followed the Emperor himself. To honour the Emperor, they strove for perfection in all things: battlefield doctrine was obeyed to the letter, tactics and strategy were studied in minute detail and perfected, and the Emperor's decrees were memorised by every Space Marine, adhered to in every way. While the Emperor's Children, like most legions, considered the Emperor a man, not a god, their reverence and adoration for him bordered on the fanatical.

This wish to achieve perfection met its martial zenith during the Cleansing of Laeran, where the Emperor's Children met an alien foe that offensively echoed their ideals. The Laer were judged so formidable by the Adeptus Administratum that it was feared any attempt to subjugate them would take over a decade. The Emperor's Children scoured them from their home-system in a month. This titanic effort was a notable feat of arms perhaps achievable only by Fulgrim's legion. However, it cost them dear; 700 marines perished with over 4,200 being injured.1 </p>
</div>
</div>
</center>
</div>
</div>
<div class="foot">
Copyright by Momo & Gray
</div>
</center>
</body>
</html>


@font-face {
  font-family: BOSANCB;
  src: url(BOSANCB.TTF) format("opentype");
}
body,html
{
    margin:0px;
    padding:0px;
    background-image: url(image/1.gif);
}
div.all
{
width: 1024px;
min-height:100%;
height:100%;
background-color:#CCCCCC;
padding-bottom:5px;
}
div.header
{
height:225px;
}
div.nav
{
height:25px;
background-color:#6699CC;
}

div.left
{
margin-right:10px;
margin-left:10px;
margin-top:5px;
margin-bottom:10px;
float:left;
width:190px;
height:95%;
}
div.left_top
{
border-radius:15px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
width:98%;
min-height:100px;
background-color:white;
}
div.left_bott
{
clear:both;
border-radius:15px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
width:98%;
margin-top:10px;
min-height:100px;
background-color:white;
}

div.right
{
margin-left:10px;
margin-right:10px;
margin-top:5px;
margin-bottom:10px;
float:right;
width:190px;
height:95%;
}

div.right_top
{
border-radius:15px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
width:98%;
min-height:100px;
background-color:white;
}
div.right_bott
{
clear:both;
border-radius:15px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
width:98%;
margin-top:10px;
min-height:100px;
background-color:white;
}


div.center {
margin:5px;
color:black;
max-width:600px;
background-color:white;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
height:100%;
}

div.foot
{
margin-bottom:10px;
width:1024px;
color:white;
  border-bottom-left-radius:15px;
  border-bottom-right-radius:15px;
-webkit-border-bottom-left-radius:15px;
-webkit-border-bottom-right-radius:15px;
-moz-border-radius:0px 0px 15px 15px;
background-color:#6699CC;
}
a
{
text-decoration:none;
}
a.one_link
{
font-family:BOSANCB;
font-size:20px;
margin:10px;
margin-top:10px;
background-color:6699CC;
color:white;
}
a.one_link:hover
{
font-family:BOSANCB;
color:#FFCC99;
}

div.text
{
position:relative;
padding:5px;
}
0
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
pavelsc
pavelsc
сообщение 5.8.2010, 13:08; Ответить: pavelsc
Сообщение #2


@font-face {
font-family: BOSANCB;
src: url(BOSANCB.TTF) format("opentype");
}
body,html
{
margin:0px;
padding:0px;
background-image: url(image/1.gif);
}
div.all
{
width: 1024px;
height:auto;
background-color:#CCCCCC;
padding-bottom:5px;
overflow:hidden;
}
div.header
{
height:225px;
}
div.nav
{
height:25px;
background-color:#6699CC;
}

div.left
{
margin-right:10px;
margin-left:10px;
margin-top:5px;
margin-bottom:10px;
float:left;
width:190px;
height:95%;
}
div.left_top
{
border-radius:15px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
width:98%;
min-height:100px;
background-color:white;
}
div.left_bott
{
clear:both;
border-radius:15px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
width:98%;
margin-top:10px;
min-height:100px;
background-color:white;
}

div.right
{
margin-left:10px;
margin-right:10px;
margin-top:5px;
margin-bottom:10px;
float:right;
width:190px;
height:95%;
}

div.right_top
{
border-radius:15px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
width:98%;
min-height:100px;
background-color:white;
}
div.right_bott
{
clear:both;
border-radius:15px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
width:98%;
margin-top:10px;
min-height:100px;
background-color:white;
}


div.center {
margin:5px;
color:black;
max-width:600px;
background-color:white;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
height:auto;;
}

div.foot
{
margin-bottom:10px;
width:1024px;
color:white;
border-bottom-left-radius:15px;
border-bottom-right-radius:15px;
-webkit-border-bottom-left-radius:15px;
-webkit-border-bottom-right-radius:15px;
-moz-border-radius:0px 0px 15px 15px;
background-color:#6699CC;
}
a
{
text-decoration:none;
}
a.one_link
{
font-family:BOSANCB;
font-size:20px;
margin:10px;
margin-top:10px;
background-color:6699CC;
color:white;
}
a.one_link:hover
{
font-family:BOSANCB;
color:#FFCC99;
}

div.text
{
position:relative;
padding:5px;
}


Вот, пожалуйста =) теперь все работает
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Evansw
Evansw
Topic Starter сообщение 5.8.2010, 13:37; Ответить: Evansw
Сообщение #3


pavelsc
спасибо:)

Замечание модератора:
Эта тема была закрыта автоматически ввиду отсутствия активности в ней на протяжении 100+ дней.
Если Вы считаете ее актуальной и хотите оставить сообщение, то воспользуйтесь кнопкой
или обратитесь к любому из модераторов.
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Открыть тему
Тема закрыта
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0


Свернуть

> Похожие темы

  Тема Ответов Автор Просмотров Последний ответ
Открытая тема (нет новых ответов) Продам генератор постов для соц. сетей, работающий на контенте со сторонних сайтов, со встроенными своими рекламными блоками под выведение нужной рекламы
0 Tutich 2506 19.8.2021, 9:47
автор: Tutich
Открытая тема (нет новых ответов) Проблема с админкой
5 Prok 2335 29.7.2019, 20:04
автор: dvakarandasha
Открытая тема (нет новых ответов) Тема имеет прикрепленные файлыПроблема с таблицей, которая выводится через скрипт
7 vanchester 1339 15.2.2019, 19:06
автор: Artos_mw
Открытая тема (нет новых ответов) Тема имеет прикрепленные файлыПроблема в тегах при сохранении контента
1 Kord18 1426 13.3.2018, 18:19
автор: Evgeniy3200
Открытая тема (нет новых ответов) Тема имеет прикрепленные файлыПроблема вёрстки адаптивной страницы на divах
28 master-vek 4716 8.2.2018, 19:29
автор: master-vek


 



RSS Текстовая версия Сейчас: 19.4.2024, 6:26
Дизайн