Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it L'avatar di ice_boy
    Registrato dal
    Nov 2004
    Messaggi
    290

    img e scritte decentrate

    Salve, vi riporto il codice e poi vi dico il mio problema, se potete aiutarmi ve ne sarei grato, grazie:

    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>



    <table border="0" width="100%" cellspacing="3" cellpadding="3">
    <tr>
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

    </table></td>

    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center"><?php echo tep_image(DIR_WS_IMAGES . 'visto.png');?> </td>
    <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
    <td class="pageHeading" align="center"><?php echo HEADING_TITLE; ?></td>
    </tr>
    <tr>
    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    </tr>
    <tr>
    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>

    </table></td>
    </tr>
    </table></td>
    </tr>
    </table></td>

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

    </table></td>
    </tr>
    </table>



    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>



    </body>
    </html>



    il problema è in questa stringa:

    <td align="center"><?php echo tep_image(DIR_WS_IMAGES . 'visto.png');?> </td>
    <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
    <td class="pageHeading" align="center"><?php echo HEADING_TITLE; ?></td>

    io vorrei l'img visto e la scritta HEADING_TITLE siano centrate, visto sopra e la scritta sotto, invece accade che l'img è centrata e la scritta no, come mai? potete aiutarmi? grazie

  2. #2
    ...mi sa tanto di oscommerce ....comunque prima cerca di correggere gli errori di sintassi html, ci sono delle colonne (<td>) non chiusi e <tr> non aperti....controlla bene la tabella....
    Visita il mio Sito Web: http://www.distefanogiuseppe.it

  3. #3
    Utente di HTML.it L'avatar di ice_boy
    Registrato dal
    Nov 2004
    Messaggi
    290
    se tolgo:

    <td align="center"> <?php echo tep_image(DIR_WS_IMAGES . 'visto.png');?> </td>


    HEADING_TITLE sta nel centro invece con il codice che segue, visualizzo 'visto.png' in alto a sinistra è HEADING_TITLE in basso a destra, come mai? dove sta l'errore? adesso vi posto il file dove è presente l'img e quello dove è presente HEADING_TITLE:

    VISTO.PNG


    <?php

    require('includes/application_top.php');

    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CREATE_ACCOUNT_SUCCESS);

    $breadcrumb->add(NAVBAR_TITLE_1);
    $breadcrumb->add(NAVBAR_TITLE_2);

    if (sizeof($navigation->snapshot) > 0) {
    $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);
    $navigation->clear_snapshot();
    } else {
    $origin_href = tep_href_link(FILENAME_DEFAULT);
    }
    ?>
    <?
    header("Refresh: 5; URL=http://www.mgelectronics.it/");
    ?>

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>



    <table border="0" width="100%" cellspacing="3" cellpadding="3">
    <tr>
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

    </table></td>

    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"></td>
    <tr></tr>
    <td><table border="0" width="100%" cellspacing="0" cellpadding="0"></td>
    <tr>
    <td align="center"> <?php echo tep_image(DIR_WS_IMAGES . 'visto.png');?> </td>

    <td class="pageHeading" align="center"><?php echo HEADING_TITLE; ?></td>
    </tr>
    <tr>
    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    </tr>
    <tr>

    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>

    </table></td>
    </tr>
    </table></td>
    </tr>
    </table></td>

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

    </table></td>
    </tr>
    </table>



    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>



    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>


    HEADING_TITLE

    <?php
    define('NAVBAR_TITLE_1', 'Crea un Account');
    define('NAVBAR_TITLE_2', 'Operazione eseguita');
    define('HEADING_TITLE', '













    Congratulazioni, il tuo Account e\' stato creato!
    Attendi il reindirizzamento alla home... </br>');
    ?>

  4. #4
    Utente di HTML.it L'avatar di ice_boy
    Registrato dal
    Nov 2004
    Messaggi
    290
    non c'è nessuno che possa aiutarmi a risolvere il mio problema? grazie

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.