Firefox PHP

Tree lines like Phorum 3 module!

Posted by Brian Moon 
Re: Tree lines like Phorum 3 module!
July 28, 2006 03:31PM
Looks fine to you? Still gaps in Safari and FF. Yes, I refreshed the page and emptied cache. What browser you using?


Took out height and no change I can see.

Michael Horton
lafcpug
[www.lafcpug.org]
Re: Tree lines like Phorum 3 module!
July 28, 2006 03:32PM
looks fine in firefox, but still a small gap in IE.


Thomas Seifert
Re: Tree lines like Phorum 3 module!
July 28, 2006 03:34PM
FF of course and I just tested with Opera and it looks ok too.

---
-=[ Panu ]=-
Re: Tree lines like Phorum 3 module!
July 28, 2006 03:39PM
Weird. I'm seeing gaps in FF 1.5.0.4 and Safari. Using an Apple Cinema Display at 1680x1050. Monitor resolution would have nothing to do with this right?

Michael Horton
lafcpug
[www.lafcpug.org]
Re: Tree lines like Phorum 3 module!
July 28, 2006 03:42PM
No especially when I'm using exactly the same resolution (Dell)... :)

You could try Camino for another Gecko based browser to see if it's some setting of your FF. Not sure what setting it might be but Mac is different to windows in some ways.

---
-=[ Panu ]=-
Re: Tree lines like Phorum 3 module!
July 28, 2006 03:46PM
Ok, I will. Any idea on how I might be able to indent the top post in a thread a couple pixels? Or are you not seeing that now. As I see it, the "box" rests right up against the forum wall rather than a couple pixels to the right as in Phorum 3.

Michael Horton
lafcpug
[www.lafcpug.org]
Re: Tree lines like Phorum 3 module!
July 28, 2006 04:17PM
You have
              <td class="PhorumTableRowAlt">

but

              <td class="PhorumTableRow" style="padding-left: 0px;">

So

setting padding-left: 5px; only affects the very first thread.

Remove style="padding-left: 0px;" from the template and add padding-left: 5px; to PhorumTableRow and PhorumTableRowAlt in css file.

---
-=[ Panu ]=-
Re: Tree lines like Phorum 3 module!
July 30, 2006 03:17AM
Well I tried this. At least I think I tried it if I understand what you are saying. No change.

Thanks for staying with me on this Panu. Much appreciated. I just dont seem to be getting anywhere though. Still gaps in FF and Safari and Camino (smaller gaps in Camino)

I dunno. Guess Tree lines are not in the cards for me.

Michael Horton
lafcpug
[www.lafcpug.org]
Re: Tree lines like Phorum 3 module!
July 30, 2006 03:53AM
Hi D-Rex

Before I give thie "Gap Fix for Preview Cure" a try I have a question. Not sure about your change in List Thread:

ADD </td></tr></table></td>
between {ROWS->new}</span>
and {IF VIEWCOUNT_COLUMN}

My code as it exists now

<a href="{ROWS->url}">{ROWS->subject}</a>&nbsp;<span class="PhorumNewFlag">{ROWS->new}</span>
</td>
{/IF}
{IF VIEWCOUNT_COLUMN}


So, question is..exactly where do I put the change since there is a </td> and [/IF] in between. Or do I just replace </td> and [/IF] with </td></tr></table></td>

Thanks from a PHP moron

Michael Horton
lafcpug
[www.lafcpug.org]
Re: Tree lines like Phorum 3 module!
July 30, 2006 05:24AM
You still have padding-left: 0px somewhere...

this is taken from your page source:

<tr>
  <td class="PhorumTableRow" style="padding-left: 0px">
  <img src="mods/treeview/images/m.gif" width="9" height="21" border="0" />                      

 <a href="[wiki.lafcpug.org] Board</a>

 <span class="PhorumNewFlag"></span>
  </td>

As son as you have removed that padding from the list_threads.tpl

{ELSE}
  <td class="PhorumTableRow<?php echo $rclass;?>" style="padding-left: {ROWS->indent_cnt}px">

I think you can remove that same padding from (or the whole style="...) from sticky and announcement blocks too.

Then make sure that you have the following in your stylesheet

PhorumTableRow and PhorumTableRowAlt have

height: 15px; //(this should be 21 or less, if you still have gaps it should be smaller than 21)
padding: 0px;
margin: 0px;
padding-left 5px;

And then try again.

---
-=[ Panu ]=-
Sorry, only registered users may post in this forum.

Click here to login