Почему h1 меньше по размеру чем h2

Автор NEgr0, 19-11-2012, 11:59:25

« назад - далее »

NEgr0Topic starter

Почему h1 меньше по размеру чем h2, в два раза наверное?
  •  


Morfiy

Потому что в CSS так заданы размеры текста. Может для начала сайт покажете?


msd777

Все дело в стилях CSS. Какие значения укажете, то и будет.

Kylaksizov

Хотел тоже поумничать, но опередили бл...н  8)

msd777

Цитата: Kylaksizov от 19-11-2012, 12:14:19
Хотел тоже поумничать, но опередили бл...н  8)

А быстрее надо шевелиться  ^-^


NEgr0Topic starter

Цитата: msd777 от 19-11-2012, 12:04:09
Все дело в стилях CSS. Какие значения укажете, то и будет.
А где именно в css можно поменять h1 и h2
  •  

Dolphinka

NEgr0, ну где у вас файл css находится, там и меняйте

NEgr0Topic starter

Я имеюю ввиду в коде что менять

/* 
Theme Name: analiz-ved
Theme URI: http://анализ-вэд.рф
Description: especially for the site анализ-вэд.рф
Author: Spytnik
*/

@import url('css/reset.css');
/***
style for body
***/
html{height: 100%;}
@media screen and (-webkit-min-device-pixel-ratio:0){html{height: 100%;}}/*Chrome & Safari*/
body {
    background-color: #ffffff;
    color: #4e4e4e;
    font-size: 14px;
    font-family: Arial;
    margin:auto;
    padding: 0;
    text-align: left;
    line-height: 14px;
    height: 100%;
}

a{
    color: #1429b5;
    text-decoration: none;
}
a:hover{
    color:#1429b5;
}
a:visited{
    color:#1429b5;
}
div{
    display:block;
}
/***
for contener
***/
.contener{
    width: 975px;
    margin:auto;
    height: 100%;
    min-height: 100%;
  height: auto !important;
}

.site{
    width: 975px;
    margin-top: 20px;
}
/***
for header
***/
.header{
    display: block;
    width: 975px;
    height: 140px;
    overflow: hidden;
}
.header h2{
    font-weight: normal;
}
.logo{
    width: 975px;
    height: 107px;
    border:0px;
}
.description{
    position: relative;
    font-size: 12px;
    font-style: italic;
    top: -30px;
    left: 5px;
}
.textwidget .contact-block{
    position: relative;
    font-size: 12px;
    font-style: italic;
    top: -105px;
    left: 670px;
    bottom:0px;
    color: #001b58;
    width: 240px;
}

.contact-block a{
    color: #001b58;
}
.menu-top-container{
    background: url(img/menu-top.jpg) no-repeat;
    position: relative;
    top:-86px;
    height: 30px;
    font-size: 14px;
}
.menu-top-container ul{
margin-left:7px;
    border-left: 1px solid #BE535E;
    height: 30px;
}
.menu-top-container ul a{
    display: block;
    padding-top:7px;
    padding-left: 24px;
    padding-right: 24px;
    color: #fff;
    text-align: center;
    max-width: 280px;
    border-right: 1px solid #BE535E;
    height: 23px;
}
.menu-top-container a:hover{
    background-image: url(img/menutop-a-hover.png);
    background-repeat: no-repeat;
}
.menu-top-container ul li{
    float: left;
}
*html .menu-top-container ul li{
    float: left;
display:inline;
}
.menu-top-container .active{
    background: url(img/top-menu-active.png) repeat-x;
}
/***
for content
***/
.content-block{
    border-left: 3px solid #C0C0C0;
    width: 704px;
    padding-left: 14px;
    float: right;
   
}
.content{
    width: 685px;
    background-color: #ededed;
    padding: 8px;
    font-size:12px;
    float: left;
}
.content h2{
    color: #000000;
    font-size: 16px;
    padding-bottom: 20px;
}
.meta{}
.post{}
.feedback{}

/***
for left bar
***/
.left{
    background-color: #fff !important;
    width: 240px;
    float: left;
    padding-right: 10px;
    clear: both;
}
.left h2{
    background-image: url(img/menu-top.jpg);
    background-position:0px 0px;
    height: 23px;
    color: #fff;
    text-align: center;
    padding-top: 7px;
    font-weight: normal;
    font-size: 14px;
}
#searchform{
    background: url(img/searchform.png) no-repeat;
    width: 238px;
    height: 30px;
    margin-bottom: 20px;
    font-style: italic;
}
.searchfield{
    border: 0px;
    margin: 5px 10px 0 2px;
    width: 180px;
    color: #C2C2C2;
}
.searchsubmit{
    border: 0px;
    background: url(img/loop-search.png) no-repeat;
    width: 31px;
    height: 23px;
    cursor: pointer;
}
.left li{
    list-style: none;
}
.left-niws{
    border-bottom: 5px solid #f3f3f3;
    padding: 10px 0;
}
.left-date{
    color: #930303;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 5px;
}
.left-url a{
    color: #232323;
    font-size: 12px;
}
.left-url a:hover{
color:black;
}
.fl{
    margin: 10px 0  10px 0 !important;
}
.fl img{
    padding:2px 7px;
}
.interes{
padding: 7px 0 7px 5px;
}
/***
for fotter
***/
.footer{
    margin-top: -124px;
    height: 124px;
    background-image: url(img/footer.jpg);
    width: 100%;
    clear:both;
    font-size: 12px;
    position: relative;
    bottom: 0;
}
.footer a{
    color: #840001;
    text-decoration: none;
}
.footer a:hover{
    text-decoration: underline;
}
.hfooter{
    height: 155px;
    clear: both;
}
.footer .footer-block{
    margin: auto;
    width: 975px;
}
.footer .textwidget{
    width: 310px;
    padding: 25px 0 0 5px;
    font-size: 11px;
    font-style: italic;
    float: left;
}
.menu-bottom-container{
    background: url(img/footer-menu.png) no-repeat;   
    margin: 25px  5px 0 0;
    width: 628px;
    height: 62px;
    float: right;
}
.menu-bottom-container ul{
    margin: 30px 0 0 50px;
    font-weight: bold;
}
.menu-bottom-container ul li{
    float: left;
    padding-left: 5%;
}
.menu-bottom-container .active{
    text-decoration: underline;
}
/***
img
***/
.alignleft{
    float: left;
    margin: 0px 7px 5px 0px;
    padding: 4px;
}
.alignright{
    float: right;
    margin: 0px 0px 5px 7px;
    padding: 4px;
}
.aligncenter{
    margin: auto;
}
/***
comments
***/
#commentform{
    width: 500px;
}
#commentform textarea{
    width: 500px;
}
#commentlist li{
    margin-top: 20px;
}
#commentlist p{
    padding-top: 10px;
    font-size: 12px;
}
#postcomment{
    margin-top:20px;
}
#authorinfo{
    padding-top: 30px;
    clear: both;
}
.feedback{
text-align: right;
margin-top:20px;
}
.contact-block span {
font-weight:bold;
font-size:14px;
}
  •  


Dolphinka



webuser

Цитата: Dolphinka от 19-11-2012, 13:38:43NEgr0, сайт покажите
я думаю он уже показал(это чтобы враги не нашли :))
Цитата: NEgr0 от 19-11-2012, 13:31:07Theme Name: analiz-ved
Theme URI: http://анализ-вэд.рф
Description: especially for the site анализ-вэд.рф
Author: Spytnik
я не экстрасенс :)