aclema Posted March 16, 2006 Posted March 16, 2006 My login.php page is off center and I don't care for it. I have looked in the file but have been unable to locate where I would make changes so that it is centered. I would like to center the boxes and text and make the boxes larger so it doesn't cut off the sides of the text. You can see what my page looks like now here Does anyone know where to change these settings?? Thanks, Amanda
Guest Posted March 16, 2006 Posted March 16, 2006 try a contribution http://www.oscommerce.com/community/contributions,2710
aclema Posted March 16, 2006 Author Posted March 16, 2006 try a contributionhttp://www.oscommerce.com/community/contributions,2710 Thank you for the contribution. I have checked it out but it centers the entire page with a margin around it. It doesn't actually center those boxes. Part of the problem I think I'm having is I'm not really sure which code in login.php would adjust the size of the boxes. If I could find that I'm sure I could get it fixed but since I don't know php I'm running into a problem. Amanda
kgt Posted March 16, 2006 Posted March 16, 2006 Part of the problem I think I'm having is I'm not really sure which code in login.php would adjust the size of the boxes. If I could find that I'm sure I could get it fixed but since I don't know php I'm running into a problem. The layout of those boxes is HTML. The PHP changes nothing about the layout unless you have some contribution that seriously changes that. The solution will be in the HTML or the stylesheet. Contributions Discount Coupon Codes Donations
aclema Posted March 16, 2006 Author Posted March 16, 2006 The layout of those boxes is HTML. The PHP changes nothing about the layout unless you have some contribution that seriously changes that. The solution will be in the HTML or the stylesheet. Could you tell me where I might find the HTML? I really don't know much about this. I have found that the contributions with good instructions have been a life saver in making changes to the store. This problem came about some time ago when I use to have two colums of the same boxes on this page. I managed to delete the code for one set of boxes but haven't been able to figure how to get the others to line up like they originally did. To top it off I also don't remember what file I deleted the information from so I can't go back to look at it. Amanda
kgt Posted March 16, 2006 Posted March 16, 2006 login.php. Take a look and see if you can figure it out. Contributions Discount Coupon Codes Donations
aclema Posted March 16, 2006 Author Posted March 16, 2006 login.php. Take a look and see if you can figure it out. I have been through this and tried changing various parts but darned if I can figure it out. I did find the HTML for the body of the page but still couldn't get it centered. Here is where I'm looking. Is this the right place? <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <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"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($messageStack->size('login') > 0) { ?> <tr> <td><?php echo $messageStack->output('login'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if ($cart->count_contents() > 0) { ?> <tr> <td class="smallText"><?php echo TEXT_VISITORS_CART; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="100%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> </tr> </table></td> <?php if (PWA_ON == 'false') { require(DIR_WS_INCLUDES . FILENAME_PWA_ACC_LOGIN); } else { require(DIR_WS_INCLUDES . FILENAME_PWA_PWA_LOGIN); } ?> </tr> </table></td> </tr> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.