Well, I suppose I could try setting the padding of the inner table to be the negative of the cell padding (ie. -5px) but not sure if negative padding is a valid cross browser css?
On Dec 16, 3:15 pm, "Kevin Tarn" <[email protected]> wrote: > Did you ever try to use getCellFormatter().setStyleName to give your cell > specific CSS style? > > Kevin > > On Wed, Dec 17, 2008 at 2:48 AM, mwaschkowski <[email protected]>wrote: > > > > > No ideas? Am I the only one that ran into this kind of situation? > > > On Dec 13, 9:01 am, mwaschkowski <[email protected]> wrote: > > > Hi, > > > > I ran into some difficulty with alignment today with a 2 column table: > > > > Col 1 | Col 2 > > > x | y > > > x | inner table > > > x | y > > > > What I found is I wanted to have the inner table set to cell padding > > > 5, but the resulting table ended up with a 5px space on left side of > > > inner table looking like: > > > > Col 1 | Col 2 > > > x | y > > > x | inner table > > > x | y > > > > I managed to work around it, by adding a column in the middle and then > > > playing around with the cell spacing and sizing, but I'm figuring > > > there may be a better way. Anyone know of a best practice approach to > > > this? Please note that I do want the first column to be the width of > > > the largest element in the column, and I'm looking for something > > > relatively simple so I can consistently use it when this crops up > > > again. > > > > Thanks! > > > > Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
