Поиск Верного Пути
#91
Отправлено 04 Январь 2009 - 01:52
Помнишь, MrDog, с чего я начинал?
А дальчее - будет больчее!
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#92
Отправлено 04 Январь 2009 - 22:24
В чем моя АшиПка?
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#93
Отправлено 06 Январь 2009 - 20:23
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#94
Отправлено 07 Январь 2009 - 06:36
Находим в корневой папке сайта на локальном компьютере файл robots.txt, открываем его в Блокноте и дописываем в конце строку, указывающую домен основного зеркала Вашего сайта:
Host: вашсайт.ru
Опять-таки с www или без – дело вкуса, главное, чтобы в переменной $mosConfig_live_site и в robots.txt имена доменов полностью совпадали.
MrDog, ты поясни, пожалуйста, пока меня Спайдеры не похерили!
И еще. Полностью сменил дизайн. Шаблон для меня сложный, мог чего-нибудь напортачить, глянь, если время будет. А?
С РОЖДЕСТВОМ, господа!
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#95
Отправлено 07 Январь 2009 - 08:05
Disallow: /administrator/
Disallow: /cache/
Disallow: /components/
Disallow: /editor/
Disallow: /help/
Disallow: /images/
Disallow: /includes/
Disallow: /language/
Disallow: /mambots/
Disallow: /media/
Disallow: /modules/
Disallow: /templates/
Disallow: /installation/
Disallow: /Host:www.site-of.ru/
Поясняю, чего не понял с роботами: вместо Disallow написать allow, и все, что ли? А на все папки писать надо?
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#96
Отправлено 07 Январь 2009 - 15:11
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#97
Отправлено 07 Январь 2009 - 15:29
По второй просьбе не смотрел?
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#98
Отправлено 07 Январь 2009 - 17:56
- валидатор: <title... Информация про Web для начинающих - Главная</title>
- а просмотр в IE HTML кода: <title>Информация про Web для начинающих - Главная</title>
Как мне быть?
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#99
Отправлено 07 Январь 2009 - 20:41
Не-не-не! Запрещать ничего не хотел! Может не так понял инструкцию:
MrDog, ты поясни, пожалуйста, пока меня Спайдеры не похерили!
И еще. Полностью сменил дизайн. Шаблон для меня сложный, мог чего-нибудь напортачить, глянь, если время будет. А?
С РОЖДЕСТВОМ, господа!
Зеркало это если хочешь сделать по двум разным доменам один сайт, т.е. набирает юзверь
www.SAIT.com или www.SAIT.ru и попадаем на один и тот же сайт
для этого кстати надо писать не Disallow: /Host:www.site-of.ru/ а просто Host:www.site-of.ru
Но у тебя один домен, так что это писать вообще не надо!!!
Это бывает полезно если сайт в зоне com и его долго яша не находит, хотя тоже весьма кривой способ но иногда всилу каких то особенностей яши срабатывает.
Читать основной текст стало удобней, но в целом внешне шаблон мне не нравится.
Посмотрел ошибки в валидаторе, фигня, не парься на выдачу, индексацию и отображение влияние нулевое. Если хочешь можешь озаботится испралвениями, но это так, баловство.
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#100
Отправлено 07 Январь 2009 - 20:57
Это внушает оптимизм. Займусь контентом. Благодарю, стало гораздо спокойнее. А внешний вид - так моднее. Как мне КАЦА.Посмотрел ошибки в валидаторе, фигня, не парься на выдачу, индексацию и отображение влияние нулевое. Если хочешь можешь озаботится испралвениями, но это так, баловство.
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#101
Отправлено 10 Январь 2009 - 16:13
MrDog, самый прикол: в Яше задал запрос "сайт про динамичные и статичные сайты". В результатах выдачи получил себя на первом месте Было это 09.01.09
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#102
Отправлено 11 Январь 2009 - 00:08
Попробовал посмотреть в IE6 – “фигвам”, в Opera & FF показываетВ целях приближения к кроссбраузерности, подправил CSS шаблона. Теперь IE 7 и Мозилла видят его одинаково. Опера слегка косоротится, да пока что, хай с ней! Под форум (пока от Адептуса) задал адаптированный шаблон, стало удобнее. Посмотрите на http://www.site-of.ru/!
#103
Отправлено 11 Январь 2009 - 00:36
Странно, мой товарищ с 6-м Ишаком все увидел. А какого характера фигвам?Попробовал посмотреть в IE6 – “фигвам
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#104
Отправлено 11 Январь 2009 - 09:55
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#105
Отправлено 11 Январь 2009 - 20:36
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#106
Отправлено 11 Январь 2009 - 21:37
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#107
Отправлено 11 Январь 2009 - 23:57
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#108
Отправлено 12 Январь 2009 - 00:10
Странно, мой товарищ с 6-м Ишаком все увидел. А какого характера фигвам?
Я не знаю, что он увидел, а я сегодня опять увидел только это [AD] (но исходный код показывает), хотя в Opera & FF видно все (что все - понять трудно, т.к. в IE6 ничего не видно) , ссылка где можно проверить кроссбраузерность http://browsershots.org/
Проверил ради интереса на втором компьютере - в IE5.5 & IE6 - такой-же "фигвам", в IE7 видно нормально
Сообщение отредактировал Hunter: 12 Январь 2009 - 00:23
#109
Отправлено 12 Январь 2009 - 18:54
Зарядил урлу - фигвам. Ждал минут 15-20.
Вот такой вот вопрос:
[quote]W3C CSS Validator results for http://www.site-of.ru/ (CSS level 2.1)
Sorry! We found the following errors (6)
URI : http://www.site-of.ru/templates/firstremeik/css/template_css.css
13* html #mainout Value Error : http://www.w3.org/TR/CSS21/visudet.html#propdef-width Lexical error at line 10, column 47. Encountered: "&" (38), after : "" && document.documentElement.clientHeight) ? (document.documentElement.clientWidth 994) ? "994px" : (( document.documentElement.clientWidth > 1950 ) ? "1950px" : "auto") : (document.body.clientWidth 994) ? "994px" : (( document.body.clientWidth > 1950 ) ? "1950px" : "auto") );
14* html #mainout Value Error : http://www.w3.org/TR/CSS21/visudet.html#propdef-width Parse error - Unrecognized }
88#map Value Error : http://www.w3.org/TR/CSS21/visuren.html#propdef-left only 0 can be a length. You must put an unit after your number : 1
89#map Value Error : http://www.w3.org/TR/CSS21/visuren.html#propdef-top only 0 can be a length. You must put an unit after your number : 1
497#rightmodules Value Error : http://www.w3.org/TR/CSS21/visuren.html#propdef-position Too many values or values are not recognized : relative 100% 0
677Parse error - Unrecognized *html div.module div div div h3, .moduletable h3 { padding-bottom:0; }[/quote]
Перевести аглицкую абракадабру на русскую могу, но связать со смыслом не могу. Подскажите, на че вона материться? Что мне нужно читать по CSS или Reset CSS? У Мержевича и Квентора ничего не нашел наводящего.
Сообщение отредактировал NEW: 12 Январь 2009 - 19:00
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#110
Отправлено 12 Январь 2009 - 20:13
Value Error - ошибка значения, у тебя xhtml значит нужно прописать все явно
Parse error - ошибка считывания
*html div.module div div div h3, .moduletable h3 { padding-bottom:0; }
тут я так понимаю стоит написать
*_html div.module div div div h3, .moduletable h3 { padding-bottom:_0; }
вместо _ пробел естественно, далее после нуля стоит добавить единицы измерения px или чего у тебя там есть ну и вообще в данной конструкции избыточность присутствует. Нафига три div подряд?
Конструкции CSS 3 ты тоже что ли использовать пытаешся? Если да, то нафига?
Сообщение отредактировал MrDog: 12 Январь 2009 - 20:14
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#111
Отправлено 12 Январь 2009 - 21:03
{
margin: 0;
padding: 0;
}
* html #mainout {
width: 80em;
width: expression((document.documentElement && document.documentElement.clientHeight) ?
(document.documentElement.clientWidth < 994) ? "994px" : (( document.documentElement.clientWidth > 1950 ) ? "1950px" : "auto") :
(document.body.clientWidth < 994) ? "994px" : (( document.body.clientWidth > 1950 ) ? "1950px" : "auto")
);
}
html {
font-size:100.01%;
}
body {
text-align:left;
background-color:#fff;
color:#000;
font-size: 76.1%;
font-family: Verdana, Arial, Helvetica, sans-serif;
line-height: 1.3em;
margin: 1em 0;
}
#mainout {
width:99%;
background-color:#fff;
margin:0 auto;
text-align:left;
height:100% !Important;
height:1%;
overflow:hidden;
min-width: 994px;
}
.padding {
padding:1px;
}
.clear {
clear:both;
}
h1, h2, h3, h4, h5, h6, p, blockquote, label, ol, dl, address {
margin: 0.8em 0;
}
form {
padding:2em;
margin:0;
}
#login {
margin:0;
text-align:center;
}
.inputbox {
background-color:#F2EBDF;
border-color:#EBE0CD;
border-style:solid;
color:#1A140B;
}
.inputbox:hover {
background-color:#EBE0CD;
color:#1A140B;
border-color:#F2EBDF;
}
select {/*Auswahlbox*/
background-color:#F2EBDF;
border-color:#EBE0CD;
border-style:solid;
color:#1A140B;
}
#mod_templatechooser_jos_change_template {
background-color:#F2EBDF;
border-color:#EBE0CD;
border-style:solid;
color:#1A140B;
}
#mod_templatechooser_jos_change_template:hover {
background-color:#EBE0CD;
color:#1A140B;
border-color:#F2EBDF;
}
marquee {
height:200px;
width:auto;
}
#map {
position:absolute;
left:1;
top:1;
overflow:hidden;
margin-top:50px;
margin-left:30px;
}
ul {
text-align:left;
font-size:1em;
}
li {
background:url(../images/narrow.png) 0 5px no-repeat;
padding-left:20px;
list-style:none;
}
li:hover {
background:url(../images/narrow_hover.png) 0 5px no-repeat;
}
.rahmen li {
background:url(../images/rarrow.png) 0 5px no-repeat;
}
.rahmen li:hover {
background:url(../images/rarrow_hover.png) 0 5px no-repeat;
}
fieldset {
padding: 0.8em;
}
a {
text-decoration: none;
color:#9900CC;
}
a:hover {
text-decoration: none;
color:#B40505;
}
h1, .componentheading {
font-size: 1.7em;
line-height: 1.7em;
font-weight:bold;
color:#660066;
}
h2, .contentheading {
font-size: 1.5em;
line-height: 1.5em;
}
h3 {
font-size: 1.3em;
line-height: 1.3em;
}
h4 {
font-size: 1.2em;
line-height: 1.2em;
}
h5 {
font-size: 1.1em;
line-height: 1.1em;
}
h6 {
font-size: 0.8em;
line-height: 0.8em;
font-weight: bold;
}
.small, .createdate, .modifydate, .mosimage_caption {
font: 0.8em Arial, Helvetica, sans-serif;
color: #1A140B;
}
td {
padding:0;
margin:0;
}
table {
padding:0;
margin:0;
}
img {
margin:0;
padding:0;
}
.content_rating {
font-size: 10px;
color: #1A140B;
}
.content_vote {
font-size: 10px;
}
.poll {
margin:0;
padding:0;
}
.error {
font-style: italic;
text-transform: uppercase;
padding: 5px;
color: #8000FF;
font-size: 14px;
font-weight: bold;
}
.highlight {
background-color: #ff0;
color: #2b1c04;
padding: 0px 2px;
}
.code {
background-color: #fff;
color:#000;
border: 1px solid #fbedd9;
}
hr {/*Trennstrich*/
width: 90%;
margin:1% 5%;
}
hr.separator {
width: 40%;
margin:1% 5%;
}
.blog_more {
text-align:left;
font-size: 14px;
margin:0;
}
.blogsection {
text-align: left;
font-size: 12px;
}
.blog_more ul li {
list-style: none;
background-image: none;
}
a.readon {
text-align: left;
font-size: 14px;
text-decoration: none;
line-height: 18px;
padding-left: 14px;
margin-top: 10px;
text-decoration: none;
font-weight: bold;
}
.sectiontableentry1 {
text-align: left;
background: none;
font-size: 12px;
color:#1A140B;
padding: 1px;
}
.sectiontableentry2 {
background: none;
font-size: 12px;
color:#5B4626;
text-align: left;
padding: 1px;
}
.syndicate div a img {
margin:0;
padding:0;
}
a.category:link, a.category:visited {
font-weight: bold;
font-size: 12px;
text-align: center;
}
.categorytitle {
font-weight: bold;
font-size: 14px;
}
div.componentheading {
text-align:center;
}
.contentpaneopen {
margin:0;
padding:0;
}
.contenttoc {
padding:2px;
white-space:nowrap;
}
.pagenav {
font-size: 12px;
font-weight: bold;
}
.button {
background-color:#ccc;
border-color:#ebe0cd;
border-style:solid;
color:#1a140b;
margin-top:6px;
}
.button:hover {
background-color:#ebe0cd;
color:#765B30;
border-color:#f2ebdf;
}
.back_button a:link, .back_button a:visited {
color: #1a140b;
font-size: 1em;
font-weight: bold;
width: 74px;
line-height: 21px;
height: 21px;
margin: 10px;
}
.back_button a:hover {
color: #765B30;
}
.header {
width:100%;
}
#headleft {
height:153px;
width:100%;
float:left;
background: url(../images/header_left.png) no-repeat;
margin:0;
padding:0;
}
.header h1 {
float:left;
font-family: Helvetica, Arial, sans-serif;
text-align:center;
font-size: 3em;
font-weight:bold;
color: #FFCC33;
margin-top:-107px;
padding-left:150px;
/*text-indent:-5000px;*/
}
* html .header h1 {
padding-left:10px;
}
*+html .header h1 {
padding-left:10px;
}
#headright {
height:153px;
width:296px;
float:right;
background: url(../images/header_right.png) no-repeat;
}
#logo {
width:118px;
height:118px;
float:left;
margin-top:-135px;
margin-left:24px;
background: url(../images/logo.png) no-repeat;
}
.search {
float:left;
width: auto;
height: 35px;
overflow: hidden;
margin-top:-5px;
margin-left: -1px;
}
.search .inputbox {
width: 191px;
height: 35px;
line-height: 18px;
padding-left: 40px;
padding-top: 5px;
font-size: 14px;
font-weight:bold;
background: url(../images/search.png) no-repeat;
border: none;
color:#FFCC33;
}
h\tml:f\irst-child>body .search .inputbox {
padding:0 0 0 44px; margin:0;
}
ul#mainlevel-nav {
text-decoration: none;
list-style: none;
padding: 0;
margin: 0 12px;
float:right;
}
ul#mainlevel-nav li {
width:123px;
float:left;
font-size:0.9em;
height:29px;
line-height:29px;
margin:0;
padding:0;
display:inline;
}
ul#mainlevel-nav li a:link, ul#mainlevel-nav li a:visited {
font-weight:bold;
text-align:center;
text-decoration:none;
white-space:nowrap;
display:block;
width:100%;
overflow:hidden;
color: #ffcc33;
margin:0;
padding:0;
background: url(../images/hornav.png);
}
ul#mainlevel-nav li a:hover {
white-space:nowrap;
margin:0;
padding:0;
color: #FF0000;
background-position: -123px 0;
}
.bread {
width:100%;
}
#breadleft {
height:37px;
width:100%;
float:left;
background: url(../images/breadleft.png) top left no-repeat;
padding:0;
margin:0;
}
#breadtext {
float:left;
font-size:1em;
text-decoration:none;
font-style:italic;
line-height:1em;
margin-top:-30px;
display:inline;
}
.pathway {
font-size: 1em;
line-height: 16px;
color: #00ffff;
font-weight: bold;
text-decoration: none;
margin-left:12px;
}
a.pathway:link, a.pathway:visited {
color: #00CCCC;
font-weight: bold;
font-size:1em;
}
a.pathway:hover {
color: #fff;
font-weight: bold;
}
#breadright {
height:37px;
width:16px;
float:right;
background: url(../images/breadright.png) top right no-repeat;
}
#mainarea {
float:left;
width:80%;
background: #fff;
position:relative;
}
#contentarea {
float:right;
width:75%;
overflow:hidden;
background: #fff;
color:#000;
}
div.rahmen h3 {
font-family: Helvetica, Arial, sans-serif;
font-size: 1.2em;
font-weight: bold;
color: #f2ebdf;
margin-bottom:4px;
}
div.rahmen {
background: url(../images/ltop_border.png) 0 0 no-repeat;
margin: 5px 0;
padding:0;
}
div.rahmen div {
background: url(../images/rtop_border.png) 100% 0 no-repeat;
margin-bottom:-2px;
}
div.rahmen div div {
background: url(../images/lbottom_border.png) 0 100% no-repeat;
}
div.rahmen div div div {
background: url(../images/rbottom_border.png) 100% 100% no-repeat;
padding:8px 17px 12px 15px;
height:100% !Important;
height:1%;
}
div.rahmen div div div div {
background:none;
margin:0;
padding:0;
height:100% !Important;
height:1%;
}
#leftmodules {
float:left;
text-align:left;
width:24.99%;
overflow:hidden;
background: #fff;
margin-top:-3px;
}
h\tml:f\irst-child>body #leftmodules {
width:25%;
}
#rightmodules {
float:right;
text-align:right;
width:20%;
position:relative 100% 0;
overflow:hidden;
background: #fff;
margin-top:-3px;
}
.foot {
width:100%;
}
#footleft {
height:58px;
width:100%;
float:left;
background: url(../images/footer_left.png) top left no-repeat;
margin:0;
padding:0;
}
#back {
float:left;
font-family: Helvetica, Arial, sans-serif;
text-align:center;
font-size:11px;
line-height:11px;
color: #ccc;
margin-top:-48px;
margin-left:27%;
display:inline;
width:auto;
}
*+html #back {
margin-left:27%;
}
* html #back {
margin-left:27%;
}
h\tml:f\irst-child>body #back {
margin-left:27%;
}
#back p {
font-family: Helvetica, Arial, sans-serif;
font-size:11px;
color: #f2ebdf;
margin-top:-1px;
margin:0;
display:inline;
}
#back a {
color:#ccc;
margin:0;
}
#back a:hover {
color:#ccc;
}
#footright {
height:58px;
width:115px;
float:right;
background: url(../images/footer_right.png) top right no-repeat;
}
#topmodule {
width:498px;
float:right;
margin-top:-144px;
margin-right:46px;
}
#footermodule {
padding:68px 4px 0;
}
* html #footermodule {
padding:0;
}
*+html #footermodule {
padding:0;
}
#advert2module1 {
width:100%;
float:left;
}
#advert2module2 {
width:49.99%;
float:left;
}
h\tml:f\irst-child>body #advert2module2 {
width:50%;
}
#advert2module3 {
width:33.33%;
float:left;
}
#advert2module4 {
width:24.99%;
float:left;
}
h\tml:f\irst-child>body #advert2module4 {
width:25%;
}
#user1module1 {
width:100%;
float:left;
}
#user1module2 {
width:49.99%;
float:left;
}
h\tml:f\irst-child>body #user1module2 {
width:50%;
}
#user1module3 {
width:33.33%;
float:left;
}
#user1module4 {
width:24.99%;
float:left;
}
h\tml:f\irst-child>body #user1module4 {
width:25%;
}
#user2module1 {
width:100%;
float:left;
}
#user2module2 {
width:49.99%;
float:left;
}
h\tml:f\irst-child>body #user2module2 {
width:50%;
}
#user2module3 {
width:33.33%;
float:left;
}
#user2module4 {
width:24.99%;
float:left;
}
h\tml:f\irst-child>body #user2module4 {
width:25%;
}
#user5module1 {
width:100%;
float:left;
}
#user5module2 {
width:49.99%;
float:left;
}
h\tml:f\irst-child>body #user5module2 {
width:50%;
}
#user5module3 {
width:33.33%;
float:left;
}
#user5module4 {
width:24.99%;
float:left;
}
h\tml:f\irst-child>body #user5module4 {
width:25%;
}
#advert1 {
width:100%;
}
.moduletable {
text-align:center;
padding-bottom:2px;
margin-right:8px;
}
div.module div div div h3, .moduletable h3 {
font-family: Helvetica, Arial, sans-serif;
font-size: 1.2em;
font-weight: bold;
color: #009999;
background-color:transparent;
line-height: 1.2em;
padding-bottom: 4px;
}
*html div.module div div div h3, .moduletable h3 {
padding-bottom:0;
}
div.module {
text-align:center;
background: url(../images/ltop.png) 0 0 no-repeat;
margin: 5px 2px;
padding:0;
}
div.module div {
background: url(../images/rtop.png) 100% 0 no-repeat;
margin-bottom:-2px;
}
div.module div div {
background: url(../images/lbottom.png) 0 100% no-repeat;
}
div.module div div div {
background: url(../images/rbottom.png) 100% 100% no-repeat;
padding:9px 8px 20px 6px;
height:100% !Important;
height:1%;
}
div.module div div div div {
background:none;
margin:0;
padding:0 5px;
height:100% !Important;
height:1%;
}
a.mainlevel {
display: block;
padding-left: 5px;
margin:0;
width:100%;
text-align:left;
height:25px;
line-height:30px;
font-weight:bold;
list-style:none;
}
a.mainlevel:link, a.mainlevel:visited {
background: #fff;
color: #0000FF;
text-decoration:underline;
list-style:none;
}
a#active_menu.mainlevel {
color:#FF0000;
background:#fff;
}
a.mainlevel:hover {
color: #330099;
text-decoration:none;
}
a.sublevel {
display:inline;
text-align: left;
padding:0;
margin:0;
font-weight:bold;
font-size:0.8em;
list-style:none;
}
a.sublevel:link, a.sublevel:visited {
color: #B40505;
text-decoration:none;
list-style:none;
}
a#active_menu.sublevel {
color:#F2EBDF;
}
a.sublevel:hover {
color: #D7C19D;
}
div.module div div div img {
padding:0;
margin-top:22px;
}
div.module div div div div.syndicate div {
margin-top:-22px;
padding:0;
}
div#leftmodules div.padding div.module div div div table tbody tr td div {
background:#B9AA8D;
margin:0;
padding:0;
}[/quote]
Еще есть editor_content.css, left_css.css, leri_css.css, right_css.css
[quote]*_html div.module div div div h3, .moduletable h3 { padding-bottom:_0; }
вместо _ пробел естественно, далее после нуля стоит добавить единицы измерения px или чего у тебя там есть ну и вообще в данной конструкции избыточность присутствует. Нафига три div подряд?[/quote]
Ну я то ведь считаю, что это как раз для IE-к древнее 7-го, загрызи их всех Мозилла!
К нулю точно надо приписывать ед.измер.?
Пока полез пробелы расставлять на сайте.
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#112
Отправлено 12 Январь 2009 - 21:35
width: expression((document.documentElement && document.documentElement.clientHeight) ?
(document.documentElement.clientWidth < 994) ? "994px" : (( document.documentElement.clientWidth > 1950 ) ? "1950px" : "auto") :
(document.body.clientWidth < 994) ? "994px" : (( document.body.clientWidth > 1950 ) ? "1950px" : "auto")
Нафига? нет expression дело конечно в ряде случаев бесспорно полезное, но не проще динамику процентами организовать? Вообще файлик у тебя уж больно здоровый и сложный получается, покопай его хорошенько, скорее всего многое можно просто убрать.
Сообщение отредактировал MrDog: 12 Январь 2009 - 21:38
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#113
Отправлено 13 Январь 2009 - 00:01
ед. измерения если прописаны, то по логике и стандартам (во всяком случае стриковским) их стоит писать, друго дело что ноль он и в африке ноль, просто сам понимаешь не человек проверяет а прога. Ну а учитывая наличие хаков под ишак либо иные браузеры в валидатор лазить вообще бессмысленно. Да и лучший валидатор - браузер пользователя. Прикола ради главную страницу майла (или блогов маэйла, ща уже не помню) заппихни в валидатор, офигеешь от количества ошибок и варнингов, с полтысячи их там, ну так и че, страница то корректно отображается всеми браузерами.
Нафига? нет expression дело конечно в ряде случаев бесспорно полезное, но не проще динамику процентами организовать? Вообще файлик у тебя уж больно здоровый и сложный получается, покопай его хорошенько, скорее всего многое можно просто убрать.
любые CSS с хаками для IE лучше заводить отдельно.
А касаемо валидации - ни один сайт с CMS ее нормально не пройдет (ИМХО), если на этом сайте более 1-й страницы
Выход - сверстать макет отдельно и проверить валидатором, я обычно так и делаю. А потом из макета шаблон клепать
Сообщение отредактировал Hunter: 13 Январь 2009 - 00:08
#114
Отправлено 13 Январь 2009 - 00:04
Зарядил урлу - фигвам. Ждал минут 15-20.
Вот такой вот вопрос:
Перевести аглицкую абракадабру на русскую могу, но связать со смыслом не могу. Подскажите, на че вона материться? Что мне нужно читать по CSS или Reset CSS? У Мержевича и Квентора ничего не нашел наводящего.
Да там по-более ждать надо, время ожидания на этом ресурсе указыватся приблизительно, надо только потом по ссылке зайти и скриншоты скачать
#115
Отправлено 13 Январь 2009 - 01:03
Не въезжаю - специально для IE ниже 7?
[quote]Да там по-более ждать надо, время ожидания на этом ресурсе указыватся приблизительно, надо только потом по ссылке зайти и скриншоты скачать[/quote]
"Сенька бери мяч"! - как говорят англичане.
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#116
Отправлено 13 Январь 2009 - 09:11
В корне не согласен, элементарно решается, проблема просто в другом, валидатор есть бот тупой по стандартам работающий, на у мы прекрасно знаем что разные браузеры по разному отображением занимаются, да тенденция к все большей идентичности есть, но не стоит забывать об инертности пользователей. В ишаках пятых и особенно шестых по прежнему полно народу сидит.
Так как верстаем то мы все равно ручками, во всяком случае првки вносим, то пропустить пробел или поставить знак иного кода, но одного внешнего вида элементарно, сам на php пять лет пишу до сих пор иногда мелоч всякую типа ; теряю. Собственно по логике разработчики стандартов должны сразу визуальные среды разработки выпускать которые автоматом проверку кода делают, валидаторы и есть автомат проверки, среду добавить осталось, а то в качестве нее сам верстальщик выступает.
[quote]Не въезжаю - специально для IE ниже 7[/quote]
он имеет в виду загнать в валидатор страницу index.php но без вывода в нее контента от кмс.
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#117
Отправлено 13 Январь 2009 - 11:22
Теперь въехал.
MrDog, заковырялся я дурью маяться, сел верстать "с чистого листа". К внешнему виду хочу прийти наипростейшему, как сейчас.
Вопрос на старте:
Я знаю, что есть разные стандарты
[quote]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd%22>[/quote]
[quote]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22>[/quote]
[quote]<!DOCTYPE HTML PUBLIC > "-//W3C//DTD HTML 4.01 Transitional//EN">[/quote]
Указание какого-либо из них в индексе влияет на поведение браузера или нет?
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#118
Отправлено 13 Январь 2009 - 12:08
http://www.uran-portfolio.ru/
http://www.site-of.ru/
#119
Отправлено 13 Январь 2009 - 19:01
Разработка ПО - договорная
Аудит сайта - бросить взгляд бесплатно, сделать отчет от 500
Контакты: Ася - 306218ЧетыреПятьЗеро Мыло - ник+@bk.ru
#120
Отправлено 14 Январь 2009 - 00:51
Ну не он, а я (будь любезен ники обозначать, здесь Вам не тут). А я имел ввиду сврестать страницу шаблона просто в классическом XHTML и проверить ее валидатором. А спецом стили (CSS) надо добавлять для всех версий IE отдельно, так как IE7 уже многое и без хаков понимает.он имеет в виду загнать в валидатор страницу index.php но без вывода в нее контента от кмс.
С точки зрения программирования на PHP, я тоже кое-чего секу, хотя и не пять лет, до этого на ассемблере кое-что делал, поэтому в корне не согласен.
Так вот, что можно сказать (написать) про это, и как это решить на базе CMS Битрикс.
++++++++++++++++
Line 258, Column 88: general entity "country" not defined and no default entity.
…l=lenta.ru/news/2009/01/13/comments/&country=Russia&cat=5">В видеоблоге Медве✉
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Line 258, Column 95: reference not terminated by REFC delimiter.
….ru/news/2009/01/13/comments/&country=Russia&cat=5">В видеоблоге Медведева за✉
If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
Line 258, Column 95: reference to external entity in attribute value.
….ru/news/2009/01/13/comments/&country=Russia&cat=5">В видеоблоге Медведева за✉
This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
Line 258, Column 95: reference to entity "country" for which no system identifier could be generated.
….ru/news/2009/01/13/comments/&country=Russia&cat=5">В видеоблоге Медведева за✉
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Line 258, Column 87: entity was defined here.
…rl=lenta.ru/news/2009/01/13/comments/&country=Russia&cat=5">В видеоблоге Медв Line 258, Column 103: cannot generate system identifier for general entity "cat".
…/2009/01/13/comments/&country=Russia&cat=5">В видеоблоге Медведева зарегистри✉
An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (. The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".
Entity references start with an ampersand (&) and end with a semicolon (. If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.
If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.
Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.
Line 258, Column 103: general entity "cat" not defined and no default entity.
…/2009/01/13/comments/&country=Russia&cat=5">В видеоблоге Медведева зарегистри✉
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Line 258, Column 106: reference not terminated by REFC delimiter.
…09/01/13/comments/&country=Russia&cat=5">В видеоблоге Медведева зарегистриров✉
If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
Line 258, Column 106: reference to external entity in attribute value.
…09/01/13/comments/&country=Russia&cat=5">В видеоблоге Медведева зарегистриров✉
This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
++++++++++++
это я проверял спецом свой http://www.web4us.ru/
Здесь явно проблема CMS, и об этом пишут на всех формах о CMS - Джумла, Дрюпал, Битрикс.
Думаю заморачиваться этим не стОит и лучше потратить время на оптимизацию.
++++++++++++
To New: Для всех IE надо делать отдельные CSS, а для IE7 совсем отдельный, т.к. он уже многое понимает.
ЗЫ Это напИсал для NEW, так как в грызню и мерялки у кого лучше и больше вступать не планирую
Сообщение отредактировал Hunter: 14 Январь 2009 - 00:58
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных