Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

displaying css

  • 1 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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!

Được chỉnh sửa bởi valeriab vào

Tất cả các câu trả lời (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