impactgc Posted December 16, 2007 Share Posted December 16, 2007 I am having issues with the layout of cart.php https://igchosting.com/clientarea/order.php and https://igchosting.com/clientarea/cart.php As you can see cart.php expands in the browser.. but it should look like order.php -- centered and a grey background. It seems they are using the same header/footer. Any ideas? Thanks for the help!! Adam 0 Quote Link to comment Share on other sites More sharing options...
urevised Posted December 16, 2007 Share Posted December 16, 2007 I had the same problem with all my templates. It seems WHMCS use tables which is actaully quite horrible. The tables seem to ignore everything around them. I would recommend using a fixed width div around the whole thing to try and keep it in place. You can view my customisation at: https://billing.urevised.com/whmcs/cart.php 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted December 16, 2007 WHMCS CEO Share Posted December 16, 2007 I had the same problem with all my templates. It seems WHMCS use tables which is actaully quite horrible. The tables seem to ignore everything around them. I would recommend using a fixed width div around the whole thing to try and keep it in place. You can view my customisation at: https://billing.urevised.com/whmcs/cart.php That is incorrect. The cart template uses divs only on that page. It will be a fault in your design code causing the page to expand when a % width div is inside it. Matt 0 Quote Link to comment Share on other sites More sharing options...
urevised Posted December 16, 2007 Share Posted December 16, 2007 Ok, Maybe i just forgot to include a fixed width div the first time. I think most of the other templates use tables though which is a shame. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted December 16, 2007 WHMCS CEO Share Posted December 16, 2007 When your displaying tables of data it's pretty hard not to use them. However, using tables shouldn't cause you any problems. Divs are much harder to work with as far as integrating is concerned as your sites CSS more often than not interferes with them - especially a problem on Joomla sites I have found. Matt 0 Quote Link to comment Share on other sites More sharing options...
impactgc Posted December 16, 2007 Author Share Posted December 16, 2007 I still don't understand why I would be having the issue.. Both files use the same header file.. I have not modified any other files except for header and footer. Thanks, Adam 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.