Forum Moderators: not2easy

Message Too Old, No Replies

Setting the height of a component.

Having trouble getting a copoent's height set.

         

darrinps

6:34 pm on Apr 4, 2005 (gmt 0)

10+ Year Member



Java Studio Creator uses CSS. I have a component (a GridPanel) that has a a style set up like this:

centeredPageStyle {
width: 100%;
text-align: center;
verticle-align: middle;
margin-left: auto;
margin-right: auto;
}

This gets the GridPanel to align horizontally (although vertically it is too far up...don't know why) but the size of the GridPanel is way too large. I thought that adding a height: 200px; would solve it but it has no effect at all.

Is there some "trick" to setting the height?

Thanks!

darrinps

9:04 pm on Apr 4, 2005 (gmt 0)

10+ Year Member



Nevermind...figured it out.

I had another style tucked in below that was adding padding.