-2

I have a pricing table and a DIV called "base" which contains another DIV named "offer". My wish is to make that on hover one of the OFFER DIVs, that this DIV will become larger. But, I can only do that if DIV "base" gets larger first to make place to enlarge DIV "offer". Otherwise, my pricing table crashes.

Thomas Uhrig
  • 30,811
  • 12
  • 60
  • 80
Peky27
  • 101
  • 1
  • 8

1 Answers1

0

change the height of base div set to auto

.base{
height:auto;
}

then using jquery.

set the height of offer div as much as you want.

#('.offer.).onhover(function(){
$(this).height(value); //set value
});