Wierd IFrame problem

Associate
Joined
1 May 2006
Posts
810
Location
Bristol, UK
Hoi guys.

I'm developing a site for a mate and as the title suggests, I'm having trouble with my iFrames.

The testing site can be found Here and as you can see, the text in the "main" frame isn't taking up the whole page. Instead it has been squashed down and had a scrollbar added.

Here is the iFrame code:
Code:
<iframe src="/blog.php" frameborder="0" id="main" scrolling="auto" width="100%">
Ideas?
 
Cuchulain said:
100% isn't a valid height, you need to set it in pixels.
I'm on the verge of doing this as it seems to work fine. However, putting 100% against width works. Plus I'm trying to make the layout adaptive so that it expands to fit the whole of the screen. If there is another way of doing this then please clue me in :)

Cheers.
 
You mention using PHP. How exactly would this work exactly? I'm using PHP/MySQL to run the site. Blog/Fav links page even the navigation links are controlled via a database.

I'm assuming you're talking about doing something like show region if variable "page" = "links". In which case how would I go about implementing it?

Cheers.
 
Forgive my ignorage, but this is all new to me. :rolleyes:

So I've got all of my pages (that I was going to link to with an iFrame). How do I get these to display using includes.

Cheers for all your help, its is VERY much appeciated (especially as now I should be able to ditch frames :D)
 
Back
Top Bottom