my tables). And, as the article states, when using images, adding td
img {display: block;} removes the gaps.
Cheers.
On May 22, 2:52 am, Chi H <c...@chi.ca> wrote:
> It sounds like this -https://developer.mozilla.org/en/Images,_Tables,_and_Mysterious_Gaps
> is what you're experience,
>
> On May 20, 11:14 pm, Craigo <craig...@gmail.com> wrote:
>
>
>
>
>
> > When creating a Grid, FlexTable, VerticalPanel, or any other type of
> > table, I couldn't get rid of the gaps in the rows. The gaps would
> > only appear in Chrome and FF, but not in IE6. They were very small
> > gaps (about 3 pixels high). Nothing seemed to work, setCellPadding,
> > setCellSpacing, css with padding, margin, border-collapse, ...
>
> > Finally figured out changing the "doctype" solved it.
>
> > The default was:
> > <!doctype html>
>
> > When I changed it to:
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> > The row gaps disappeared!
>
> > If there is a better way, please post. Thanks.
>
> > --
> > You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment