Posts: 850
Name: Matt Pealing
Location: England, north west
|
Every now and then I seem to struggle getting something to work properly in Firefox, I suppose it does make a nice change from IE.
Im trying to make a template for a forum that I will be making soon. It started off relatively straightforward but even the simplest of things seem to be messing up.
All I wanted to use was a few div's in order to layout each persons message. But the one I was planning on using at the bottom [to hold the quote and reply buttons etc...] just seems to be floating in 'mid air'.
It stressed me out so I thought I'd just use a table to contain the message for now, but the problem is still there!
This screenshot should help to show what i mean. IE is on the right [how it should look]
http://inspindesign.clawz.com/stuff/FFprob.jpg
HTML
Code:
<table class="msg">
<tr>
<th scope="col">14.07.07</th>
</tr>
<tr class="alt2">
<td><div class="avatar">
<p class="hl">Username</p>
<p class="hl"><img src="../Images/bk_royale.gif" width="140" height="161" class="thumb" /></p>
<p class="hl">000 Posts </p>
</div>
<div class="hundredi">Content for class "hundredi" Goedredi" Goedredi" Goe
dredi" Goedredi" Goedredi" Goedredi" Goedredi" Goe
dredi" Goedredi" Goedredi" Goedredi" Goedredi" Goe
dredi" Goedredi" Goedredi" Goedredi" Goe
dredi" Goedredi" Goedredi" Goedredi" Goes Here</div></td>
</tr>
<tr class="alt3">
<td><div class="ftab">asdfasdf asdf asd fasf asdf asdf asdf as fas for class "ftab" Goes Here</div></td>
</tr>
</table>
CSS:
Code:
table.msg {float:none;width:100%;margin-top:5px;clear:left;}
table.msg tr {vertical-align:top;}
tr.alt {background-image:url(../Images/bg_line2.gif);}
tr.alt2 {background-image:url(../Images/bg_line.gif);}
tr.alt3 {background-color:#323232;}
div.ftab {width:100px;height:20px;background-color:#171717;}
Can anyone think whats wrong with my code??
|