View Full Version : iframes help


shockwave972
12-22-2005, 02:38 AM
I new to iframes i want to 2 frames on my site for news and radmons news.the problem i have is i copied the code:
<IFRAME name="inlineframe" src="yoururl.html" width=200 height=200 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME>

Im usen DW4 i changed H and W to fit where i wanted it togo when i open up preview the iframes works but show the page not found page,wiich i understand why.
So i made a new html.page with some radom text saved it index-6.html.Went to my index.html. pasted iframes code where i wanted it to go changed yoururl.html to index-6.html then saved it and previewed it in browser IE.
Now it shows the text i made but theres no iframes?what am i doing wrong how do i get so the text shows up in iframes and people can scroll and read what i wrote?please help thank rich
www.warehousegamerz.com

pb&j
12-22-2005, 04:13 AM
your index page has an iframe on it.

inside that iframe is "index-6.html" showing.

for some reason, you have an iframe on "index-6.html" also... that is out of the ordinary.

are you trying to create a second iframe on the "index.html" page?

shockwave972
12-22-2005, 12:45 PM
Im tryn to just get one iframe to work for now.I think the reason i have iframe inside ifram is cuz i put and ifram on index-6.html ,that was only way i could get it to show the text i made on index-6.html.
When i didnt make iframe on inex.6 all that would show was text and background with no iframe.(I did put iframe in index-6.I think thats why my iframes have iframes inside each other.)
Am I missing code for what i want?I want text in iframe with colored BG with txt starts from top to bottom with only 1 scroll bar on right.
thanks

<IFRAME name="inlineframe" src="yoururl.html" width=200 height=200 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME>
All i changed was yoururl.html and W and H do i need to add anything or change anything else?


http://warehousegamerz.com/

pb&j
12-22-2005, 06:01 PM
looks like you got your iframe to finally work for ya.
hope the rest goes better!

shockwave972
12-22-2005, 06:45 PM
I dont know how i got it to work hahaha,but the index-6.html is to big how do i make it so type fits in iframe.Do i make a table on the index-6.html?Or do i make the page smaller?thanks

pb&j
12-22-2005, 08:15 PM
you make the page smaller.

shockwave972
12-23-2005, 12:32 AM
I know this is dumb q but how do i make new page smaller I dont see an option in DM to pick what size I want page.

pb&j
12-23-2005, 06:13 AM
seems to be working ok.
as long as nothing "larger" like a big image is in there, your text and stuff should control themselves.