empireweb Posted July 4, 2008 Share Posted July 4, 2008 This is my first post here so be gentle I did a search and didn't find any answers. Ok so here is the issue. I want to display the cart.php, and contact.php in a iframe on my webpage (I know iframes suck but I cat think of a better way) and the problem is I have these horizontal scroll bars that look terrible. Is there a way to resize the cart.php, contact.php etc..to make them smaller so I wont need the horizontal scroll bars? Thanks in advance 0 Quote Link to comment Share on other sites More sharing options...
Redundant Posted July 5, 2008 Share Posted July 5, 2008 Heya Empire, If I understand you correctly, the IFRAME is essentially less in width than the WHMCS website? hence the scrollbars. You might take a look at this: http://www.htmlcodetutorial.com/frames/_IFRAME_SCROLLING.html I have a similar situation, but I rewrote the WHMCS site to be a tableless layout, and slightly more narrow. Most of the widths are set in the Header.tpl file directly in the Table tag, I believe. Or style.css. You could try adjusting those too. 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted July 5, 2008 Share Posted July 5, 2008 I believe you can use includes instead of the Iframes... Try this: {php} include('/path/to/cart.php'); {/php} 0 Quote Link to comment Share on other sites More sharing options...
empireweb Posted July 5, 2008 Author Share Posted July 5, 2008 thanks for the help guys...I will give that a try. 0 Quote Link to comment Share on other sites More sharing options...
empireweb Posted July 5, 2008 Author Share Posted July 5, 2008 where would I put this, sorry im still a newb. I believe you can use includes instead of the Iframes... Try this: {php} include('/path/to/cart.php'); {/php} 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted July 5, 2008 Share Posted July 5, 2008 In the page that you want the cart to appear. 0 Quote Link to comment Share on other sites More sharing options...
empireweb Posted July 5, 2008 Author Share Posted July 5, 2008 No luck..thanks though In the page that you want the cart to appear. 0 Quote Link to comment Share on other sites More sharing options...
empireweb Posted July 5, 2008 Author Share Posted July 5, 2008 I tried editing the width in the styles.css file with no luck. anyone esle know how I can edit the widths in whmcs 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.