Visualizzazione dei risultati da 1 a 8 su 8

Discussione: Template da modificare

  1. #1

    Template da modificare

    vi posto anche l'immagine



    ora non riesco a togliere la linea indicata dalla freccia nera
    e inserire l'immagine che ho messo in alto sulla foto per rendere l'idea come sfondo tra le frecce rosse... :

    posto qui il codice del tempalte....sperando nell'aiuto di qualcuno
    codice:
    <?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <?php mosShowHead(); ?>
    <meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
    <?php if ( $my->id ) { initEditor(); } ?>
    <?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/templates/247portal-blue/favicon.ico\" />" ; ?>
    <link rel="alternate" title="<?php echo $mosConfig_sitename; ?>" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
    <script language="JavaScript" type="text/javascript">
        <!--
        function MM_reloadPage(init) {  //reloads the window if Nav4 resized
          if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
            document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
          else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
        }
        MM_reloadPage(true);
        //-->
      </script>
    <style type="text/css">
    <!--
    .Stil1 {
    	font-size: xx-small;
    	color: #FFFFFF;
    }
    -->
    </style>
    </head>
    
    <body>
    <div>
      <A id=up name=up></A>
    <TABLE cellSpacing=0 cellPadding=0 width=770 align=center border=0>
      <TBODY>
      <TR>
        <TD>[img][/img]</TD></TR>
      <TR>
        <TD>
          <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
            <TBODY>
            <TR>
              <TD>
                <OBJECT 
                codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 
                height=135 width=780 border=0 
                classid=clsid27CDB6E-AE6D-11cf-96B8-444553540000>
                  <PARAM NAME="movie" VALUE="http://www.realblu.net/images/stories/header.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF">
                    <EMBED 
                src="http://www.realblu.net/images/stories/header.swf" 
                quality=high bgcolor=#FFFFFF  WIDTH="780" HEIGHT="135" 
                ALIGN="" TYPE="application/x-shockwave-flash" 
                PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> 
                </OBJECT>
                <TABLE class=menuflash cellSpacing=0 cellPadding=0 width="100%" 
                border=0>
                  <TBODY>
    
                  <tr>
                    <td width="400" height="29"><div id="search">
                        <?php mosLoadModules ( 'user4', -1 ); ?>
                    </div></td>
                    <td width="100%" height="29" valign="bottom" class="mainlevel-nav"><?php mosLoadModules ( 'user3' ); ?></td>
                  </tr>
                </table></td>
                <td width="0">[img][/img]</td>
              </tr>
            </table>
            <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="11" height="25" background="<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/shadowl.jpg"><div>
                </div></td>
                <td height="25" bgcolor="#F1F1F1" style="border-bottom: 1px solid #999999; border-top: 5px solid #FFFFFF;"><?php mosPathWay(); ?></td>
                <td height="25" align="right" bgcolor="#F1F1F1" style="border-bottom: 1px solid #999999; border-top: 5px solid #FFFFFF;"><div class="date"><?php echo mosCurrentDate(); ?></div></td>
                <td width="11" height="25" align="right" background="<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/shadowr.jpg"> </td>
              </tr>
            </table>
            <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td valign="top" style="padding-left:8px; background-repeat: repeat-y;" background="<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/shadowl.jpg"> </td>
                <td valign="top" style="background-repeat: repeat-y;"background="<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/lb.gif"><?php if (mosCountModules('left')) { ?>
                  <div class="leftrow">
                    <?php mosLoadModules ( 'left' ); ?>
                  </div>
                  <?php } ?></td>
                <td valign="top" bgcolor="#FAFAFA" width="100%"><div class"main">
                  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr valign="top" bgcolor="#F1F1F1">
                      <?php if (mosCountModules('top')) { ?><td colspan="3" style="border-top: 3px solid #FFFFFF;">
                          <div>
                            <?php mosLoadModules ( 'top' ); ?>
                          </div>
                          </td><?php } ?>
                    </tr>
                    <tr>
                      <?php if (mosCountModules('user1')) { ?><td valign="top" bgcolor="#F1F1F1" style="border-top: 3px solid #FFFFFF;"><div>
                          <?php mosLoadModules ( 'user1' ); ?>
                      </div></td>
                      <td width="4" class="mod" valign="top" bgcolor="#FFFFFF" style="border-top: 3px solid #FFFFFF;"><div class="mod"> <?php } ?><?php if (mosCountModules('user2')) { ?> </div></td> 
                      
                      <td valign="top" bgcolor="#F1F1F1" style="border-top: 3px solid #FFFFFF;"><div>
                        <?php mosLoadModules ( 'user2' ); ?>
    </div></td><?php } ?>
                    </tr>
                    <tr align="left" valign="top">
                      <td colspan="3" style=" border-top: 4px solid #FFFFFF; padding: 5px;"><div class="main">
                          <?php mosMainBody(); ?>
                          </div></td>
                    </tr>
                    <tr bgcolor="#F1F1F1">
                      <td colspan="3" valign="top" style="border-top: 3px solid #FFFFFF;"><?php if (mosCountModules('bottom')) { ?>
                        <div>
                          <?php mosLoadModules ( 'bottom' ); ?>
                      </div>
                        <?php } ?></td>
                      </tr>
                  </table>
                 </td>
                <td valign="top" style="background-repeat: repeat-y; "background="<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/rb.gif"><?php if (mosCountModules('right')) { ?>
                    <div class="rightrow">
                      <?php mosLoadModules ( 'right' ); ?>
                    </div>                
                  <?php } ?></td>
                <td valign="top" style="padding-right: 8px; background-repeat: repeat-y;" background="<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/shadowr.jpg"> </td>
              </tr>
            </table>
            <table width="100%"  border="0" cellpadding="0" cellspacing="0" background="<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/center2.jpg">
              <tr>
                <td width="26">[img]<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/left2.jpg[/img]</td>
                <td>
                  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="30" align="left">">[img]<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/ltop.jpg[/img] </td>
                      <td align="center"><div class="footer"><?php include_once('includes/footer.php'); ?>
                        Design by Mamboteam.com!</div>
                        </td>
                      <td width="30" align="right">">[img]<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/rtop.jpg[/img]</td>
                    </tr>
                </table></td>
                <td width="26">[img]<?php echo $mosConfig_live_site;?>/templates/247portal-blue/images/right2.jpg[/img]</td>
              </tr>
            </table>
          </div></td>
        </tr>
      </table>
    </div>
    </body>
    </html>
    grazie a tutti

  2. #2
    scusato ho postato 2 volte...uno si può chiudere?

  3. #3
    mi date una mano please---

  4. #4
    ragazzi nessuno che si fa vivo...?
    :master:

  5. #5
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    Ci sono vari problemi per cui nessuno si fa avanti:
    1. hai postato codice PHP, che e` impossibile da interpretare (occorre conosere il valore delle variabili lato server);
    2. hai postato un codice molto lungo, che comprende anche JS;
    3. non hai postato il CSS.

    Dato che tu la pagina la conosci, se pensi che tutto quel codice sia necessario devi evidenziare il punto nel codice in cui ritieni sia il problema; altrimenti posta solo il pezzo utile ai fini del problema specifico.
    Inoltre dato che il problema e` sul CSS devi postare anche quello (anche qui devi far capire quali pezzi del CSS son importanti, oppure postare solo il pezzo interessato)
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

  6. #6
    posto il css incriminato

    [CODE]body {
    color : #000000;
    margin-bottom : 20px;
    padding : 0px;
    background-color : #FFFFFF;
    font-family : arial, sans-serif;
    font-size : 12px;

    }
    td, tr, p, div {
    font-family : Arial, Helvetica, sans-serif;
    font-size : 12px;
    color : #333333;
    }
    hr {
    color : #999999;
    height : 1px;
    width : 100%;
    }
    .mod {
    background : #FFFFFF;
    width : 2px;
    }

    .mt {
    font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
    color : #FEFEFE;
    font-size : 4px;
    font-weight : normal;
    }
    .mt a:link, .mt a:visited {
    font-size : 4px;
    color : #FFFFFF;
    text-decoration : none;
    font-weight : bold;
    }
    .mt a:hover {
    font-size : 4px;
    color : #FEFEFE;
    text-decoration : none;
    font-weight : bold;
    }

    .main {
    float : left;
    width : 100%;
    margin : 0px;
    padding : 0px;
    }
    .contentdescription {
    width : auto !important;
    display : block;
    }
    #buttons {
    float : right;
    margin : 0px;
    padding : 0px;
    width : 50%;
    }
    ul#mainlevel-nav {
    font-size : 11px;
    list-style : none;
    padding : 0;
    margin : 0;
    font-size : 0.8em;
    }
    ul#mainlevel-nav li {
    display : block;
    background-image : none;
    padding-left : 1px;
    padding-right : 1px;
    float : right;
    margin : 0;
    width : auto !important;
    font-size : 11px;
    line-height : 22px;
    white-space : nowrap;
    border-left : 1px solid #cccccc;
    }
    ul#mainlevel-nav li a {
    font-size : 11px;
    display : block;
    padding-left : 16px;
    padding-right : 15px;
    text-decoration : none;
    color : #999999;
    background : transparent;
    }
    ul#mainlevel-nav li a:hover {
    font-size : 11px;
    color : #333333;
    }
    .sublevel {
    padding-left : 10px;
    }
    .leftrow {
    background-color : #F1F1F1;
    width : 168px;
    height : 100%;
    margin-right : 5px;
    }
    .rightrow {
    background-color : #F1F1F1;
    height : 100%;
    width : 168px;
    align : right;
    margin-left : 5px;
    }
    table.moduletable {
    width : 100%;
    table-layout : auto;
    border-top : 1px solid #FFFFFF;
    border-bottom : 1px solid #999999;
    }
    table.moduletable th {
    font-size : 11px;
    font-weight : bold;
    text-transform : uppercase;
    text-align : left;
    height : 21px;
    line-height : 21px;
    text-indent : 8px;
    letter-spacing : 1px;
    color : #FFF;
    background-image : url(../images/modul.jpg);
    }
    table.moduletable td {
    padding-left : 0px;
    padding-right : 0px;
    }
    #search {
    float : left;
    margin-top : 5px;
    border : 0px;
    padding : 0px;
    width´ : 123px !important;
    width : 125px;
    height : 16px !important;
    height : 16px;
    overflow : hidden;
    }
    #search .inputbox {
    border : 0px;
    margin-top : 0px;
    padding : 2px 3px 2px 6px !important;
    padding : 0px 3px 2px 6px;
    font-family : arial, helvetica, sans-serif;
    font-size : 10px;
    height : 12px !important;
    height : 12px;
    width : 123px !important;
    width : 125px;
    color : #999999;
    background : #FFFFFF;
    }
    .back_button {
    color : #333333;
    font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
    background : url(../images/bb.gif);
    background-repeat: no-repeat;
    white-space : normal;
    font-weight : normal;
    border : 0px solid #999999;
    padding-bottom : 4px;
    padding-left : 20px;
    padding-right : 2px;
    padding-top : 1px;
    margin-right : 4px;
    float : right;
    font-weight : normal;
    line-height : 10px;
    text-decoration : none;
    }
    .button {
    font-size : 11px;
    color : #333333;
    border : 1px solid #999999;
    margin-bottom : 5px;
    background-color : #EDEDED;
    padding : 1px;
    }
    .inputbox {
    border : 1px solid #999999;
    background : transparent url();
    background-color : #EDEDED;
    margin-bottom : 5px;
    color : #333333;
    }
    .sectiontableheader {
    font-size : 11px;
    font-weight : normal;
    text-transform : uppercase;
    letter-spacing : 1px;
    color : #333333;
    background : #EDEDED;
    padding : 1px;
    }
    .sectiontableentry1 {
    vertical-align : top;
    padding : 3px;
    background : #E3E3E3;
    border-top : 1px solid #FFFFFF;
    border-bottom : 1px solid #999999;
    }
    .sectiontableentry2 {
    vertical-align : top;
    padding : 3px;
    border-top : 1px solid #FFFFFF;
    border-bottom : 1px solid #999999;
    }
    a.mainlevel {
    margin : 0px;
    padding : 0px;
    font-size : 12px;
    width : 168px;
    background-color : #ECEAD8;
    text-indent : 10px;
    }
    a.mainlevel: link {
    padding : 0px 0px 0px 0px;
    font-size : 12px;
    width : 168px;
    background-color : #E3E3E3;
    text-indent : 10px;
    }
    a.mainlevel:link, a.mainlevel:visited {
    display : block;
    font-size : 12px;
    border-top : 1px solid #ffffff;
    border-bottom : 1px solid #999999;
    background-color : #EDEDED;
    font-weight : normal;
    padding : 2px 0px 2px 0px;
    color : #333333;
    width : 168px;
    text-indent : 10px;
    }
    a.mainlevel:hover {
    background-color : #E3E3E3;
    font-size : 12px;
    font-weight : normal;
    text-decoration : none;
    text-indent : 10px;
    }
    #active_menu {
    color : #333333;
    background-color : #E3E3E3;
    font-weight : bold;
    }
    a#active_menu:hover {
    color : #333333;
    }
    a:link, a:visited {
    font-size : 11px;
    color : #0066CC;
    text-decoration : none;
    font-weight : bold;
    }
    a:hover {
    font-size : 11px;
    color : #333333;
    text-decoration : none;
    font-weight : bold;
    }
    a.category:link, a.category:visited {
    font-size : 11px;
    font-weight : bold;
    }
    a.readon:link, a.readon:visited {
    color : #0066CC;
    font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
    background : url();
    background-repeat: no-repeat;
    white-space : normal;
    font-weight : bold;
    border : 0px solid #999999;
    padding-bottom : 3px;
    padding-left : 21px;
    padding-right : 2px;
    padding-top : 1px;
    float : right;
    line-height : 10px;
    text-decoration : none;
    }
    a.readon:hover {
    color : #333333;
    font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size : 11px;
    background : url();
    background-repeat: no-repeat;
    white-space : normal;
    font-weight : bold;
    border : 0px solid #999999;
    padding-bottom : 3px;
    padding-left : 21px;
    padding-right : 2px;
    padding-top : 1px;
    float : right;
    line-height : 10px;
    text-decoration : none;
    }
    ul {float : left;
    margin : 2px;
    padding-left : 10px;
    list-style : none;
    }
    li {

    line-height : 15px;
    padding-left : 15px;
    padding-top : 0px;
    background-image : url(../images/bullet.png) ;
    background-repeat: no-repeat;
    background-position: 0px 3px;
    }
    table.contenttoc {
    border : 1px solid #FFFFFF;
    background : #F1F1F1;
    padding : 5px;
    margin-left : 2px;
    margin-bottom : 2px;
    }
    .pagenavcounter {
    font-size : 10px;
    color : #0066CC;
    }
    .pagenavbar {
    border-top : 1px solid #999999;
    padding : 2px;
    }
    .pagenav {
    font-weight : bold;
    color : #CCCCCC;
    }
    a.pagenav:link, a.pagenav:visited {
    text-decoration : none;
    }
    a.pagenav:hover {
    text-decoration : none;
    }
    .date {
    font-size : 10px;
    color : #333333;
    padding-right : 10px;
    }
    .small {
    font-size : 10px;
    color : #333333;
    }
    .smalldark {
    font-size : 10px;
    color : #333333;
    }
    .createdate, .modifydate {
    font-size : 10px;
    color : #666666;
    }
    .content_vote {
    font-size : 10px;
    height : 22px;
    padding-top : 2px;
    padding-bottom : 2px;
    }
    .content_rating {
    font-size : 10px;
    color : #CC9900;
    }
    .pathway {
    font-size : 10px;
    color : #333333;
    padding-left : 8px;
    }
    a.pathway:link, a.pathway:visited {
    font-size : 10px;
    padding-left : 0px;
    }
    a.pathway:hover {
    font-size : 10px;
    padding-left : 0px;
    }
    table.content{
    width : 100%;
    padding : 0px;
    border-collapse : collapse;
    border-spacing : 0px;
    margin-bottom : 10px;
    }
    table.contentpane {
    width : 100%;
    padding-left : 5px;
    padding-right : 5px;
    border-spacing : 0px;
    margin-bottom : 5px;
    }
    table.contentpaneopen {
    width : 100%;
    padding-left : 5px;
    padding-right : 5px;
    border-spacing : 0px;
    margin-bottom : 5px;
    }
    .pollstableborder{
    border-color : #999999;
    }
    .contentheading, .componentheading {
    background : url(../images/header.gif) repeat;
    font-size : 14px;
    font-weight : bold;
    line-height : 24px;
    text-transform : uppercase;
    text-align : left;
    color : #0066CC;
    width : 100%;
    }
    .title {
    font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-weight : bold;
    text-transform : uppercase;
    text-indent : 8px;
    font-size : 20px;
    text-align : left;
    color : #FFFFFF;
    }
    .title a:link, .title a:visited {
    font-size : 20px;
    color : #FFFFFF;
    text-decoration : none;
    font-weight : bold;
    }
    .title a:hover {
    font-size : 20px;
    color : #FFFFFF;
    text-decoration : none;
    font-weight : bold;
    }
    .ontab {
    border-left : 1px solid #404040;
    text-align : center;
    font-weight : bold;
    color : #333333;
    padding : 5px;
    cursor : hand;
    line-height : 40px;
    }
    .offtab {
    border-left : 1px solid #404040;
    text-align : center;
    color : #999999;
    font-weight : normal;
    padding : 5px;
    cursor : hand;
    line-height : 40px;
    }
    .tabpadding {
    border-left : 1px solid #404040;
    }
    .pagetext {
    visibility : hidden;
    position : relative;
    top : -10;
    background-color : #FFFFFF;
    display : none;
    }
    .footer {
    font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
    color : #FFFFFF;
    font-size : 10px;
    color : #FFFFFF;
    font-weight : normal;
    }
    .footer a:link, .footer a:visited {
    font-size : 11px;
    color : #FFFFFF;
    text-decoration : none;
    font-weight : bold;
    }
    .footer a:hover {
    font-size : 11px;
    color : #333333;
    text-decoration : none;
    font-weight : bold;
    }
    .contact_email {
    width : 100%;
    }
    .contact_email .inputbox {
    width : 345px;
    }
    CODE]

    vorrei togliere la linea grigia indicata dalla freccia nera
    il fatto è che non so neanche io dove intervenire...

  7. #7
    sono riuscito a togliere la linea, avevi ragione mich, era nel file css

    table.moduletable {
    width : 100%;
    table-layout : auto;
    border-top : 1px solid #FFFFFF;
    border-bottom : 1px solid #999999;

    ora non mi resta che inserire l'immagine...

  8. #8
    naturalmente per inserire l'immagine devo operare sul primo codice postato vero?...vale a dire sul file index del template?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.