Jump to content

Archived

This topic is now archived and is closed to further replies.

member

PHP Include to fit in box and adjust page

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Regards
Huggie

Share this post


Link to post
Share on other sites
try this [url=http://www.dyn-web.com/dhtml/iframes/height.html]http://www.dyn-web.com/dhtml/iframes/height.html[/url]

Share this post


Link to post
Share on other sites
that's for a html iframe, i am using a php include (like an iframe)
anyone else know?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.