miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

Cell Width?

 
Author Steve Shaw
Partaker
#1 | Posted: 9 Jul 2013 12:18 
Hopefully the last dumb question from me for a while...

I'm using the 'Silver' skin, and it's generally working - but I have a strange layout issue I just can solve... and I've been trying for days!

The Topics layout has a variable width cell at the beginning of the line with the poster's name, etc.
I just cannot work out why this is - it is correct on this (minibb) forum.

Variable Cell Width

I have verified the various php files and html templates, and just can't see the error.

A hint where to look will be really appreciated!

Steve

Author Steve Shaw
Partaker
#2 | Posted: 9 Jul 2013 12:31 
Ok - with yet more testing I have proven the error is with the bb_silver.css sheet...

Now just got to work out where exactly!

;o(

Author Paul
Lead Developer 
#3 | Posted: 9 Jul 2013 14:49 
You may try to play with the "width=100%" option for this table. Some cell should expand to the widest maximum and it will compress other cells.

Anyway, the best way for this is to set the fixed or percentage sizes for the whole table in main_topics.html.

I think it's not CSS issue... old-school tabled layouts may give out something like this, if tables are not defined precisely.

Author Steve Shaw
Partaker
#4 | Posted: 10 Jul 2013 18:12 
Not making any headway with this...
I think it's related to the fact I have made the whole forum variable width, not fixed width as is normal.
This seems to have caused the variable width cells, but just with the Topics layout.

Does that help with any further thoughts on what I mat need to change?

Author tom322
Active Member
#5 | Posted: 10 Jul 2013 21:54 
Link to the problem page?

Author Steve Shaw
Partaker
#6 | Posted: 11 Jul 2013 00:58 
Indeed - http://www.7-dna.com

Scroll down the page.

Author tom322
Active Member
#7 | Posted: 11 Jul 2013 03:33 
I didn't check your CSS classes, but in general would try to make table like this:

<table class="tbTransparent" style="width:100%" >
<tr>
<td class="tcell tcelllast"><img src="http://www.7-dna.com/forums/img/p.gif" style="width:16px;height:16px" alt="" title="" /></td>
<td class="txtL noWrap tcelllast" style="width:100%"><img src="http://www.7-dna.com/forums/img/t.gif" style="width:12px;height:9px;padding-top:6px" alt="Author" title="Author" />Mad Hatter  <span class="txtSm">9 Jul 2013 10:52</span></td>
<td class="txtR tcell tcelllast noWrap">Mad Hatter  <span class="txtSm">Yesterday, 23:59  </span><a href="http://www.7-dna.com/forums/index.php?action=vthread&forum=1&topic=36&page=1#msg331"><img src="http://www.7-dna.com/forums/img/s.gif" style="width:12px;height:9px;padding-top:6px" alt="Latest reply" title="Latest reply" /></a></td>
</tr>
</table>

Author Steve Shaw
Partaker
#8 | Posted: 11 Jul 2013 08:24 
Thanks, I'll give that a go!

Steve

Author Steve Shaw
Partaker
#9 | Posted: 11 Jul 2013 08:57 
Worked perfectly!

Just added style="width:100%" to the middle cell, and 'noWrap' to the end cell.

;o)

Specific miniBB Support Forums / Specific /
 Cell Width?
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑