<!--вывод сведений модуля с информацией об авторских правах в позиции footer --> <div id="bottom"> <jdoc:include type="modules" name="bottom" style="xhtml" / <p>Copyright: "Persik Bis Smak",2011 <p>Web design: <a href="malito: Ramus20@yandex.ru"> Ramus20@yandex.ru </a>
</div> </div>
</body> </html>
template.css
* { margin:0; padding:0; }
/*стандартные оформление ссылок и заголовков*/ h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { font-weight: normal; font-style: normal; text-decoration: none; } /*оформление всех ссылок на сайте*/ a{ text-decoration: underline; color:#759b14 ; } /*непосещенная ссылка*/ a:link{ text-decoration: underline; color: #759b14; } /*посещенная ссылка*/ a:visited, a.visited{ color:#759b14; } /*ссылка при наведении*/ a:hover, a.hover{ text-decoration: none; color: #b75554; }
/*оформление заднего плана и форматирование текста сайта и межстрочного расстояния*/ body { background-color:#c1dc77; margin:0 auto; padding:0; font-family:Arial, Helvetica, sans-serif ; line-height:1.3; color: #3d6a55;
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
Zeeeya
Здравствуйте! Помогите, пожалуйста, разобраться с отступами в меню.
При задании для текста меню padding-top:10px;
надпись меню опускается вниз, но появлеятся расстояние между картинками модулей.
И еще не могу понять, откуда появислся отступ в хроме и эксплорере сверху шапки сайта.
Высота блока меню и хедера задана такаяже, как изображения.
На всякий случай код:
index.php
template.css
* {
margin:0;
padding:0;
}
/*стандартные оформление ссылок и заголовков*/
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
{
font-weight: normal;
font-style: normal;
text-decoration: none;
}
/*оформление всех ссылок на сайте*/
a{
text-decoration: underline;
color:#759b14 ;
}
/*непосещенная ссылка*/
a:link{
text-decoration: underline;
color: #759b14;
}
/*посещенная ссылка*/
a:visited, a.visited{
color:#759b14;
}
/*ссылка при наведении*/
a:hover, a.hover{
text-decoration: none;
color: #b75554;
}
/*заголовки 1 уровня*/
h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover{
font:bold 18px Arial, Helvetica, sans-serif ;
font-style:italic;
color: #759b14;
text-align:center;
}
/*заголовки 2 уровня*/
h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover{
font-size:bold 16px;
color: #0c3e29;
font-style:italic;
text-align:center;
}
/*заголовки 3 уровня*/
h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover{
font-size: 18px;
color: #80a218;
text-align:center;
}
/*заголовки 4-6 уровня*/
h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover,h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover,h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover{
font-size: 125%;
color: #3b98b0;
}
/*оформление изображений в контенте*/
img {
border: 2px double #b8c97b; /* Параметры границы */
}
p img {
margin-right:10px;
}
/*оформление абзацев текста*/
p {
margin: 5px 0 10px 0x;
}
LI {
color: #265239; /* Цвет маркеров */
}
/*оформление заднего плана и форматирование текста сайта и межстрочного расстояния*/
body {
background-color:#c1dc77;
margin:0 auto;
padding:0;
font-family:Arial, Helvetica, sans-serif ;
line-height:1.3;
color: #3d6a55;
}
#wrap{
width: 1006px;
margin:0 auto;
overflow: hidden;
}
#header {
background: url(../images/header.jpg) no-repeat;
width:1006px;
height: 231px;
margin:0 auto;
}
#pole{
overflow: hidden;
background: url(../images/fon.jpg) repeat-y;
}
#user3{
margin:0 25px;
height: 50px;
}
#user4{
text-align:center;
margin:0 25px 0 25px;
height: 40px;
font-size:50px;
font-style: bold;
}
#user5{
margin:0 25px 0 25px;
}
#content {
margin:0 25px 0 65px;
width: 900px;
padding:5px 0 0 0px;
text-align:left;
overflow: hidden;
}
#bottom {
background: url(../images/bottom.jpg) no-repeat;
width:1006px;
height: 154px;
margin:0 auto;
padding-bottom: 35px;
padding-top: 50px;
text-indent: 16em; /* Отступ первой строки */
color: #3d6a55;
font-size: 12px;}
a.visited {
color: #ffffff;
}
menu.css
Очень жду помощи!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.