Это, вероятно, простой, но я не могу понять это. Я размещаю содержимое с вкладками в области контента с двумя колонками 70:30. Поскольку содержимое с вкладками находится в области 70%, я не могу получить правильную границу для рендеринга, как показано здесь, на моей тестовой странице: http://www.realtimehockey.net/testing1.html Я играл с отступом и полями как слева, так и справа и все еще не могу получить его правильно. Любой вход будет приветствоваться.Граница с вкладками не будет отображаться
Ниже приведен CSS, который я использую. С таблицей Excel, встроенной в контент, HTML значительно превышает предел в 30 000 символов.
CSS
<style>
td,
tr {
border-style: none
}
A {
text-decoration: none
}
a:link {
color: #0000ff;
}
a:visited {
color: #0000ff:
}
a:hover {
color: #ff6600;
}
</style>
<style>
.tabs input[type=radio] {
display: none;
text-decoration: none;
}
.tabs {
width: 100%;
height: 1100px;
float: none;
list-style: none;
position: relative;
padding: 0px;
margin-right: 5px;
margin: 5px;
margin-top: 2px;
}
.tabs li {
float: left;
}
.tabs label {
display: block;
padding: 10px 20px;
color: #FFFFFF;
font-family: patua one;
font-style: italic;
font-size: 14px;
background: linear-gradient(#151515, #080808);
cursor: pointer;
position: relative;
}
.tabs label:hover {
background: #ff6600;
}
.tab-content {
z-index: 2;
display: none;
left: 0;
font-size: 20px;
line-height: 140%;
padding: 5px;
margin-right: 5px;
position: absolute;
box-sizing: border-box;
border: 3px solid #454545;
border-top: 7px solid #454545;
background-color: #ffffff;
}
[id^=tab]:checked + label {
background: #ff6600;
color: white;
top: 0;
}
[id^=tab]:checked ~ [id^=tab-content] {
display: block;
}
</style>
<style id="OrgsAtoD56_5439_Styles">
<!--table {
mso-displayed-decimal-separator: "\.";
mso-displayed-thousand-separator: "\,";
}
.xl155439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: black;
font-size: 11.0pt;
font-weight: 400;
font-style: normal;
text-decoration: none;
font-family: Calibri, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
mso-background-source: auto;
mso-pattern: auto;
white-space: nowrap;
}
.xl655439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: white;
line-height: 2px;
font-size: 11.0pt;
font-weight: 700;
font-style: italic;
text-decoration: none;
font-family: "Patua One", monospace;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
background: white;
mso-pattern: black none;
white-space: nowrap;
}
.xl665439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: white;
line-height: 2px;
font-size: 11.0pt;
font-weight: 700;
font-style: italic;
text-decoration: none;
font-family: "Patua One", monospace;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
background: black;
mso-pattern: black none;
white-space: nowrap;
}
.xl675439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: red;
font-size: 10.0pt;
font-weight: 700;
font-style: normal;
text-decoration: none;
font-family: Calibri, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
background: white;
mso-pattern: black none;
white-space: nowrap;
}
.xl685439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: red;
font-size: 10.0pt;
font-weight: 700;
font-style: italic;
text-decoration: none;
font-family: "Patua One", monospace;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
background: white;
mso-pattern: black none;
white-space: nowrap;
}
.xl695439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: black;
font-size: 11.0pt;
font-weight: 700;
font-style: normal;
text-decoration: none;
font-family: Calibri, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
mso-background-source: auto;
mso-pattern: auto;
white-space: nowrap;
}
.xl705439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: #0563C1;
font-size: 11.0pt;
font-weight: 700;
font-style: normal;
text-decoration: none;
font-family: Calibri, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
mso-background-source: auto;
mso-pattern: auto;
white-space: nowrap;
}
.xl715439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: windowtext;
font-size: 11.0pt;
font-weight: 700;
font-style: normal;
text-decoration: none;
font-family: Calibri, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
mso-background-source: auto;
mso-pattern: auto;
white-space: nowrap;
}
.xl725439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: black;
font-size: 12.0pt;
font-weight: 700;
font-style: normal;
text-decoration: none;
font-family: Candara, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
mso-background-source: auto;
mso-pattern: auto;
white-space: nowrap;
}
.xl735439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: windowtext;
font-size: 11.0pt;
font-weight: 700;
font-style: normal;
text-decoration: none;
font-family: Calibri, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
mso-background-source: auto;
mso-pattern: auto;
white-space: nowrap;
}
.xl745439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: white;
font-size: 11.0pt;
font-weight: 700;
font-style: normal;
text-decoration: none;
font-family: Calibri, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
mso-background-source: auto;
mso-pattern: auto;
white-space: nowrap;
}
.xl755439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: white;
font-size: 11.0pt;
font-weight: 700;
font-style: normal;
text-decoration: none;
font-family: Calibri, sans-serif;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
mso-background-source: auto;
mso-pattern: auto;
white-space: nowrap;
}
.xl765439 {
padding-top: 1px;
padding-right: 1px;
padding-left: 1px;
mso-ignore: padding;
color: white;
line-height: 14px;
font-size: 11.0pt;
font-weight: 400;
font-style: italic;
text-decoration: none;
font-family: "Patua One", monospace;
mso-font-charset: 0;
mso-number-format: General;
text-align: general;
vertical-align: bottom;
background: #FF6600;
mso-pattern: black none;
white-space: nowrap;
}
-->
</style>
<style>
#table-wrapper {
position: relative;
}
#table-scroll {
height: 965px;
width: auto;
overflow: auto;
margin-top: 10px;
}
#table-wrapper table {
width: auto;
}
#table-wrapper table * {} #table-wrapper table thead th .text {
position: absolute;
top: -20px;
z-index: 2;
height: 20px;
width: auto;
}
</style>
Большое спасибо. Я бы не понял этого. Я сделаю изменения. Если вы не возражаете против моего запроса и моей наивности, откуда приходит «.zp». Просто пытаюсь учиться. Еще раз спасибо. –
его в файле content_style.css на линии номер 8 и 9. надеюсь, если бы это помогло вам после этого отменить ответ метки ... а также использовать средство разработки firebug или inbuild для проверки DOM –
Got ya. Еще раз спасибо за помощь. Я ценю это. –