Well, my site usually uses Frames, but I wanted to organize everything in a table, so I put in an Iframe, I can't change the size of them, I don't know why, I want the area with the content to be wider, and the area with the links to be thinner. I'm really puzzled, can anyone help?
Well, my site usually uses Frames, but I wanted to organize everything in a table, so I put in an Iframe, I can't change the size of them, I don't know why, I want the area with the content to be wider, and the area with the links to be thinner. I'm really puzzled, can anyone help?
If you are looking to progress, moving to tables and inline frames is not the answer. Using frames isn't completely bad; however, it can be replaced by server side includes, which gives access to users whose browsers don't support frames.
As for answering your question, the inline frame can easily be re-sized via the style attribute:
However, I will reiterate that moving towards tables and inline frames is worse than using frames themselves. I owuld suggest instead a move towards CSS and towards a server side solution.
Last edited by js_prof_cons; 03-26-2005 at 09:42 AM.
Reason: To title post
Using the width attribute of the style property should allow you to do this, as the width attribute can be assigned a percentage value. I'd be interested in seeing the code you are using. As far as I tested (both MSIE and Firefox), the width attribute of the style property is supported in an inline frame for both browsers.
Last edited by js_prof_cons; 03-26-2005 at 09:46 AM.
Reason: To add test results
1) You have <iframes ...> in one place, rather than <iframe ...>.
2) In the 2nd and 3rd iframes, the one I suppose you want to change the width of, you have no style="width:xx%" attribute.
I didn't look at the site, as I feel I need not at this time. If you are unable to get the above things corrected, I will be willing to take a glance.
If I leave it IFrame there instead of IFrames then this big gigantic (yeah not a real word..) box of white pops up, and there only two Iframes... I want to change the Right Iframe, make it spread out, but it won't...
Leave the changes so they can be seen online. Otherwise, I can't see what results yield, compared to what you want. In addition, I should add you have used a copyright infringement, calling your site the BBC, when the realBBC -- British Broadcasting Corporation -- is copyrighted.
Maybe one other point of note. Your discalimer has ECT. The abbreviation for the Latin phrase et cetera is etc. Just thought I'd point that out, since you might have to chnage that disclaimer.
I explained it before, when I tke out the S, a big box pops up, but that box follows the code of the tag, which is weird, but the other iframe doesn't...
Bookmarks