Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

displaying css

  • 1 svar
  • 1 har detta problem
  • 13 visningar
  • Senaste svar av 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!

Ändrad av valeriab

Alla svar (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