Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

displaying css

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

just installed firefox, and realized that my website doesn't display right in firefox, any help woul be really appreciated...

css container area doesn't adjust height to height of floated picture.

the css used is: http://www.surreyandbucksbusinesscentres.co.uk/design/offices_in_surrey.css

there is one container area "portal_item" and within it another with the floated picture "portal_item_image".

the image in question is overflowing from the container. relevant css is:

.portal_item {

background-color: #FFFFFF;

border: 1px solid #C7C7C7;

padding-right: 10px;

padding-left: 10px;

margin-bottom: 5px;

min-height:250px;

max-height:650px;

height: 450px;


padding-top: 10px;

padding-bottom: 10px;

}

html > body .portal_item {

height: auto;


}


.portal_item_image {

border: 1px solid #999;

float: right;

margin-left: 20px;


-(*v")- thanx!

just installed firefox, and realized that my website doesn't display right in firefox, any help woul be really appreciated... css container area doesn't adjust height to height of floated picture. the css used is: http://www.surreyandbucksbusinesscentres.co.uk/design/offices_in_surrey.css there is one container area "portal_item" and within it another with the floated picture "portal_item_image". the image in question is overflowing from the container. relevant css is: .portal_item { background-color: #FFFFFF; border: 1px solid #C7C7C7; padding-right: 10px; padding-left: 10px; margin-bottom: 5px; min-height:250px; max-height:650px; height: 450px; padding-top: 10px; padding-bottom: 10px; } html > body .portal_item { height: auto; } .portal_item_image { border: 1px solid #999; float: right; margin-left: 20px; -(*v")- thanx!

由 valeriab 於 修改

所有回覆 (1)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25