This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Box surrounded with dotted line  RSS feed

 
Imre Tokai
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!


I want to dinamically fill .jsp page's table with white boxes that are surrounded with dotted line and changing color to yellow on mouse over event.

I have appriopriate css code:


Because page is filled dinamically, this is working fine for less than 3 items. But when i have more than 3, white boxes are shrinked.


How can I avoid shrinking?
My idea is to fill table with boxes that has always same width and height.


Regards
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
width boxes are shrinked?

white boxes = table cells?

The table will adjust the cells to fit its width, if you want them to remain the same size you must set a width to them.

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!