1

(3 replies, posted in PunBB 1.2 troubleshooting)

Sorry, I can't - it's only local.
Only wrap <pun_title> and <pun_description> into your own container - ex. div - then set background color. is all right with margins?

Here is example code:
inline text
<div style="background-color: yellow">
    <pun_title>
    <pun_desc>
</div>

I always have margin-top. There is nothing more css in main.tpl


When I set the border for the container, all is OK
<div style="background-color: yellow;border: 1px solid black;">
    <pun_title>
    <pun_desc>
</div>


I have newest apache,linux,mozilla,php

2

(3 replies, posted in PunBB 1.2 troubleshooting)

When in main.tpl is:
            <div style="background:black;">
             
                <pun_title>
                <pun_desc>
            </div>
All is black in container.

but when maint.tpl is:
            <div style="background:black;">
                <pun_title>
                <pun_desc>
            </div>

It doesn't generate all block in black.


All css:

body {
    color: #000000;
    background: #ffffff;
    font-family: sans;
    font-size: normal;
    line-height: 1.3em;       
}

h1,h2,h3,h4,h5,h6 {
    color: #555a6a;   
}

a {
    color: blue;
}

div#punwrap {
    width: 990px;
    margin:0px auto;
}


div#brdheader {
    background: black;
}


The site is valid W3.

Is it a bug?

Sorry smile You're rights.

Where:
PUN_ROOT > header.php | Line: 155 (my file)
Line: $tpl_main = str_replace('<pun_navlinks>','<div id="brdmenu" class="inbox">'."\n\t\t\t". generate_navlinks()."\n\t\t".'</div>', $tpl_main);

Wrong count char '\t'