Reply to css trouble in mozilla

Your name:

Reply:


Posted by APT on 12/25/63 11:39

Any ideas on using absolute positioning inside a table.

I gave a table the class:

table.contain {
position: relative;
}

Then I positioned an image and a box within the table:

img.web {
position: absolute;
top: 118px;
left : 88px;
}

..box {
position: absolute;
top: 110px;
left : 80px;
height: 211px;
width: 276;
border-width: 1px;
border-style: dashed;
border-color: #fff;
}


Here are the relevant html bits:

<table width="800" height="600" border="0" align="center" cellpadding="0"
cellspacing="0" class="contain">


<tr>
<td height="265" background="images/winter_midleft.jpg">

<div class="box"></div>
<img src="images/spacer.gif" class="web">
</div>

</td>

It works great in IE. Just how I want it to look.
But it is all over the place in mozilla.

Have a look - http://www.hooligandesigns.com/web.php

Any idea how to get this to work in both???

Thanks in advance.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация