member Posted October 12, 2006 Share Posted October 12, 2006 Hi,i need some help. As you can see on: http://www.islamcentre.net/ there is some arabic writing. The problem is that it overlaps the box it is in. What I want is the Arabic text and the translation and the srh.... bit to be inside the box. Everytime you refresh the page a new quote loads up and each time they are different lengths. If anyone knows how to get that part into the box and for the page to adjust, meaning that box doesn't overlap the hadith bbox underneath and the footer below.It would be much appreciated if you could help.Thank You.If u need any more information or don't get what I mean just post here, and i'll get back. Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/ Share on other sites More sharing options...
member Posted October 12, 2006 Author Share Posted October 12, 2006 anyone? Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-108097 Share on other sites More sharing options...
TEENFRONT Posted October 12, 2006 Share Posted October 12, 2006 looks fine to me mate.. Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-108100 Share on other sites More sharing options...
member Posted October 12, 2006 Author Share Posted October 12, 2006 keep refreshing Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-108110 Share on other sites More sharing options...
TEENFRONT Posted October 12, 2006 Share Posted October 12, 2006 oh i see..not a php problem.use a div to contain the text in the table. Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-108116 Share on other sites More sharing options...
HuggieBear Posted October 13, 2006 Share Posted October 13, 2006 As stated, this isn't a php problem, more an html issue.You'd be better off using tables for something like that I'd imagine.Try posting in the HTML forum on this one.RegardsHuggie Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-108250 Share on other sites More sharing options...
vbnullchar Posted October 13, 2006 Share Posted October 13, 2006 try this [url=http://www.dyn-web.com/dhtml/iframes/height.html]http://www.dyn-web.com/dhtml/iframes/height.html[/url] Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-108253 Share on other sites More sharing options...
member Posted October 13, 2006 Author Share Posted October 13, 2006 that's for a html iframe, i am using a php include (like an iframe) anyone else know? Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-108295 Share on other sites More sharing options...
Ninjakreborn Posted October 13, 2006 Share Posted October 13, 2006 1. Increase the size of the display box.2. Decrease the size of the contents of the include, make it take less lines.3. Make the inside of that box have a scrollbar instead to fit all the content you need to fit. Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-108321 Share on other sites More sharing options...
member Posted October 17, 2006 Author Share Posted October 17, 2006 no i think u r thinking of a html iframe. I cannot decrease the size of the content as it load up a random quatoe from the holy Quran every time it is refreshed.does anyone else know. I'm really stuck on this. I'm sure it is very simple. If you look at www.al-qaria.net (not my site) look to the right hand side at the arabic text with the english translation, keep refreshing and the box around it adjusts to fit that of the content.If anyone could help it would be much appreciated. Thank You. Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-109986 Share on other sites More sharing options...
member Posted October 18, 2006 Author Share Posted October 18, 2006 ? Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-110615 Share on other sites More sharing options...
member Posted October 22, 2006 Author Share Posted October 22, 2006 i'm still looking, anyone know? Quote Link to comment https://forums.phpfreaks.com/topic/23787-php-include-to-fit-in-box-and-adjust-page/#findComment-112849 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.