No, its a simple web2py app

please view my view :)

Can you see the bug?

{{extend 'layout.html'}}
<script type="text/JavaScript">
function timedRefresh(timeoutPeriod) {
    setTimeout("location.reload(true);",timeoutPeriod);
}
</script>

<script>
jQuery(document).ready(function(){timedRefresh(50000) ;});
</script>

   <table style="border: 1px solid black;" >

     <tr><td></td>
     {{for grade in grades:}}
        <td class='header' colspan=3>{{=grade}}</td>
    {{pass}}
     </tr>
      {{for silo in range(0,19):}}
            <tr>
                <td class="silos">{{=silo+1}}</td>
               {{for cols in range(0,8):}}
              {{tableclass=''}}
               {{if flags[silo]!='0'and Tabela[silo][cols][1]!='':}}
                       {{tableclass='a1'}}
               {{else:}}
                        {{if  Tabela[silo][cols][1]=='':}}
                                {{tableclass='a2'}}
                        {{else:}}
                             {{tableclass='a0'}}
                        {{pass}}
               {{pass}}
                <td class='a2'>{{=Tabela[silo][cols][2]}}</td>

                <td
class={{=tableclass}}><b>{{=A(Tabela[silo][cols][1],_href=URL(r=request,f='SiloDetalhe',args=silo+1))}}</B>
</td>
               <td class='a2'>{{=Tabela[silo][cols][0]}}</td>
              {{pass}}
           </tr>
      {{pass}}
      <tr><td></td>
     {{for grade in grades:}}

        <td colspan=3 class="bottom">{{=Totais[grade] if
Totais.has_key(grade) else 0}}</td>
    {{pass}}
     </tr>
   </table>
<style type="text/css">

.a1 {
    border:1px solid black;
     background-color: #00ff00;
}
.a0 {

    background-color: cyan;
border:1px solid black;

}
.a2 {

    background-color: white;
border:1px solid black;

}
.header {
 background-color: Yellow;
 color: Black;
border:1px solid black;
 font-family: arial;
 font-size:10;
 text-align: center;
}
.bottom {
 background-color: #9f9fff;
 color: black;
border:1px solid black;
 font-family: arial;
 font-size:10;
 text-align: right;
font-weight:bold;

}
.silos{
 background-color: #ece9d8;
 color: green;
border:1px solid black;
 font-family: arial;
 font-size:10;
 text-align: right;

}
</style>







2011/10/26 Anthony <[email protected]>

> You probably have some CSS or Javascript somewhere that is telling the
> browser to display the URL for links in parentheses after the link text.
> Something like this:
> http://davidwalsh.name/optimize-your-links-for-print-using-css-show-url
>
>
> On Wednesday, October 26, 2011 9:57:45 AM UTC-4, Ramos wrote:
>
>> this is what i have in the source
>> <td class=a0><b><a 
>> href="/DO/Silos/SiloDetalhe/1<https://194.65.91.152/DO/Silos/SiloDetalhe/1>
>> "**>79.4</a></B> </td> When printed in paper it shows the href after the
>> 79.4 value.
>>
>> Strange?!
>>
>>
>>
>> 011/10/26 Anthony <[email protected]>
>>
>>> Does the (/DO/Silos/SiloDetalhe/2) appear inside the TDs in the HTML page
>>> source (not what the browser shows, the actual HTML source code), or only in
>>> the printed output?
>>>
>>>
>>> On Wednesday, October 26, 2011 6:00:12 AM UTC-4, Ramos wrote:
>>>>
>>>> hello i have a problem
>>>>
>>>> please see image1.jpeg is what i see in the browser
>>>>
>>>> when i print it i get what you see in image2.pdf
>>>>
>>>> How is that possible?
>>>>
>>>> Thank you
>>>>
>>>
>>

Reply via email to