Jusava |
Дата: Пятница, 28.06.2013, 15:37 | Сообщение # 1 |
Сообщений: | 41 |
Награды: | 0 |
Репутация: | 0 |
Статус: | Оффлайн |
|
Я создал сайт на Ucoz c расширением экрана 1024*768, но если просматривать cайт с расширением экрана 1366*768 то контент сайта выглядит по другому. Как зафиксировать ширину сайта чтобы она была 1024 и не менялась в зависимости от расширений экрана?
|
|
Alexandr_S |
Дата: Пятница, 28.06.2013, 15:52 | Сообщение # 2 |
Сообщений: | 274 |
Награды: | 1 |
Репутация: | 219 |
Статус: | Оффлайн |
|
указать ширину сайта, css стили
|
|
Jusava |
Дата: Пятница, 28.06.2013, 16:05 | Сообщение # 3 |
Сообщений: | 41 |
Награды: | 0 |
Репутация: | 0 |
Статус: | Оффлайн |
|
Цитата (Alexandr_S) указать ширину сайта, css стили
А где именно в css находиться ширина сайта?
мой сss:
/* General Style */ a:link {text-decoration:underline; color:#E4FAFD;} a:active {text-decoration:underline; color:#E4FAFD;} a:visited {text-decoration:underline; color:#E4FAFD;} a:hover {text-decoration:none; color:#FFFFFF;}
td, body {font-family:verdana,arial,helvetica; font-size:8pt; color:#8C8C9C} form {padding:0px;margin:0px;} input,textarea,select {vertical-align:middle; font-size:8pt; font-family:verdana,arial,helvetica;} .copy {font-size:7pt;}
a.noun:link {text-decoration:none; color:#E4FAFD} a.noun:active {text-decoration:none; color:#E4FAFD} a.noun:visited {text-decoration:none; color:#E4FAFD} a.noun:hover {text-decoration:underline; color:#FFFFFF} .mframe1 {padding:2 10 30 10px;} hr {color:#464646;height:1px;} label {cursor:pointer;cursor:hand}
.blocktitle {font-family:Verdana,Sans-Serif;color:#FFFFFF;font-size:13px;font-weight:bold; padding-left:22px; background: url('/.s/t/731/22.gif') no-repeat 5px 2px;}
.menut0 {} .menut {padding:2 3 3 15px;} .mframe {padding:2 0 30 30px;} .bannerTable {width:468;height:60;}
.menu1 {font-weight:bold;font-size:8pt;font-family:Arial,Sans-Serif;} a.menu1:link {text-decoration:underline; color:#E4FAFD} a.menu1:active {text-decoration:underline; color:#E4FAFD} a.menu1:visited {text-decoration:underline; color:#E4FAFD} a.menu1:hover {text-decoration:none; color:#FFFFFF} /* ------------- */
/* Menus */ ul.uz, ul.uMenuRoot {list-style: none; margin: 0 0 0 0; padding-left: 0px;} li.menus {margin: 0; padding: 0 0 0 13px; background: url('/.s/t/731/23.gif') no-repeat 0px 2px; margin-bottom: .6em;} /* ----- */
/* Site Menus */ .uMenuH li {float:left;padding:0 5px;}
.uMenuV .uMenuItem {font-weight:normal;} .uMenuV li a:link {text-decoration:none; color:#E4FAFD} .uMenuV li a:active {text-decoration:none; color:#E4FAFD} .uMenuV li a:visited {text-decoration:none; color:#E4FAFD} .uMenuV li a:hover {text-decoration:underline; color:#FFFFFF}
.uMenuV .uMenuItemA {font-weight:bold;} .uMenuV a.uMenuItemA:link {text-decoration:none; color:#FFFFFF;} .uMenuV a.uMenuItemA:visited {text-decoration:none; color:#FFFFFF} .uMenuV a.uMenuItemA:hover {text-decoration:underline; color:#FFFFFF} .uMenuV .uMenuArrow {position:absolute;width:10px;height:10px;right:0;top:3px;background:url('/.s/img/wd/1/ar1.gif') no-repeat 0 0;} .uMenuV li {margin: 0; padding: 0 0 0 13px; background: url('/.s/t/731/23.gif') no-repeat 0px 2px; margin-bottom: .6em;} /* --------- */
/* Module Part Menu */ .catsTd {padding: 0 0 6px 13px; background: url('/.s/t/731/23.gif') no-repeat 0px 2px;} .catName {font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:11px;} .catNameActive {font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:11px;} .catNumData {font-size:7pt;} .catDescr {font-size:7pt; padding-left:10px;} a.catName:link {text-decoration:none; color:#E4FAFD;} a.catName:visited {text-decoration:none; color:#E4FAFD;} a.catName:hover {text-decoration:underline; color:#FFFFFF;} a.catName:active {text-decoration:none; color:#E4FAFD;} a.catNameActive:link {text-decoration:none; color:#FFFFFF;} a.catNameActive:visited {text-decoration:none; color:#FFFFFF;} a.catNameActive:hover {text-decoration:underline; color:#FFFFFF;} a.catNameActive:active {text-decoration:none; color:#FFFFFF;} /* ----------------- */
/* Entries Style */ .eBlock {} .eTitle {font-family:Verdana,Arial,Sans-Serif;font-size:13px;font-weight:bold;color:#E4FAFD; padding: 0 0 0 18px; background: url('/.s/t/731/24.gif') no-repeat 0 1px;} .eTitle a:link {text-decoration:underline; color:#E4FAFD;} .eTitle a:visited {text-decoration:underline; color:#E4FAFD;} .eTitle a:hover {text-decoration:none; color:#FFFFFF;} .eTitle a:active {text-decoration:underline; color:#E4FAFD;}
.eText {text-align:justify; padding:5px;border-top:1px dashed #4D4D56;}
.eDetails {border-top:1px dashed #2B2B30;border-bottom:1px dashed #2B2B30;color:#60606B;padding-bottom:5px;padding-top:3px;text-align:left;font-size:7pt;} .eDetails1 {border-top:1px dashed #2B2B30;border-bottom:1px dashed #2B2B30;color:#60606B;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;} .eDetails2 {border-top:1px dashed #2B2B30;border-bottom:1px dashed #2B2B30;color:#60606B;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;}
.eRating {font-size:7pt;}
.eAttach {margin: 16px 0 0 0; padding: 0 0 0 15px; background: url('/.s/t/731/25.gif') no-repeat 0px 0px;} /* --------------- */
/* Entry Manage Table */ .manTable {border:1px solid #4D4D56;background:#1D1D20;} .manTdError {color:#FF0000;} .manTd1 {} .manTd2 {} .manTd3 {} .manTdSep {} .manHr {} .manTdBrief {} .manTdText {} .manTdFiles {} .manFlFile {} .manTdBut {} .manFlSbm {} .manFlRst {} .manFlCnt {} /* ------------------ */
/* Comments Style */ .cAnswer {color:#636363;padding-left:15px;padding-top:4px;font-style:italic;}
.cBlock1 {background:#1D1D20;border:1px solid #4D4D56;} .cBlock2 {background:#1D1D20;border:1px solid #4D4D56;} /* -------------- */
/* Comments Form Style */ .commTable {border:1px solid #4D4D56;background:#1D1D20;} .commTd1 {color:#4D4D56;font-weight:bold;padding-left:5px;} .commTd2 {padding-bottom:2px;} .commFl {width:100%;color:#636363;background:#2A2A2F;border:1px solid #4D4D56;} .smiles {border:1px solid #4D4D56;background:#2A2A2F;} .commReg {padding: 10 0 10 0px; text-align:center;} .commError {color:#FF0000;} .securityCode {color:#636363;background:#2A2A2F;border:1px solid #4D4D56;} /* ------------------- */
/* News/Blog Archive Menu */ .archUl {list-style: none; margin:0; padding-left:0;} .archLi {padding: 0 0 3px 10px; background: url('/.s/t/731/26.gif') no-repeat 0px 4px;} .archActive {color:#FFFFFF;} a.archLink:link {text-decoration:underline; color:#FFFFFF;} a.archLink:visited {text-decoration:underline; color:#FFFFFF;} a.archLink:hover {text-decoration:none; color:#D8D5D5;} a.archLink:active {text-decoration:none; color:#D8D5D5;} /* ---------------------- */
/* News/Blog Archive Style */ .archiveCalendars {text-align:center;color:#E2B4B4;} .archiveDateTitle {font-weight:bold;color:#FFFFFF;padding-top:15px;} .archEntryHr {width:250px;color:#2B2B30;} .archiveeTitle li {margin-left: 15px; padding: 0 0 0 15px; background: url('/.s/t/731/27.gif') no-repeat 0px 2px; margin-bottom: .6em;} .archiveEntryTime {width:65px;font-style:italic;} .archiveEntryComms {font-size:9px;color:#C3C3C3;} a.archiveDateTitleLink:link {text-decoration:none; color:#FFFFFF} a.archiveDateTitleLink:visited {text-decoration:none; color:#FFFFFF} a.archiveDateTitleLink:hover {text-decoration:underline; color:#FFFFFF} a.archiveDateTitleLink:active {text-decoration:underline; color:#FFFFFF} .archiveNoEntry {text-align:center;color:#E2B4B4;} /* ------------------------ */
/* News/Blog Calendar Style */ .calMonth {} .calWday {color:#FFFFFF; background:#3B3B42; width:18px;} .calWdaySe {color:#FFFFFF; background:#4D4D56; width:18px;} .calWdaySu {color:#FFFFFF; background:#4D4D56; width:18px; font-weight:bold;} .calMday {color:#E4FAFD;background:#222226;} .calMdayA {color:#000000;background:#E4FAFD;} .calMdayIs {color:#C04141;background:#2A2A2F;font-weight:bold;border:1px solid #4D4D56;} .calMdayIsA {border:1px solid #E4FAFD; background:#2B2B30;font-weight:bold;} a.calMonthLink:link,a.calMdayLink:link {text-decoration:none; color:#FFFFFF;} a.calMonthLink:visited,a.calMdayLink:visited {text-decoration:none; color:#FFFFFF;} a.calMonthLink:hover,a.calMdayLink:hover {text-decoration:underline; color:#FFFFFF;} a.calMonthLink:active,a.calMdayLink:active {text-decoration:underline; color:#FFFFFF;} /* ------------------------ */
/* Poll styles */ .pollBut {width:110px;}
.pollBody {padding:7px; margin:0px; background:#000000} .textResults {background:#FFFFFF} .textResultsTd {background:#700000}
.pollNow {background:#FFFFFF} .pollNowTd {background:#700000}
.totalVotesTable {background:#FFFFFF} .totalVotesTd {background:#700000} /* ---------- */
/* User Group Marks */ a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:yellow;} a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:pink;} a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:#99CCFF;} /* ---------------- */
/* Other Styles */ .replaceTable {background:#1D1D20;height:100px;width:300px;border:1px solid #4D4D56;} .replaceBody {background:#000000;}
.legendTd {font-size:7pt;} /* ------------ */
/* ===== forum Start ===== */
/* General forum Table View */ .gTable {background:#000000;border-bottom:3px solid #4D4D56;} .gTableTop {padding:2px;height:30px; background:url('/.s/t/731/21.gif') #530303; color:#E4FAFD;font-family:Verdana,Sans-Serif;font-size:13px;font-weight:bold; padding-left:22px;} .gTableSubTop {padding:2px;background:url('/.s/t/731/29.gif') bottom #1D1D20;color:#4D4D56;height:20px;font-size:10px;} .gTableBody {padding:2px;background:#222226;} .gTableBody1 {padding:2px;background:#222226;} .gTableBottom {padding:2px;background:#222226;} .gTableLeft {padding:2px;background:#222226;font-weight:bold;color:#E4FAFD} .gTableRight {padding:2px;background:#222226;color:#60606B;} .gTableError {padding:2px;background:#222226;color:#FF0000;} /* ------------------------ */
/* Forums Styles */ .forumNameTd,.forumLastPostTd {padding:2px;background:#222226} .forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;background:#2A2A2F} .forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;}
a.catLink:link {text-decoration:none; color:#E4FAFD;} a.catLink:visited {text-decoration:none; color:#E4FAFD;} a.catLink:hover {text-decoration:underline; color:#999999;} a.catLink:active {text-decoration:underline; color:#E4FAFD;}
.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold} .archivedForum{font-size:7pt;color:#FF0000;font-weight:bold;} /* ------------- */
/* forum Titles & other */ .forum {font-weight:bold;font-size:9pt;} .forumDescr,.forumModer {color:#888888;font-size:7pt;} .forumViewed {font-size:9px;} a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {text-decoration:underline; color:#E4FAFD;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:underline; color:#E4FAFD;} a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {text-decoration:none; color:#FFFFFF;} a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {text-decoration:underline; color:#E4FAFD;} /* -------------------- */
/* forum Navigation Bar */ .forumNamesBar {padding-bottom:7px;font-weight:bold;font-size:7pt;} .forumBarKw {font-weight:normal;} a.forumBarA:link {text-decoration:none; color:#E4FAFD;} a.forumBarA:visited {text-decoration:none; color:#E4FAFD;} a.forumBarA:hover {text-decoration:underline; color:#FFFFFF;} a.forumBarA:active {text-decoration:underline; color:#E4FAFD;} /* -------------------- */
/* forum Fast Navigation Blocks */ .fastNav,.fastSearch,.fastLoginForm {font-size:7pt;} /* ---------------------------- */
/* forum Fast Navigation Menu */ .fastNavMain {background:#862D2D;color:#FFFFFF;} .fastNavCat {background:#F9E6E6;} .fastNavCatA {background:#F9E6E6;color:#0000FF} .fastNavForumA {color:#0000FF} /* -------------------------- */
/* forum Page switches */ .pagesInfo {background:#222226;padding-right:10px;font-size:7pt;} .switches {background:#2B2B2B;} .switch {background:#222226;width:15px;font-size:7pt;} .switchActive {background:#4D4D56;font-weight:bold;color:#E4FAFD;width:15px} a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#E4FAFD;} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#E4FAFD;} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#FFFFFF;} a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#E4FAFD;} /* ------------------- */
/* forum Threads Style */ .threadNametd,.threadAuthTd,.threadLastPostTd {padding:2px;padding:2px;background:#222226} .threadIcoTd,.threadPostTd,.threadViewTd {padding:2px;background:#2A2A2F} .threadLastPostTd {padding:2px;font-size:7pt;} .threadDescr {color:#60606B;font-size:7pt;} .threadNoticeLink {font-weight:bold;} .threadsType {padding:2px;background:url('/.s/t/731/29.gif') center;height:20px;font-weight:bold;font-size:7pt;color:#FFFFFF;padding-left:40px;} .threadsDetails {padding:2px;background:url('/.s/t/731/29.gif') center;height:20px;color:#4D4D56;color:#FFFFFF;} .forumOnlineBar {padding:2px;background:url('/.s/t/731/29.gif') top;height:20px;color:#E4FAFD;}
a.threadPinnedLink:link {text-decoration:none; color:#E4FAFD;} a.threadPinnedLink:visited {text-decoration:none; color:#E4FAFD;} a.threadPinnedLink:hover {text-decoration:underline; color:#FFFFFF;} a.threadPinnedLink:active {text-decoration:underline; color:#E4FAFD;}
.threadPinnedLink,.threadLink {font-weight:bold;} a.threadLink:link {text-decoration:underline; color:#E4FAFD;} a.threadLink:visited {text-decoration:underline; color:#E4FAFD;} a.threadLink:hover {text-decoration:none; color:#FFFFFF;} a.threadLink:active {text-decoration:underline; color:#E4FAFD;}
.postpSwithces {font-size:7pt;} .thDescr {font-weight:normal;} .threadFrmBlock {font-size:7pt;text-align:right;} /* ------------------- */
/* Posts View */ .postTable {background:#4D4D56} .postPoll {background:#2A2A2F;text-align:center;} .postFirst {background:#2A2A2F;border-bottom:1px solid silver;} .postRest1 {background:#2A2A2F;} .postRest2 {background:#2A2A2F;} .postSeparator {height:2px;background:#E4FAFD;}
.postTdTop {background:url('/.s/t/731/29.gif') top;color:#4D4D56;} .postBottom {background:url('/.s/t/731/29.gif') center;height:20px;color:#4D4D56;} .postUser {font-weight:bold;} .postTdInfo {background:#2A2A2F;text-align:center;padding:5px;} .postRankName {margin-top:5px;} .postRankIco {margin-bottom:5px;margin-bottom:5px;} .reputation {margin-top:5px;} .signatureHr {margin-top:20px;color:#E4FAFD;} .posttdMessage {background:#222226;padding:5px;}
.postPoll {padding:5px;} .pollQuestion {text-align:center;font-weight:bold;} .pollButtons,.pollTotal {text-align:center;} .pollSubmitBut,.pollreSultsBut {width:140px;font-size:7pt;} .pollSubmit {font-weight:bold;} .pollEnd {text-align:center;height:30px;}
.codeMessage {background:#4D4D56;font-size:9px;} .quoteMessage {background:#4D4D56;font-size:9px;}
.signatureView {font-size:7pt;} .edited {padding-top:30px;font-size:7pt;text-align:right;color:#4D4D56;} .editedBy {font-weight:bold;font-size:8pt;}
.statusBlock {padding-top:3px;} .statusOnline {color:#FFFF00;} .statusOffline {color:#FFFFFF;} /* ---------- */
/* forum AllInOne Fast Add */ .newThreadBlock {background: #F9F9F9;border: 1px solid #B2B2B2;} .newPollBlock {background: #F9F9F9;border: 1px solid #B2B2B2;} .newThreadItem {padding: 0 0 0 8px; background: url('/.s/t/731/30.gif') no-repeat 0px 4px;} .newPollItem {padding: 0 0 0 8px; background: url('/.s/t/731/30.gif') no-repeat 0px 4px;} /* ----------------------- */
/* Post Form */ .pollBut, .loginButton, .searchSbmFl, .commSbmFl, .signButton {font-size:7pt;background: #2B2B30;color:#E4FAFD;border:1px outset #2B2B30;}
.codeButtons {font-size:7pt;background: #2B2B30;color:#E4FAFD;border:1px outset #2B2B30;} .codeCloseAll {font-size:7pt;background: #2B2B30;color:#E4FAFD;border:1px outset #2B2B30;font-weight:bold;} .postNameFl,.postDescrFl {background:#1D1D20;border:1px solid #4D4D56;width:400px} .postPollFl,.postQuestionFl {background:#1D1D20;border:1px solid #4D4D56;width:400px} .postResultFl {background:#1D1D20;border:1px solid #4D4D56;width:50px} .postAnswerFl {background:#1D1D20;border:1px solid #4D4D56;width:300px} .postTextFl {background:#1D1D20;border:1px solid #4D4D56;width:550px;height:150px;color:#60606B;} .postUserFl {background:#1D1D20;border:1px solid #4D4D56;width:300px}
.pollHelp {font-weight:normal;font-size:7pt;padding-top:3px;} .smilesPart {padding-top:5px;text-align:center} /* --------- */
/* ====== forum End ====== */
|
|
MozDok |
Дата: Пятница, 28.06.2013, 18:50 | Сообщение # 4 |
Сообщений: | 690 |
Награды: | 12 |
Репутация: | 615 |
Статус: | Оффлайн |
|
Jusava, такое надо в code или spoiler засовывать.
Человек, который никогда не ошибался, никогда не пробовал сделать что-нибудь новое. © Эйнштейн Отзывы — отзывы обо мне.
Сообщение отредактировал MozDok - Пятница, 28.06.2013, 20:10
|
|
vadim220v |
Дата: Пятница, 28.06.2013, 20:11 | Сообщение # 5 |
Сообщений: | 222 |
Награды: | 4 |
Репутация: | 356 |
Статус: | Оффлайн |
|
Цитата (Jusava) td, body {font-family:verdana,arial,helvetica; font-size:8pt; color:#8C8C9C} вроде бы это замени на это: Код td, body {font-family:verdana,arial,helvetica; font-size:8pt; color:#8C8C9C;width:1024px;}
|
|
Alexandr_S |
Дата: Пятница, 28.06.2013, 22:07 | Сообщение # 6 |
Сообщений: | 274 |
Награды: | 1 |
Репутация: | 219 |
Статус: | Оффлайн |
|
vadim220v, нет)
|
|
vadim220v |
Дата: Пятница, 28.06.2013, 23:11 | Сообщение # 7 |
Сообщений: | 222 |
Награды: | 4 |
Репутация: | 356 |
Статус: | Оффлайн |
|
Alexandr_S, я уже не помню, давно с кодами не играл ))))
|
|
Jusava |
Дата: Воскресенье, 30.06.2013, 00:06 | Сообщение # 8 |
Сообщений: | 41 |
Награды: | 0 |
Репутация: | 0 |
Статус: | Оффлайн |
|
я разобрался, нужно сделать так:
нам надо найти вот такую строчку, в большинстве случаев онанаходится в страницах сайта - после $ADMIN_BAR$ <tablecellpadding="0" cellspacing="0" border="0" width="1024" align="center"><tr><tdwidth="1024" align="center">
|
|