пожалуйста, помогите мне разобраться!
посмотрите на мой дневник -
ahietea.diary.ru/наверное по экстратопу понятно в чем проблема.
я хочу выравнять все остальное по картинке сверху, но никак не выходит!
ПОМОГИТЕ!!
что мне исправить?
мой кодhtml {height:100%; width:100%;text-align:center;background: #006699;}
body{margin:0 auto !important;padding:0 !important;text-align:left;width:640px;}
body.left{padding-left:10px !important;}
.left #wrapper{width:640px;margin: 0 0 0 -320px !important;padding:0 !important;position:relative;left:50%;//left:49.5%;}
.left #side{width:127px !important;margin:0 !important;}
.left #page-c{width:509px !important;padding:0 !important;}
.right #wrapper{width:640px;margin: 0 0 0 -320px !important;padding:0 !important;position:relative;left:50%;}
.right #side{width:127px !important;margin:0 !important;float:right}
.right #page-c{width:509px !important;padding:0 !important;}
.right #page-t {margin:0 !important;}
.comments {background: no-repeat; padding:0 0 0 0px !important; display:block; height:10px; }
#extratop {background: url("secure.diary.space/userdir/5/1/0/3/51031/242332...") no-repeat 0 0; padding-top: 280px !important;}
B { FONT-WEIGHT: bold; COLOR: #007093; }
U { COLOR: #4D1966; }
I { COLOR: #7EA6C9; }
body, p, td { font-family: Tahoma; font-size: 8pt; color: Black; overflow-x: hidden; y: scroll; }
A:link { color: #4682B4; text-decoration: none; cursor: default; }
A:visited { color: Navy; text-decoration: none; cursor: default; }
A:active { color: #6495ED; text-decoration: none; cursor: default; }
A:hover{ color: #708090; text-decoration: none; background-color: ; cursor: n-resize; background: #96B7F1; }
div.text{ padding-left:3.5px; }
textarea, option, select { color: #4169E1; font-size: 10pt; background-color: White; font-family: tahoma; border: 1pt dashed #000164; }
input { font-size: 10pt; background-color: White; font-family: tahoma; border: 1pt solid Grey; color: #8AAFF1; }
советую почитать
зы. код жесть.
расскажите, что такое:
B { FONT-WEIGHT: bold; COLOR: #007093; }
U { COLOR: #4D1966; }
I { COLOR: #7EA6C9; }
пожалуй это самый гениальный код, который я видел
можно еще добавить
I {font-style: italic;}
О боже мой мозг... марджины для body... о боже...
а?
border: 1pt - т.е. бордер зависит от шрифтов? оригинально.
body{margin:0 auto !important;padding:0 !important;text-align:left;width:640px;}
а кто придумал вот этот кусок кода? в нем наблюдается правильный подход к центрированному дизайну, но вот применение удручает.