0
我的網站同時經過css和html驗證,但在瀏覽器上縮放對齊中斷。我不是一個css專業版。請告訴我需要更改哪些css代碼。網站是here瀏覽器上的網站對齊中斷縮放
這是標題欄上使用圖像的樣式。
#title {
height : 90px;
background : #f3f4f5;
text-decoration : none;
}
#title > img.tp {
float : right;
}
#title > img.redzone {
padding-top : 1%;
margin-left:15%;
}
#title > img.ctoc {
float : left;
}
#title > img.fp {
position:absolute;
float:left;
margin-left:6%;
margin-top:10px;
}
* 這對於造型左,右列。 *
#contact_container {
position:absolute;
width : 15%;
margin-left:4.5%;
margin-top:30px;
float:left;
height : auto;
padding-top:2%;
background-image : url(img/transparent.jpg);
}
#contact_container > img
{
padding-left:26%;
}
#content_container {
position:absolute;
padding-top : 2%;
margin-top:30px;
width : 15%;
float:right;
margin-left : 80%;
background-image : url(img/transparent.png);
text-align : center;
}
#content_container > hr
{
width:80%;
border-style:groove;
}
#contact_container > hr
{
width:80%;
border-style:groove;
}
#content_container > ul
{
text-align:center;
}
#contact_container > ul
{
text-align:center;
}
這些是菜單和滑塊的總體造型
#gallery {
border : #ccc solid 1px;
background : #ffffff url(img/panel.jpg) repeat-x bottom center;
width : 920px;
overflow : hidden;
}
#menu2 {
list-style : none;
width : auto;
height : 43px;
background : #014464;
border : #002232 solid 1px;
margin-top : 30px;
margin-right : auto;
margin-bottom : 5px;
margin-left : auto;
padding-left : 30px;
}
任何形式的幫助表示讚賞。
即使是一些很好的參考文獻也會有所幫助
好吧,你說我會調整左,右容器...只是幫我有點我#title格... – 2012-07-08 14:40:37