В IE таблица отображается во всю ширину родительского #partner_info. В Firefox таблица тоже растягивается на 100%, НО tbody занимает всего лишь 50% ширины.
Вопрос:
Как растянуть таблицу на ширину родительского блока?
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.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
DrTiBiBo
Здравствуйте!
Имеется html:
К нему CSS:
#partner_info{
border:1px solid black;
border-top:none;
background-color:#DEEDFE;
padding:0 10px 5px 10px;
}
.arrow{
display:block;
width:14px;
height:12px;
float:left;
margin:8px 5px 0 0;
border:none;
}
.a_closed:hover{
cursor:pointer;
}
.a_opened:hover{
cursor:pointer;
}
#partner_info_table{
margin-top:5px;
border:none;
width:100%;
border-collapse: collapse;
position:relative;
}
#partner_info_table tbody{
width:100%;
}
#partner_info_table tr{
height:15px;
width:100%;
}
#partner_info_table td{
padding:0;
}
#partner_info_table td.pi_name{
width:10%;
min-width: 10%;
}
#partner_info_table td.pi_value{
width:40%;
}
В IE таблица отображается во всю ширину родительского #partner_info. В Firefox таблица тоже растягивается на 100%, НО tbody занимает всего лишь 50% ширины.
Вопрос:
Как растянуть таблицу на ширину родительского блока?
Заранее благодарен
С уважением
Доктор ТиБиБо
Edited by DrTiBiBoLink to comment
Share on other sites
1 answer to this question
Recommended Posts
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.