0
我似乎無法讓子div伸展到父級,我不太確定是否需要在#fullpage上指定%width,內容儘管#middle設置爲76%??我似乎已經忘記了..Auto Stretch Child Div to Parent and using%vs px margin/padding
** Here's a link到頁面點擊按鈕時,他們各自的容器不適合容器。
這裏的主要CSS:
#fullpage-content {clear:both;margin-top:1.5em;padding:10px 25px 30px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;border:px solid #e6e4e3;box-shadow:inset 0px 1px 4px #e0e0e0;background: -webkit-gradient(linear, left top, left bottom, from(#f3f1f1), to(#fff));}
.Advert .tab {box-shadow:inset 0px 1px 4px #cac7c6;background:#fff;padding:5px 18px 15px;margin:0 0 8px 0;clear:left;float:left;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
#contact {float:right;clear:right;width:220px;margin:15px 0 0 35px;}
.aboutus ul {list-style-image:url(/Assets/Images/SiteStructure/Advert-Template/bullet.gif);color:#4b4b4b;line-height:normal;padding-left:30px;}
.aboutus li {padding:0 0 10px 5px;}
.abullets1, .abullets2 {float:left;width:30%;}
.bullets1, .bullets2 {width:33%;padding-left:20px;}
,如果我需要補充的位置我也想知道:相對於任何一個div容器,並指定流體%的利潤率/填充,因此不破?試圖讓它正常工作...
任何幫助非常感謝!
您的鏈接不起作用股利或塊級元素。 – ChiefTwoPencils 2012-07-29 09:53:05
塊元素不需要'width:100%'。他們總是佔用儘可能多的水平空間。 – 2012-07-29 09:58:44