# Tables in Fire Fox

**URL:** https://forum.kirupa.com/t/tables-in-fire-fox/161751
**Category:** Uncategorized
**Created:** [September 6, 2005, 8:49pm UTC](https://forum.kirupa.com/t/tables-in-fire-fox/161751 "2005-09-06T20:49:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![thats\_all\_folks](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@thats\_all\_folks](https://forum.kirupa.com/u/thats_all_folks)
#### Post date: [September 6, 2005, 8:49pm UTC](https://forum.kirupa.com/t/tables-in-fire-fox/161751/1 "2005-09-06T20:49:46Z")

</div>

I was doing a simple test and notice in Fire Fox that my table will collapse but not in I.E, I set the height to 100%, I wanted to create a table with content in the center and a style for the back ground, if you use a table do you need to make a transparent gif so F.F will not collapse the table.

My sample code:

\<?xml version=“1.0” encoding=“UTF-8”?\>

\<!DOCTYPE html

```
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;

```

\<html xmlns=“[http://www.w3.org/1999/xhtml](http://www.w3.org/1999/xhtml)” xml:lang=“en” lang=“en”\>

```
&lt;body topmargin="0"&gt;

&lt;div align=center&gt;

 &lt;table style="height: 100%; width:250px; background-color: #CCC;"&gt;

  &lt;tr&gt;

   &lt;td&gt;

    &lt;div align=center&gt;Centered Content&lt;/div&gt;

   &lt;/td&gt;

  &lt;/tr&gt;

 &lt;/table&gt;

 &lt;/div&gt;

&lt;/body&gt;

```

\</html\>

Cheers
