Jump to content
  • 0

Резиновость сайта


bsuir
 Share

Question

Вроде поменял всю ширину на 100% , а все равно сайт не резиновый!! Вопрос кэш очищать в этом случае надо?

body {margin: 0 0 0 0;padding: 0 0 0 0;background: #e0e0e0; color:#0040a0; font-family: "Times New Roman", Times, serif;font-size: 20pt;}

table{border:3px; border-color: #204090; border-collapse:collapse;}

table td{padding:0px; vertical-align: top;}

table tr{margin: 0 0 0 0;padding: 0 0 0 0;}

img{border: 0;margin: 0 0 0 0;padding: 0 0 0 0;}

ol, ul{text-align: justify;font-size: 12px;padding-left:20px;color:#20b040;}

li{text-align: justify;font-size: 12px;}

p{text-align: justify;font-size: 12px;}

p.pc {text-align: center;}

p.pcb {text-align: center; font-weight: bold;}

p.pci {text-align: center; font-style: italic;}

p.pcbi {text-align: center; font-weight: bold;font-style: italic;}

p.pr {text-align: right;}

p.prb {text-align: right;font-weight: bold;}

p.pri {text-align: right;font-style: italic;}

p.prbi {text-align: right;font-weight: bold;font-style: italic;}

a:link, a:visited {color: #fdfd00;text-decoration: none;font-size: 15px;font-weight:bold; text-align:left;}

a:active {color: #fdfd00;text-decoration: none;}

a:hover{text-decoration: underline; color: #fdfd00;}

h1{font-size: 18px; text-align: center;}

h2{font-size: 16px; text-align: left; margin: 20px 0 0 50px;}

h3{font-size: 14px; text-align: center;}

/*шапка*/

#hd1{background: url(/sm_full.aspx?guid=1013) no-repeat center; height: 212px; overflow: none; min-width: 100%;}

#hdt{width: 100%;}

#hdth{background: url(/sm_full.aspx?guid=1023) no-repeat; width: 100%; height: 168px; text-align: center; vertical-align: middle;}

#hdth h1{font-size:26px; font-family:verdana; font-weight:bold; position:relative; left:210px; top:10px;}

#hdth h3{position:relative; top:110px; left:195px; font-family:arial;}

#hdtm{width: 100%; height: 42px; text-align: center; vertical-align: middle;font-size:15px;color:#00ff80;font-weight:bold;}

#hdtm a{margin: 0 15px 0 15px;}

/*информационный блок*/

#ib1{background: url(/sm_full.aspx?guid=10333) repeat-x;}

#it{width: 100%;}

#it td{vertical-align: top;}

#itl{width: 100%; text-align: justify;font-size: 12px; padding: 3px 0px 3px 0px;background: #d7d7d7;}

#itc{text-align: justify;font-size: 12px;padding: 0 0 0 15px;}

#itl h1{background:url(/sm_full.aspx?guid=1033) no-repeat; background-position: right middle; height:25px; padding-top:5px; font-size: 15px; color:#fdfd00; text-transform: uppercase; margin: 0px 0px 5px 0px; vertical-align:middle;}

#itl h2{font-size: 14px;margin: 5px 10px 0 10px; text-align: justify;}

#it a{color:#20b040;}

#itl p{margin: 0 10px 0 10px;}

#itl p.nlnk{text-align: right;}

/*Счетчик посещений*/

#cnt{height:40px;width: 100%;text-align:center;}

#cnt td{vertical-align:bottom;}

/*Нижний блок*/

#btd{background: url(/sm_full.aspx?guid=1043) bottom repeat-x; overflow: none; min-width: 100%"; height:44px; font-size:15px; font-weight:bold; color:#fdfd00;}

#btd td{vertical-align:middle;}

/*Стили фотоальбома*/

ul#thumbs, ul#thumbs li{margin:0;padding:0;list-style:none;}

ul#thumbs li{float:left;margin-right:5px;border:1px solid #999;padding:2px;}

ul#thumbs a{display:block;float:left;width:75px;height:75px;line-height:100px;overflow:hidden;position:relative;z-index:1;}

ul#thumbs a img{float:left;position:absolute;top:0px;left:0px;}

ul#thumbs a:hover{overflow:visible;z-index:1000;border:none;}

ul#thumbs a:hover img{border:1px solid #999;background:#fff;padding:2px;}

ul#thumbs:after, li#thumbs:after{content:".";display:block;height:0;clear:both;visibility:hidden;}

ul#thumbs, li#thumbs{display:block;}

ul#thumbs, li#thumbs{min-height:1%;}

* html ul#thumbs, * html li#thumbs{height:1%;}

.ftc{text-align: center;}

.ftc h3{text-align: center; font-size: 14px;}

/*Текст с обводкой*/

.textBorder{position:relative;z-index:100;}

.textBorder strong{position:relative;z-index:500;color:#00f080;}

.textBorder span{position:absolute;z-index:100;top:0;left:0;color:#024;font-weight:bold;}

.textBorder span.b1{top:-2px;}

.textBorder span.b2{left:2px;}

.textBorder span.b3{top:2px;}

.textBorder span.b4{left:-2px;}

.textBorder span.b5{top:-1px;left:1px;}

.textBorder span.b6{top:1px;left:1px;}

.textBorder span.b7{top:1px;left:-1px;}

.textBorder span.b8{top:-1px;left:-1px;}

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

body {margin: 0 0 0 0;padding: 0 0 0 0;background: #e0e0e0; color:#0040a0; font-family: "Times New Roman", Times, serif;font-size: 20pt;}

table{border:3px; border-color: #204090; border-collapse:collapse;}

table td{padding:0px; vertical-align: top;}

table tr{margin: 0 0 0 0;padding: 0 0 0 0;}

img{border: 0;margin: 0 0 0 0;padding: 0 0 0 0;}

ol, ul{text-align: justify;font-size: 12px;padding-left:20px;color:#20b040;}

li{text-align: justify;font-size: 12px;}

p{text-align: justify;font-size: 12px;}

p.pc {text-align: center;}

p.pcb {text-align: center; font-weight: bold;}

p.pci {text-align: center; font-style: italic;}

p.pcbi {text-align: center; font-weight: bold;font-style: italic;}

p.pr {text-align: right;}

p.prb {text-align: right;font-weight: bold;}

p.pri {text-align: right;font-style: italic;}

p.prbi {text-align: right;font-weight: bold;font-style: italic;}

a:link, a:visited {color: #fdfd00;text-decoration: none;font-size: 15px;font-weight:bold; text-align:left;}

a:active {color: #fdfd00;text-decoration: none;}

a:hover{text-decoration: underline; color: #fdfd00;}

h1{font-size: 18px; text-align: center;}

h2{font-size: 16px; text-align: left; margin: 20px 0 0 50px;}

h3{font-size: 14px; text-align: center;}

/*шапка*/

#hd1{background: url(/sm_full.aspx?guid=1013) repeat-x; height: 212px; overflow: none; min-width:1000px;}

#hdt{width: 1000px;}

#hdth{background: url(/sm_full.aspx?guid=1023) no-repeat; width: 100%; height: 168px; text-align: center; vertical-align: middle;}

#hdth h1{font-size:26px; font-family:verdana; font-weight:bold; position:relative; left:210px; top:10px;}

#hdth h3{position:relative; top:110px; left:195px; font-family:arial;}

#hdtm{width: 100%; height: 42px; text-align: center; vertical-align: middle;font-size:15px;color:#00ff80;font-weight:bold;}

#hdtm a{margin: 0 15px 0 15px;}

/*информационный блок*/

#ib1{background: url(/sm_full.aspx?guid=10333) repeat-x;}

#it{width: 1000px;}

#it td{vertical-align: top;}

#itl{width: 200px; text-align: justify;font-size: 12px; padding: 3px 0px 3px 0px;background: #d7d7d7;}

#itc{text-align: justify;font-size: 12px;padding: 0 0 0 15px;}

#itl h1{background:url(/sm_full.aspx?guid=1033) no-repeat; background-position: right middle; height:25px; padding-top:5px; font-size: 15px; color:#fdfd00; text-transform: uppercase; margin: 0px 0px 5px 0px; vertical-align:middle;}

#itl h2{font-size: 14px;margin: 5px 10px 0 10px; text-align: justify;}

#it a{color:#20b040;}

#itl p{margin: 0 10px 0 10px;}

#itl p.nlnk{text-align: right;}

/*Счетчик посещений*/

#cnt{height:40px;width:100%;text-align:center;}

#cnt td{vertical-align:bottom;}

/*Нижний блок*/

#btd{background: url(/sm_full.aspx?guid=1043) bottom repeat-x; overflow: none; min-width:1000px; height:44px; font-size:15px; font-weight:bold; color:#fdfd00;}

#btd td{vertical-align:middle;}

/*Стили фотоальбома*/

ul#thumbs, ul#thumbs li{margin:0;padding:0;list-style:none;}

ul#thumbs li{float:left;margin-right:5px;border:1px solid #999;padding:2px;}

ul#thumbs a{display:block;float:left;width:75px;height:75px;line-height:100px;overflow:hidden;position:relative;z-index:1;}

ul#thumbs a img{float:left;position:absolute;top:0px;left:0px;}

ul#thumbs a:hover{overflow:visible;z-index:1000;border:none;}

ul#thumbs a:hover img{border:1px solid #999;background:#fff;padding:2px;}

ul#thumbs:after, li#thumbs:after{content:".";display:block;height:0;clear:both;visibility:hidden;}

ul#thumbs, li#thumbs{display:block;}

ul#thumbs, li#thumbs{min-height:1%;}

* html ul#thumbs, * html li#thumbs{height:1%;}

.ftc{text-align: center;}

.ftc h3{text-align: center; font-size: 14px;}

/*Текст с обводкой*/

.textBorder{position:relative;z-index:100;}

.textBorder strong{position:relative;z-index:500;color:#00f080;}

.textBorder span{position:absolute;z-index:100;top:0;left:0;color:#024;font-weight:bold;}

.textBorder span.b1{top:-2px;}

.textBorder span.b2{left:2px;}

.textBorder span.b3{top:2px;}

.textBorder span.b4{left:-2px;}

.textBorder span.b5{top:-1px;left:1px;}

.textBorder span.b6{top:1px;left:1px;}

.textBorder span.b7{top:1px;left:-1px;}

.textBorder span.b8{top:-1px;left:-1px;}

Что мне нужно поменять для резиновости сайта

Link to comment
Share on other sites

  • 0

html код чего дать главной?

немножко не понимаю.у меня еще вопрос, почему в ИЕ нету прокрутки, а в опере при том же разрешени она появляется

/*шапка*/

#hd1{background: url(/sm_full.aspx?guid=1013) repeat-x; height: 212px; overflow: none; min-width:1000px;}

#hdt{width: 1000px;}

#hdth{background: url(/sm_full.aspx?guid=1023) no-repeat; width: 100%; height: 168px; text-align: center; vertical-align: middle;}

#hdth h1{font-size:26px; font-family:verdana; font-weight:bold; position:relative; left:210px; top:10px;}

#hdth h3{position:relative; top:110px; left:195px; font-family:arial;}

#hdtm{width: 100%; height: 42px; text-align: center; vertical-align: middle;font-size:15px;color:#00ff80;font-weight:bold;}

#hdtm a{margin: 0 15px 0 15px;}

/*информационный блок*/

#ib1{background: url(/sm_full.aspx?guid=10333) repeat-x;}

#it{width: 1000px;}

#it td{vertical-align: top;}

#itl{width: 200px; text-align: justify;font-size: 12px; padding: 3px 0px 3px 0px;background: #d7d7d7;}

#itc{text-align: justify;font-size: 12px;padding: 0 0 0 15px;}

#itl h1{background:url(/sm_full.aspx?guid=1033) no-repeat; background-position: right middle; height:25px; padding-top:5px; font-size: 15px; color:#fdfd00; text-transform: uppercase; margin: 0px 0px 5px 0px; vertical-align:middle;}

#itl h2{font-size: 14px;margin: 5px 10px 0 10px; text-align: justify;}

#it a{color:#20b040;}

#itl p{margin: 0 10px 0 10px;}

#itl p.nlnk{text-align: right;}

Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy