Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

displaying css

  • 1 پاسخ
  • 1 has this problem
  • 1 view
  • آخرین پاسخ توسّط 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!

Modified by valeriab

All Replies (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